Skip to content

Reset

Inject a community CSS reset stylesheet as preflight CSS.

The reset plugin injects a CSS reset as preflight, ensuring a consistent baseline across browsers. It supports several well-known community resets and adds a dedicated reset layer with priority -1 so reset styles always render first.

sh
pnpm add -D @pikacss/plugin-reset
sh
npm install -D @pikacss/plugin-reset
sh
yarn add -D @pikacss/plugin-reset
ts
import { defineEngineConfig } from '@pikacss/core'
import { reset } from '@pikacss/plugin-reset'

export default defineEngineConfig({
  plugins: [reset()],
})

Config

PropertyDescription
resetCSS reset preset to inject. Options: 'andy-bell', 'eric-meyer', 'modern-normalize', 'normalize', 'the-new-css-reset'. Default: 'modern-normalize'.

See API Reference — Plugin Reset for full type signatures and defaults.

Next

  • Typography — semantic prose styling.
  • Icons — icon integration via Iconify.