0.1.1 • Published 2 months ago

@corvu/utils v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

NPM Version NPM Downloads License

DocumentationDiscussions

About

Corvu is a collection of open source UI primitives for SolidJS. It offers:

  • 🫥 Unstyled,
  • ♿ Accessible primitives
  • 🪄 High customizability
  • 🌟 Delightful developer experience
  • 📝 A good documentation
  • ✅ SSR Support

Read more at corvu.dev.

Getting started

Install corvu with the package manager of your choice:

npm install corvu

Import a primitive and use it in your app:

import Dialog from 'corvu/dialog';

const App = () => {
  return (
    <Dialog.Root>
      <Dialog.Trigger>Open</Dialog.Trigger>
      <Dialog.Portal>
        <Dialog.Content>
          <Dialog.Label>Hey 👋</Dialog.Label>
          <Dialog.Description>This is a basic dialog</Dialog.Description>
        </Dialog.Content>
      </Dialog.Portal>
    </Dialog.Root>
  )
}