Skip to Content
Chunks UI
React component libraryStatus: 20 core · 10 extended

Parts for real interfaces.

Accessible React parts on Base UI and Tailwind v4. Install the package and import what you need.

Read the docs
Quick start

Three steps, and you're in.

Full guide →
01 · INSTALLSHELL
$ bun add chunks-ui motion

Install

Install the package. Motion is an optional peer for spring animations.

chunks-ui·motion@12.8+
02 · THEMECSS
@import 'chunks-ui/theme.css';

Import the theme

Drop it next to your Tailwind import and you get the tokens and styles.

OKLCH·light + dark
03 · USETSX
import { Button, Tabs, Input } from 'chunks-ui'

Compose

Import Button, Tabs, Input by name from one place. Updates land through npm.

ESM·CJS·.d.ts
Principles

Small API, explicit behavior.

01 · PRINCIPLESCOPE

One component, one job.

Select and Combobox are separate components. Each covers its own use case.

<Select />·<Combobox />
02 · PRINCIPLESIZE

Stays small on purpose.

Style with className and cn().

className·cn()
03 · PRINCIPLEAPI

Readable by people and agents.

Props are plain and readable. An llms.txt gives agents the same docs.

llms.txt·AGENTS.md
Motion

Animation with CSS fallback.

// The default

Motion 12.8+ is optional. Add it and you get five tuned springs for indicators, content, popups, overlays and small nudges.

// The fallback

Components animate with CSS transitions by default. Reduced-motion preferences are respected.

STIFFNESS / DAMPINGindicator 300/32content 300/30popup 300/25overlay 200/25micro 400/28Motion presets →