Theme with CSS
Import a preset and use semantic colors. The component theme needs no JavaScript styling runtime or provider.
Accessible React components with CSS-first themes. A consistent foundation you can adapt to your product.
Ninna UI brings together 69 accessible React components, five theme presets, and a shared set of semantic tokens. Use the published packages, style with Tailwind CSS v4, and keep control of the details.
Useful defaults that leave room for your own design.
Import a preset and use semantic colors. The component theme needs no JavaScript styling runtime or provider.
Radix-powered widgets provide keyboard navigation, focus management, and screen reader semantics behind Ninna's API.
Choose individual component packages. Tree-shakeable exports keep the rest out of your application bundle.
Use className, Tailwind utilities, and data-slot selectors to adapt components without forking their source.
Each component is exported from one package. Use the package shown in its documentation.
Buttons, badges, typography, and avatars.
Inputs, selections, validation, and form structure.
Alerts, progress, loading states, and toasts.
Responsive spacing, grids, and composition.
Dialogs, drawers, menus, and tooltips.
Tabs, breadcrumbs, accordions, and pagination.
Cards, tables, calendars, and timelines.
Syntax highlighting and copyable examples.
Choose primary for important actions, neutral for supporting surfaces, and status tokens when a state carries meaning.
Combine small components into an interface that fits your product. Shared spacing, color, and state conventions keep it coherent.
Use a preset as a starting point. Override CSS variables or target a data-slot when you need a more specific treatment.
Set up your framework, import a theme, and add your first component.
Scaffold a project
npx @ninna-ui/cli@latest init my-appCompose your first interface
import { Button } from "@ninna-ui/primitives";import { Field, Input } from "@ninna-ui/forms";import { VStack } from "@ninna-ui/layout";
export default function App() { return ( <VStack gap="4" className="max-w-sm p-6"> <Field label="Email"> <Input type="email" placeholder="you@example.com" /> </Field> <Button color="primary">Get started</Button> </VStack> );}