Repository navigation
v0.0.1
PeakUI v0.0.1 — first public release
Accessible React components with styles you can read.
PeakUI is a React 19 component library: 74 documented components whose behavior comes from
React Aria Components and whose styles are plain CSS on top of
Tailwind CSS v4. It takes on your design language instead of imposing
its own.
Install
npm install @peakui/react @peakui/styles@import "tailwindcss";
@import "@peakui/styles";Import order matters: @peakui/styles extends Tailwind and does not import it.
import {Button} from "@peakui/react";
export function Example() {
return <Button>Save</Button>;
}Highlights
- Accessible by default. Focus management, keyboard interaction and ARIA wiring come from
React Aria Components. The floor is WCAG 2.2 AA, includingforced-colorsmode. - Styles you can read. Every component is a BEM block in
@peakui/styles: no runtime
styling, nothing hidden in JavaScript. - Theming is CSS variables. Set
--accent,--surfaceor--radiusat build time or live
at runtime, and every component follows. No provider to wrap your app in. - Dark mode is a class. Both themes ship in the box; put
default-darkon any element. - Compound components. A component is a root plus named parts, such as
Fieldset.Legend.
You compose the parts yourself. - Built for AI agents. The docs publish
llms.txtand a
Markdown version of every page.
What's included
15 categories:
- Buttons: Button, ButtonGroup, CloseButton, ToggleButton, ToggleButtonGroup, SegmentedControl
- Forms: TextField, TextArea, Input, InputGroup, InputOTP, NumberField, SearchField, Checkbox,
CheckboxGroup, RadioGroup, Switch, Form, Fieldset, Label, Description, FieldError, ErrorMessage - Pickers: Select, ComboBox, Autocomplete, Calendar, RangeCalendar, DatePicker, DateRangePicker
- Date and time: DateField, TimeField
- Colour: ColorPicker, ColorArea, ColorSlider, ColorField, ColorInputGroup, ColorSwatch,
ColorSwatchPicker - Collections: Dropdown, ListBox, TagGroup
- Controls: Slider
- Overlays: Modal, Drawer, AlertDialog, Popover, Tooltip, Toast
- Navigation: Tabs, Accordion, Breadcrumbs, Pagination, Link, Disclosure, DisclosureGroup
- Feedback: Alert, ProgressBar, ProgressCircle, Meter, Skeleton, Spinner, EmptyState
- Data display: Badge, Chip
- Media: Avatar, AvatarGroup
- Layout: Card, Surface, Toolbar, Separator
- Typography: Typography, Kbd
- Utilities: ScrollShadow
Packages
| Package | Version |
|---|---|
@peakui/react |
0.0.1 |
@peakui/styles |
0.0.1 |
The two publish in lockstep: one release, one version number.
Requirements
React 19 or later, Tailwind CSS v4. Licensed under Apache-2.0.
Heads up
This is a 0.0.x release: the API may change between versions until 0.1.