@kaiverse/k
v0.4.0
Published
A collection of powerful utility functions, feature-rich uncommon React components, and hooks.
Downloads
276
Maintainers
Readme
Docs
Installation
Via npmjs
npm i @kaiverse/k
pnpm add @kaiverse/k
Packages
@kaiverse/k/ui
: uncommon React components.@kaiverse/k/hooks
: Hooks.@kaiverse/k/utils
: Utility functions.
Note: @kaiverse/k/ui
is not a common React component library. It's a collection of rarely used components.
If you are looking for a component library with a wide range of components from basic (eg: <Button>
, <Input>
, <Layout>
) to complex (such as <RichTextEditor>
, <Chart>
),
I highly recommend shadcn UI, Mantine, and daisyui.
Usage with Server Components
All @kaiverse/k/ui
components already have 'use client';
directive at the top of the file.
Note: Some components like Dialog have associated compound components. Compound
components cannot be used in server components. Instead of Component.X
syntax, use ComponentX
or add 'use client'
directive to the top of your pages/layouts/components.