0.1.4 • Published 16 days ago

@corvu/tailwind v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

NPM Version NPM Downloads License

DocumentationDiscussions

About

This is the tailwindcss plugin for corvu. It adds modifiers to style primitives based on their state:

<Dialog.Content
  class="corvu-open:animate-in corvu-closed:animate-out"
>
  ...
</Dialog.Content>

Getting started

Install the plugin with the package manager of your choice:

npm install @corvu/tailwind

Then add the plugin to your tailwind.config.js file:

module.exports = {
  // ...
  plugins: [
    // Use it with the default prefix 'corvu'
    require('@corvu/tailwind'),
    // or with a custom prefix
    require('@corvu/tailwind')({ prefix: 'ui' }),
    // ...
  ],
}
0.1.4

16 days ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.1

4 months ago

0.1.0

5 months ago