Skip to content

Releases

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 20:22

@peakui/react

Patch Changes

@peakui/styles

Patch Changes

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 19:48

@peakui/react

Minor Changes

  • 68ab997 Thanks @vladislavkaufman! - Localize assistive labels: close, pagination, loading, clear-search and remove-tag texts.

  • 68ab997 Thanks @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.

  • 68ab997 Thanks @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

  • 68ab997 Thanks @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

  • 68ab997 Thanks @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

  • 68ab997 Thanks @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

Choose a tag to compare

@vladislavkaufman vladislavkaufman released this 21 Oct 08:55

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, including forced-colors mode.
  • 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, --surface or --radius at 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-dark on 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.txt and 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.

Links

Documentation ·
Quick start ·
Release notes