Find the right primitive.
Browse accessible building blocks for Astro, React, and Web Components. Every primitive includes a live preview, usage examples, and a complete API reference.
- Primitives
- 121
- Categories
- 8
- Glass surfaces
- 35
Compare before choosing
Browse by pattern
Similar primitives are grouped by the job they solve, so the differences are easier to understand before you open an API reference.
Buttons and actions
Choose navigation, action, grouped, or compact floating controls.
Text entry
Start with Input, then choose a purpose-built field only when the data needs it.
Selection controls
Compare native, custom, binary, grouped, and hierarchical selection patterns.
Dates and time
Pick a calendar surface or a focused single-value, range, or time input.
Dialogs and contextual layers
Match the layer to the task: blocking, edge-mounted, anchored, or explanatory.
Menus and commands
Use application menus, contextual actions, navigation, or searchable commands.
Status and messaging
Separate persistent guidance, inline status, empty states, and transient notifications.
Structured data
Choose the lightest structure that supports the required hierarchy and interaction.
Disclosure and navigation
Organize related content with progressive disclosure or local navigation.
Showing all 121 components
6 components
Actions
Buttons, toggles, and controls that help people take action.
Button
Triggers primary, secondary, destructive, and quiet actions.
View usageButtonGroup
Groups related button actions.
View usageLanguageToggle
Presents the current locale as a compact control for changing language.
View usageThemeToggle
Switches between the configured light and dark color themes.
View usageToggle
Keeps the pressed state of a tool action such as pin, mute, or bold.
View usageToggleGroup
Coordinates related pressed-state controls with shared keyboard navigation.
View usage2 components
Brand
Expressive primitives for bringing the Lumen identity into a product.
33 components
Data display
Present structured information, media, metrics, and content.
Agenda
GlassLists upcoming appointments, tasks, or dated events.
View usageAttachment
GlassDisplays a file attachment with metadata.
View usageAvatar
Represents a person, team, or entity.
View usageBadge
Labels status, type, plan, or count information.
View usageBubble
GlassFrames chat messages and short comments.
View usageChart
GlassFrames metric headers, SVG plots, and captions for lightweight data visualization.
View usageCode
Renders inline code and framed code blocks with theme-aware palettes.
View usageCoverImage
Presents responsive editorial artwork with optional hover lift and gradient treatment.
View usageDataTable
GlassStyles dense tabular data and records.
View usageDescriptions
Presents a set of labeled facts as an aligned key–value list.
View usageEyebrow
Introduces or categorizes the heading that immediately follows it.
View usageFloatingBadge
Shows a high-emphasis notification count over an icon, avatar, or control.
View usageFormattedDate
Pairs human-readable date text with a machine-readable datetime value.
View usageIcon
Renders Lucide icons with Lumen sizing and accessibility defaults.
View usageImage
Styles accessible images while preserving Astro, Next.js, and browser-native optimization.
View usageItem
GlassAligns primary content, supporting metadata, and optional actions in a compact row.
View usageKbd
Displays keyboard shortcuts.
View usageMarker
Highlights status, position, or annotations.
View usageMessage
Structures a chat, activity, or system message.
View usageMeter
Displays a scalar value within a known range.
View usageNote
Keeps supplementary information visually attached to nearby content.
View usagePill
Pairs a rounded text label with an optional trailing count.
View usageQRCode
Renders a scannable QR code for a URL or other short value.
View usageRating
Collects or presents a bounded star-based score.
View usageSchedule
GlassDisplays calendar events across day, week, or resource grids.
View usageStat
Pairs one prominent metric with a concise descriptive label.
View usageTable
GlassStyles semantic tables for records and comparisons.
View usageThemeBuilder
GlassBuilds scoped token previews with hue, scheme, manual color, and export controls.
View usageTimeline
Orders milestones or activity events along a chronological track.
View usageTree
GlassDisplays hierarchical navigation or object collections.
View usageTreeGrid
GlassDisplays hierarchical rows with grid-like columns.
View usageTypography
Applies Lumen text rhythm to article content.
View usageVirtualList
GlassFrames long scrollable collections for virtualization adapters.
View usage8 components
Feedback
Communicate status, progress, loading, and important outcomes.
Alert
GlassSurfaces contextual status messages.
View usageCallout
Emphasizes an important explanation, caveat, or instruction within page content.
View usageEmpty
GlassExplains an empty state and next action.
View usageProgress
Shows completion, loading progress, or quota usage.
View usageSkeleton
Reserves space during loading states.
View usageSonner
Provides the toast viewport for notifications.
View usageSpinner
Indicates short loading states.
View usageToast
GlassDisplays temporary feedback for background actions.
View usage30 components
Forms
Collect, validate, and refine user input.
Autocomplete
Captures searchable text connected to suggestions.
View usageCalendar
GlassPresents a calendar surface for date selection.
View usageCascader
Selects one value by drilling through dependent levels of a hierarchy.
View usageCheckbox
Captures a binary form value.
View usageColorPicker
Captures a color token or brand swatch value.
View usageCombobox
Combines text entry and option selection.
View usageDatePicker
Provides a styled date input.
View usageDateRangePicker
Groups start and end date controls for range selection.
View usageField
GlassGroups labels, controls, descriptions, and errors.
View usageFileUpload
Collects files through a picker or drag-and-drop target.
View usageInput
Captures short text, email, password, search, or numeric values.
View usageInputGroup
Combines inputs with prefixes, suffixes, or controls.
View usageInputOTP
Collects one-time passcodes and verification codes.
View usageLabel
Labels form controls with consistent spacing.
View usageMentions
Captures multi-line text with suggestions triggered by @ mentions.
View usageNativeSelect
Styles the browser-native select element.
View usageNumberField
Captures constrained numeric values.
View usagePhoneInput
Pairs a country dial-code select with a telephone number input.
View usageRadioGroup
Groups mutually exclusive options.
View usageRichTextEditor
GlassFrames rich text toolbar and editing compositions.
View usageSearchField
Captures search queries with native search semantics.
View usageSegmented
Presents a small, always-visible set of mutually exclusive values.
View usageSelect
Provides an enhanced single-choice list when text search is not needed.
View usageSlider
Captures numeric values across a bounded range.
View usageSwitch
Toggles a single setting on or off.
View usageTagGroup
Groups removable or selectable tags.
View usageTextarea
Captures longer free-form text.
View usageTimeField
Captures a native time value.
View usageTransfer
Moves selected items between available and chosen collections.
View usageTreeSelect
Selects nodes from a branching hierarchy inside a dropdown.
View usage17 components
Layout
Compose content, manage space, and build responsive structure.
Accordion
Stacks collapsible content sections.
View usageAffix
Keeps important controls visible after their original position scrolls out of view.
View usageAspectRatio
Keeps media and embeds in a predictable ratio.
View usageCard
GlassFrames a focused item, metric, plan, or form.
View usageCarousel
GlassDisplays a horizontal sequence of slides.
View usageCollapsible
Shows and hides one optional content region.
View usageDirection
Controls directional layout and text flow.
View usageGradientDivider
Separates sections with a decorative brand-colored gradient line.
View usageMessageScroller
GlassProvides a scrollable message feed.
View usageParticles
Adds a density-controlled decorative particle field behind foreground content.
View usageProse
Adds readable spacing and typography to rendered Markdown or CMS content.
View usageResizable
Frames panes that can be resized.
View usageScrollArea
GlassProvides a styled scroll container.
View usageScrollReveal
Animates wrapped content as it first enters the viewport.
View usageSeparator
Creates a semantic visual boundary between adjacent content groups.
View usageToolbar
Groups frequently used controls into one compact action row.
View usageWatermark
Overlays a text or image watermark on content.
View usage11 components
Overlays
Layer focused tasks and contextual information above the interface.
AlertDialog
GlassConfirms destructive or high-commitment actions.
View usageContextMenu
GlassProvides contextual actions for a selected object.
View usageDialog
GlassPresents modal content for focused tasks.
View usageDrawer
GlassSlides in supporting navigation, filters, or task panels.
View usageDropdownMenu
GlassShows compact actions from a trigger.
View usageHoverCard
GlassShows extra context on hover and focus.
View usagePopconfirm
Requests a brief confirmation beside the action that triggered it.
View usagePopover
GlassDisplays lightweight floating content from a trigger.
View usageSheet
GlassShows a side sheet for secondary flows.
View usageTooltip
Adds concise helper text to compact controls.
View usageTour
Guides people through product features using a sequence of anchored steps.
View usageNo components found
Try a component name, category, or a broader use case.