@motif-js/reset
v1.1.2
Published
Opt-in CSS reset for motif-js on the web.
Downloads
834
Readme
@motif-js/reset
A small CSS reset for motif-js apps on the web.
Web-only. Native apps don't need a reset.
Install
yarn add @motif-js/resetThree injection modes
// 1. SSR-friendly component (recommended)
import { MotifReset } from '@motif-js/reset';
<MotifReset />;
// 2. Imperative — browser only, idempotent
import { injectResetStylesheet } from '@motif-js/reset';
injectResetStylesheet();
// 3. Side-effect import
import '@motif-js/reset/auto';