Base
Choose a portable interaction protocol, then read its anatomy, inputs and Web host example.
Base provides interaction protocols without a visual language. Start with the family that owns the action or value you need, then compose its documented parts. Shadcn and Brutalist project these protocols into a visual language.
Install and render
Section titled “Install and render”For the published 0.2.0 Web Component baseline, initialize an existing bundler application and add Button:
npx @proto.ui/cli@0.2.0 initnpx @proto.ui/cli@0.2.0 add wc base-buttonThe equivalent pnpm invocation is:
pnpm dlx @proto.ui/cli@0.2.0 initpnpm dlx @proto.ui/cli@0.2.0 add wc base-buttonThe CLI installs @proto.ui/prototypes-base and the chosen Adapter at its own exact version. Import the generated style entry and host facade as shown in Quick Start, then use the complete Button example. React and Vue 3 use react and vue in place of wc. Vue 2.6 belongs to the workspace 0.3 line; these stable commands do not install it.
Find a protocol
Section titled “Find a protocol”This is the current workspace export index. A linked family page documents its compound parts together. Read that page’s API, lifecycle and host limits; a source export or a Preview selector does not establish a tested package or host combination. Newer workspace exports are not added retroactively to the 0.2.0 package.
- Base Accordion
- AlertDialog
- Async Region
- Autocomplete
- Button
- Calendar (WIP)
- Carousel (WIP)
- Checkbox
- base Checkbox Group
- Collapsible
- Combobox
- Command
- ContextMenu
- Data-Table (WIP)
- Date-Picker (WIP)
- Dialog
- Drawer
- Dropdown Menu
- Base Field
- base Fieldset
- base Form
- Hover Card
- Image
- Input
- base Input Otp
- Label
- Live Region
- Menubar
- Message-Scroller (WIP)
- base Meter
- NavigationMenu
- base Number Field
- Popover
- base Progress
- Radio Group
- Resizable (WIP)
- Scroll Area
- Select
- Separator
- base Slider
- Surface
- Switch
- Table (Draft)
- Tabs
- Text
- Textarea
- Toast
- Toggle
- ToggleGroup
- Toolbar
- Tooltip
- Transition
- Tree (WIP)
- Virtual-List (WIP)
Delivery and evidence
Section titled “Delivery and evidence”The website previews use this repository’s source. The stable npm baseline and the current workspace can differ. Base protocol entities remain subject to their recorded lifecycle; publication alone does not activate a draft protocol.
Documentation coverage and historical evidence explains the distinction between a family, its parts, an export and a generated facade. The original acceptance conditions remain tracked in #1042.