unocss-preset-components
v0.0.1
Published
A collection of Unocss presets for component libraries
Downloads
7
Readme
unocss-preset-components
A preset for UnoCSS that includes a set of components for common UI elements.
Usage
Install the preset:
npm i -D unocss unocss-preset-components
Add the preset to your unocss.config.js
:
import { defineConfig } from 'unocss'
import presetComponents from 'unocss-preset-components'
export default defineConfig({
presets: [
presetComponents()
]
})