CSS Reset

CSS Reset is an opinionated css normalizer heavily inspired by Tailwinds preflight.

CSS Reset is an opinionated css normalizer heavily inspired by Tailwind's preflight, which is based off of the ever famous normalize.css by Nicolas Gallagher.

Import

import { CSSReset } from '@stacks/ui';import { CSSReset } from '@stacks/ui';

Usage

This component must be used within the theme provider, typically within some kind of AppWrapper or within an _app.tsx component.

const AppWrapper = ({ children }) => ( <ThemeProvider> <CSSReset /> {children} </ThemeProvider> );const AppWrapper = ({ children }) => ( <ThemeProvider> <CSSReset /> {children} </ThemeProvider>);
Search docs
K