Add Kivu UI to any React 18+ project in four steps.
On this page
Kivu UI needs React 18 or newer.
npm install @kivu-ui/reactOr with your package manager of choice:
pnpm add @kivu-ui/react
yarn add @kivu-ui/react
bun add @kivu-ui/reactImport the stylesheet once, at the root of your app.
import "@kivu-ui/react/styles.css";Using Tailwind? Import it from your CSS instead and add the optional preset. See Tailwind CSS.
The library doesn't download fonts. The default is Martel Sans for both headings and body text, with system fallbacks. Load it however you like, or point the tokens at your own fonts:
:root {
--kivu-font-display: "Martel Sans", sans-serif;
--kivu-font-body: "Martel Sans", sans-serif;
}import { Button } from "@kivu-ui/react";
export default function Page() {
return <Button>Create project</Button>;
}