Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xbmlz/unocss-preset-components


https://github.com/xbmlz/unocss-preset-components

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# unocss-preset-components

A preset for [UnoCSS](https://github.com/antfu/unocss) that includes a set of components for common UI elements.

## Usage

Install the preset:

```bash
npm i -D unocss unocss-preset-components
```

Add the preset to your `unocss.config.js`:

```js
import { defineConfig } from 'unocss'
import presetComponents from 'unocss-preset-components'

export default defineConfig({
presets: [
presetComponents()
]
})
```