Components
Every Focsd component as a live thumbnail, grouped by category. Preview them all with any preset, theme and density.
128 components, each shown live. Use the bar to preview them all with a preset, a theme and a density, then open a card for its full example, framework usage, API reference and accessibility notes.
Actions 10
- Button
Triggers an action. Four variants map to intent, and the label names the outcome.
- Button group
Visually joins related buttons and names the group.
- Copy button
An icon button that copies text to the clipboard and says it did.
- Dock
A compact row of icons in a raised container for switching between views or categories, one at a time. Labels show as tooltips, or under the icons.
- Icon button
A square button with only an icon. The label is required and becomes its accessible name.
- Link
Navigates somewhere. Always underlined so links are never confused with buttons.
- Split button
A main action joined to a menu of related actions.
- Toggle
A button that stays pressed, for on/off formatting or view options.
- Toggle group
A set of toggles where one (or several) can be pressed, like segmented controls.
- Toolbar
Groups controls into one tab stop with arrow-key navigation, like an editor toolbar.
Forms: Text input 10
- Text field
A single-line text input with its label, hint and error built in.
- Textarea
Multi-line text with an optional live character count.
- Number field
Numeric input with stepping, limits and keyboard increments.
- Currency field
An amount of money: plain number while editing, formatted for the page language on blur.
- Phone field
A phone number with a searchable country picker; the value is international (E.164).
- Password field
Password input with a show/hide toggle.
- Search field
A search input with a clear button.
- OTP input
One-time code entry split into single-digit cells.
- Editable
A value shown as text and edited in place, on one line or many.
- Rich text editor
A formatting text editor for notes, descriptions and messages: headings, lists, links and inline styles.
Forms: Choice 12
- Checkbox
A single yes/no choice, with an optional mixed state.
- Checkbox group
A labeled set of related checkboxes.
- Radio group
A set of options where exactly one can be chosen, for short lists.
- Switch
Turns a setting on or off immediately.
- Segmented control
A short row of segments for choosing one value or view, such as Day, Week or Month.
- Select
A list of options to choose one or several from, with the keyboard behavior of a native select plus optional groups, a filter box, select all and a clear button.
- Combobox
A text input that filters a list of options as you type.
- Multi-select
A list of options to choose several from, shown as removable tags. For values people type freely, use Tag input.
- Tag input
A field that turns typed values into removable tags on Enter or a comma, with optional suggestions. To choose only from a list, use Multi-select.
- Listbox
A list that stays on screen, for choosing one value or several.
- Slider
A value, or a range with two thumbs, set by dragging or with the keyboard.
- Rating
A star rating, interactive or read-only.
Forms: Date and time 6
- Calendar
A month grid for picking a date or a range.
- Date field
A date typed into day, month and year segments, in the order the locale uses.
- Date picker
A date field with a calendar dialog: type the date or pick it.
- Date range picker
Start and end dates, typed or picked as one range.
- Date and time picker
A date and a time chosen together: type both, or pick them in one dialog.
- Time field
Hours and minutes as keyboard-friendly segments.
Forms: Color, files and signatures 4
- Color picker
A color chooser with a saturation area, hue and opacity sliders, swatches, and any CSS color typed in.
- Swatch picker
A short list of colors to choose one from, with an optional custom color.
- File upload
A drop zone and file chooser, with type and size checks.
- Signature pad
A signature drawn with a mouse, finger or pen, or typed as a name instead.
Forms: Form structure 3
- Field
A wrapper that gives any input, including native and third-party ones, a label, a hint and messages.
- Fieldset
Groups related fields under a legend, with a shared hint and error.
- Error summary
Lists every error after a failed submit and links to each field. Inside a form it validates on its own.
Overlays 15
- Alert dialog
An interrupting confirmation for destructive or urgent decisions.
- Bottom sheet
A panel from the bottom edge that rests at snap heights; swipe it, or use the handle and Close button.
- Command palette
A searchable command palette, opened with a button or, if you opt in, ⌘/Ctrl + K.
- Context menu
A menu opened by right-click or the keyboard on a target.
- Dialog
A modal dialog for a focused decision. The title asks the question; the body states the consequence.
- Drawer / sheet
A modal panel that slides in from an edge.
- Dropdown menu
A list of actions opened from a button.
- Floating panel
A non-modal card that floats above the page and can be dragged anywhere on screen: notes, help, inspectors, chat.
- Hover card
A rich preview (a profile, a link) that opens on hover or keyboard focus.
- Lightbox
A gallery of thumbnails that opens each picture in a full-size viewer with previous, next and close.
- Notification center
A bell with an unread count that opens a panel of notifications, which the app keeps in its own list.
- Popover
A non-modal panel attached to a trigger, for filters and small forms.
- Toggletip
An info button that opens a short note on click, tap or Enter. The note can hold links.
- Tooltip
A short description shown on hover and focus.
- Tour
A guided walk through the page, one step at a time, each pointing at an element.
Navigation 12
- Bottom navigation
A bar of three to five top-level destinations along the bottom of a phone screen.
- Breadcrumb
Shows where the current page sits in the hierarchy.
- Footer
The bottom of a site: brand, grouped links and a legal row.
- Header / top bar
The top bar of an app or site: brand, navigation and actions. Collapses to a menu button on small screens.
- Menubar
A horizontal bar of application menus, like File and Edit.
- Navigation menu
Site navigation with disclosure groups (not an application menu).
- Pagination
Links or buttons for moving between pages of results.
- Sidebar
An app-shell navigation landmark that collapses to icons.
- Skip link
Lets keyboard users jump past repeated navigation to the main content.
- Stepper
Shows progress through a multi-step flow.
- Table of contents
A list of links to the headings on the page that marks the section you are reading.
- Tabs
Related panels on one page, one shown at a time.
Disclosure 2
- Accordion
Stacked sections that expand one (or several) at a time.
- Disclosure
A button that shows and hides one block of content.
Data 4
- Data grid
A data grid with sorting, search, typed filters, pinning, resizing, reordering, grouping, editing and export.
- Table
A semantic data table with sortable columns.
- Tree view
A hierarchical list that expands and collapses, like a file browser.
- Virtual list
A list of any length that renders only the rows in view; this one holds 100,000 items.
Charts 3
- Chart
Bar, line, area, stacked, scatter and donut charts whose data is also a summary, a table and keyboard-explorable points.
- Gauge
One value on a dial, with optional named bands such as Normal, Warning and Critical.
- Sparkline
A word-sized graphic of a series of numbers, named by a sentence that gives its range, last value and change.
Display 16
- Avatar
A person or entity, as a photo or initials.
- Avatar group
Several avatars in a compact stack, with an overflow count.
- Badge
A short status label.
- Card
A bordered container for a related group of content.
- Carousel
A set of slides shown one at a time, with optional rotation.
- Code block
A code block with a copy button.
- Description list
Term and value pairs, such as account details.
- Image / aspect ratio
An image with a fixed aspect ratio and a fallback when it fails to load.
- Image compare
A before and after pair of pictures with a draggable divider.
- Kbd
A keyboard key or shortcut.
- List
A styled list, optionally selectable like a listbox.
- QR code
A QR code for a link or short text, drawn as an SVG image that stays sharp at any size.
- Stat
A key figure with a label and its change, such as revenue up 12% from last month.
- Status dot
A small shape that shows a status: online, offline, busy, warning, error or unknown.
- Tag / chip
A short label for a status, a category or a filter, with an optional icon before it and an optional remove button after it.
- Timeline
Events in time order, each with a date, a heading and details.
Feedback 8
- Alert / banner
A message about the state of something, with tone, title and optional actions.
- Empty state
Explains why a view is empty and what to do next.
- Loading overlay
Covers a form or panel with a spinner while it loads or saves, and keeps people from editing it meanwhile.
- Meter
A measurement within a known range, such as usage or a score.
- Progress bar
Progress of a task, known or indeterminate.
- Skeleton
A placeholder shape while content loads.
- Spinner
An indeterminate loading indicator.
- Toast
Brief, non-blocking notifications. Place one toaster per page and call `show()`.
Layout 5
- App shell
Lays out a header, sidebar, main content and footer for a whole app, with a skip link, and moves the sidebar into a drawer on narrow screens.
- Masonry
Cards of different heights in columns, like a pinboard; one column on narrow screens.
- Scroll area
A height-limited region whose content scrolls.
- Separator
A horizontal or vertical divider.
- Splitter / resizable
Two resizable panes with a draggable divider.
Utility 7
- Animated number
A number that counts to its value, for figures that change on screen.
- Format number
Shows a number, price, percentage, measurement or file size the way readers in their language expect it.
- Icon
An icon from the built-in set or your own library (Lucide, Font Awesome, custom), decorative or labeled.
- Relative time
Shows when something happened, or will happen, as "3 minutes ago" or "in 2 hours", and keeps the text current.
- Theme picker
Lets people choose one of the theme presets, each shown by name with a swatch of its colors.
- Theme toggle
Lets people choose a light or dark theme, or follow their system, and remembers the choice.
- Visually hidden
Text for screen readers only.
AI 11
- Attachment tile
One attached file as a list item with its name, size and type icon.
- Chat message
One message as an article, named by its author and time, with its parts in order.
- Chat thread
A conversation as a feed of messages that follows new text only while the reader is at the bottom.
- Composer
The message field: a growing textarea with attach, send and stop, and a drop zone for files.
- File changes
The files an agent changed, with status, line counts and a change bar; pick one to review it.
- Message actions
A toolbar for one reply: copy, retry and good or bad response.
- Prompt suggestions
Up to four suggested prompts as a list of buttons.
- Reasoning
A collapsed disclosure for the model’s reasoning, closed by default and never announced.
- Source chip
A numbered link to a source, with the host name beside it.
- Streaming text
Markdown that grows while a reply streams. Raw HTML stays text, and links keep only safe schemes.
- Tool call
A disclosure for one tool call: its name and status, with its input and output as text.
Ask the docs
Hi, what are you building?
Ask about any component, theming, forms or frameworks. I answer with the right component, a snippet and a link to its docs.