Repository navigation
Releases
v0.1.1
@peakui/react
Patch Changes
f344f39Thanks @vladislavkaufman! - Add package READMEs so the npm pages render documentation.- Updated dependencies [
f344f39]:- @peakui/styles@0.1.1
@peakui/styles
Patch Changes
f344f39Thanks @vladislavkaufman! - Add package READMEs so the npm pages render documentation.
v0.1.0
@peakui/react
Minor Changes
-
68ab997Thanks @vladislavkaufman! - Localize assistive labels: close, pagination, loading, clear-search and remove-tag texts. -
68ab997Thanks @vladislavkaufman! - Add ContextMenu and an inline Menu. ContextMenu opens on right-click, touch long-press, Shift+F10 and the ContextMenu key, anchors to the pointer, and supports submenus that keep the menu open. Menu reuses menu-item and menu-section inline. -
68ab997Thanks @vladislavkaufman! - Add Sheet: a slide-in panel with backdrop, content and dialog parts, nested-sheet stacking where the parent recedes, snap points, and a keyboard-operable, pointer-draggable Sheet.Handle.
Patch Changes
68ab997Thanks @vladislavkaufman! - Name the date picker and date range picker popover dialogs, stop the calendar header announcing as a nested banner landmark, and move react-aria-components to 1.22.1.- Updated dependencies [
68ab997,68ab997]:- @peakui/styles@0.1.0
@peakui/styles
Minor Changes
68ab997Thanks @vladislavkaufman! - Add Sheet: a slide-in panel with backdrop, content and dialog parts, nested-sheet stacking where the parent recedes, snap points, and a keyboard-operable, pointer-draggable Sheet.Handle.
Patch Changes
68ab997Thanks @vladislavkaufman! - Keep controls distinguishable in forced colors: checkbox, radio and switch mark their selected state, slider and tabs stay distinct, and the disabled selected tab stays readable.
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.