Component directory
Components
Interactive examples, usage code, and APIs for Stardwst components.
60 component references
60 components
Primitive components
Small building blocks for actions and navigation.
Button
Triggers an action with five visual treatments, optional icons, loading state, and fluid layout.
Copy Button
Copies a value to the clipboard from an icon-only or labelled Button, shows a check while copied, and announces it.
Link
Renders an anchor with Stardwst link styling and an opt-in external target.
Layout components
Composition tools for arranging content and space.
Card
Groups content into an optionally linked card with image, header, metadata, footer, and layout choices.
Column
Sizes a child within a Columns layout using a fractional span.
Columns
Arranges responsive columns with a configurable row gap and cross-axis alignment.
Container
Constrains content width and inline padding, with alignment and fluid options.
Divider
Separates related content horizontally or vertically, with an optional label, heading, or control placed at the start, center, or end.
Grid
Places items in a fixed or responsive grid with configurable columns, minimum width, and gap.
Hero
Builds a page introduction from eyebrow, headline, subheading, body, image, and background slots.
Inline
Places items in a row with spacing, alignment, and optional wrapping.
Page Header
Tops a page with a breadcrumb slot, the page's heading and description, and actions that wrap under the title in a narrow container.
Stack
Places items in a vertical sequence with a configurable gap and horizontal alignment.
Form components
Controls and field structure for collecting input.
Checkbox
Lets people select a value, with controlled, indeterminate, read-only, invalid, and filled states.
Color Picker
Chooses any color as a hex value, typed or picked from an area, hue and opacity sliders, swatches, or the screen.
Combobox
Suggests options as people type, filtering without regard to case or accents, with one or several values and a form value.
Field
Composes labels, controls, required markers, helper copy, and errors around a form field.
Input
A single-line text control with optional start or end content and a loading state.
Password Input
Enters a password with a button that shows or hides it, keeping the value, caret, and autofill purpose.
Pin Input
Enters a short code one character per cell, with paste, one-time code autofill, and one form value.
Radio Group
Presents a named set of options for one selection in a vertical or horizontal layout.
Rating Group
Rates something on a short scale of stars, with half stars, keyboard steps, read-only display, and a form value.
Select
Chooses one or more options from a trigger and positioned list, with optional portal rendering.
Slider
Selects one or more numeric values with labelled thumbs, descriptions, errors, and custom formatting.
Switch
Turns a single setting on or off with controlled and uncontrolled state.
Tags Input
Turns typed or pasted values into removable tags, with limits, validation, and one form value per tag.
Textarea
A multi-line text control with an optional footer area.
Toggle Group
Presses one or several joined options to switch a view, range, or filter, with icon-only options and fluid widths.
Display components
Static labels, indicators, imagery, and messages that show status or identity.
Activity Feed
Lists events on a record, such as comments and uploads, with who did it, when, and an avatar or icon on a connecting line.
Alert
Shows a message in the page with an info, success, warning, or danger status, a title, actions, and an optional dismiss button.
Avatar
Shows a person or team with a photo, initials, or an icon in a fixed box that never shifts as the photo loads.
Badge
Labels status or category in a short static span, with tonal, outlined, and filled treatments, an info, success, warning, or danger status, a dot, and icons.
Badge Group
Pairs a short badge with a message in one capsule, such as an announcement, as static text or one link with an optional status.
Code Snippet
Shows code to read or copy, with a title, its language, a copy button, keyboard-scrollable long lines or wrapping, and a highlighting hook.
Empty State
Says what is empty and what to do next, with a decorative icon, a heading at the level the page needs, and actions.
Featured Icon
Frames a decorative icon in tonal, outlined, filled, or elevated treatments, with an optional status tone, to lead into a message or card.
Metric
Shows one number with its title, a change with an optional trend arrow and status, and a description, to compose in a Card.
Progress
Shows how much of a task is done as a bar or a ring, with formatted value text and an indeterminate state.
QR Code
Encodes a URL or short value as a named, server-rendered QR image, always black on white with a quiet zone, with an optional centre logo.
Spinner
Shows that content is loading with a turning ring and a status label for assistive technology.
Table
Styles native tables with header, hover, dense, sticky-header, and numeric columns, and a focusable scroll region.
Tag
Shows a value someone chose or applied, such as a filter or topic, with an optional named remove button.
Overlay components
Content that opens above the current interface.
Command Menu
Finds and runs a command by typing its name in a modal search, with groups, icons, shortcut hints, and keyboard navigation.
Dialog
Shows a modal or non-modal dialog with a trigger, optional portal, and configurable closing and focus behavior.
Toast
Shows short notifications from an app-wide store that leave by themselves, with a status, one action, and a dismiss button.
Tooltip
Shows a short text hint for a control on hover or keyboard focus, such as the name of an icon-only button.
Patterns components
CSS compositions of several components, such as section headers and pricing.
CTA Section
Closes a page with a full-width band that holds a heading and one or two actions, side by side or centered.
FAQ
Answers common questions on native details elements that open with Enter or Space, one at a time or all at once.
Filter Bar
Searches and filters a list with an Input, Selects, and view controls, and shows active filters as removable Tags that keep focus in place.
Inline CTA
Suggests one next step inside the page's content with a featured icon, a heading, and actions that stack in a narrow column.
Pricing
Compares plans in equal-height columns with a price in words, a feature list, and one featured plan named by a badge.
Section Footer
Closes a section or a card with a status line or link and end-aligned actions that wrap in source order.
Section Header
Names a section or a card with a heading at any level, a description, and actions that wrap under it in a narrow column.
No match
No components match that search.
Try a component name, a category such as form, or a word such as layout.