Overview
@codeui/solid v0.3.0
Every kit component, grouped by the job it does.
The kit has 39 components, grouped by purpose. Each link includes live examples and the public API.
Actions
- Button: A clickable action, styled by variant, size, and the ghost style.
- IconButton: A button that shows only an icon and carries an accessible name.
- Link: A styled anchor for navigation inside text or toolbars.
Layout and text
- Avatar: A person: their picture, or their initials on a colour from their id.
- Kbd: A keycap that shows a key or a keyboard shortcut.
- Resizable: Panels in a row or a column, split by handles the user drags to resize them.
- Stack: A flex container that spaces its children with token gaps.
- Table: A native table with Inkstone styles.
- Text: Text set in the kit type scale, with tones and polymorphic headings.
Fields and selection
- Checkbox: A box that toggles one option on or off.
- Combobox: A text input that filters a list of options as the user types.
- NumberField: A text field for numbers, with steppers, limits, and formatting.
- OptionCard: A group of large selectable cards, each with a label, a description, and an optional preview.
- RadioList: A list of radio buttons for choosing one option.
- SegmentedControl: A row of mutually exclusive segments for switching between a few options.
- Select: A button that opens a list of options and shows the chosen one.
- Slider: A thumb on a track for choosing a number in a range.
- Switch: A toggle that turns a setting on or off immediately.
- TextArea: A multi-line text field.
- TextField: A single-line text input with a label, a description, and an error message.
Navigation and collections
- Accordion: Stacked sections that expand to show their content.
- Listbox: A list of selectable options that stays visible on the page.
- Pagination: Buttons for moving between pages of a long result set.
- Tabs: A row of tabs that switches between panels of content.
- VirtualizedListbox: A Listbox that renders only the visible rows of a long collection.
Feedback
- Alert: A message inside the page that reports a status.
- Badge: A short, non-interactive status label.
- Progress: A bar that shows how much of a task is done.
- Skeleton: A placeholder shape shown while content loads.
- Spinner: An animated indicator for work of unknown length.
- Toast: Short notifications that appear over the page and dismiss themselves.
Overlays
- CommandMenu: A searchable palette of commands opened from the keyboard.
- Dialog: A modal window over the page, for a decision that blocks the user.
- DropdownMenu: A menu of actions opened from a trigger.
- HoverCard: A card of extra detail beside a link, opened by hover, focus or click.
- Popover: A floating panel anchored to a trigger, for content the user opens on demand.
- Sheet: A panel that slides in from an edge of the screen.
- Tooltip: A short label that appears on hover or focus.