Installation
Three steps: install the package and its peers, import one stylesheet, add one provider.
1. Install
The package is public on npm. React, Base UI and the other peers are probably in your app already.
Optional peers, needed only for their entry point: cmdk (/command), recharts (/chart), input-otp (/input-otp), @shadcn/react (/questionnaire).
2. Add the styles
In the stylesheet where you import Tailwind CSS v4:
Point @source at your own node_modules, relative to the stylesheet.
3. Add the provider
KitProvider sets the motion tempo, honours reduced motion, mounts the toaster and tells the kit how your app links. In Next.js, wrap the app once in a client component:
Outside Next.js, leave out navigation: links render as plain anchors.
Fonts (optional)
The kit reads two font variables: --font-zikpe for text and --font-geist-mono for ids and code. Set them with next/font on <html> to use your own faces; without them it falls back to the system fonts.
Good to know
- Page transitions use React's
<ViewTransition>: setexperimental.viewTransition: trueinnext.config.ts. - Server components can import helpers from
@zikzuk/ui/lib; every client module carries its own"use client". - The kit is light only and sets
color-scheme: light.