@corvu/utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published
corvu banner

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>
  )
}

Package Sidebar

Install

npm i @corvu/utils

Homepage

corvu.dev

Weekly Downloads

2,422

Version

0.1.1

License

MIT

Unpacked Size

9.75 kB

Total Files

11

Last publish

Collaborators

  • giyomoon