Skip to content

clovu/react-listbox

Repository files navigation

react-listbox

Accessible listbox primitives for React.

Playground

https://react-listbox-playground.vercel.app/

Packages

Package Description
react-listbox-primitives Public library package with listbox primitives (ListboxRoot, ListboxContent, ListboxItem, etc.).
playground Internal playground app for manual verification and local demos.

Quick Start

pnpm i
pnpm dev
  • pnpm dev: run react-listbox-primitives tsdown watch + playground dev together (recommended)
  • pnpm start: same as pnpm dev

Development

pnpm dev
pnpm build
pnpm test
pnpm lint
pnpm typecheck

The listbox core is covered by APG-focused tests for roles and labels, aria-activedescendant, single-select selection-follow-focus and manual commit modes, multi-select toggling and range selection, disabled option skipping, horizontal key aliases, typeahead, and public exports.

Release

pnpm run release

The repository is set up for CI-based publishing (npm Trusted Publisher workflow).

Release checklist:

License

MIT License © Clover You

About

Accessible, composable listbox primitives for React.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors