An interactive single-date calendar with a selected date. Click any day to change the selection.
An interactive single-date calendar with a selected date. Click any day to change the selection.
Limit which dates can be selected using min/max bounds and custom rules like weekdays only. Use for scheduling UIs where certain dates are unavailable.
Pick a start and end date with the range highlighted between them. Use for booking dates, time-off requests, or report filters.
Pick one date from a month grid. Use for appointment dates, due dates, or any field that needs a single date.
Two months side by side for selecting ranges that span a month boundary. Use in booking or travel UIs where check-in and check-out often fall in different months.
A card with a heading and body text showing the default container style.
Muted-variant cards for tips, notes, or supplementary information. Use when content should be visually distinct but not prominent. The muted variant uses a wash background instead of the elevated default, making it feel recessed rather than raised. Works well in sidebars, help panels, or inline callouts.
The four elevation levels side by side. Cards are flat by default; raise a card with `elevation` only when it needs to float above surrounding content.
A card with a structured header, content area, and footer with action buttons. Use for forms, dialogs, or settings panels that need clear sections. Pair Card with Layout to get automatic dividers between header, content, and footer. The footer aligns actions to the right by default.
A card with a heading and body text. Use for summaries, descriptions, or any grouped content that needs visual separation from the page. The card handles its own border, background, and padding; just pass your content as children. Set a width to constrain it, or leave it to fill the parent.
Default, muted, and color variants side by side. Use color variants to categorize cards visually, like team colors, project tags, or content types. Each color uses the corresponding background token from the theme, so they adapt to light and dark mode automatically.
A horizontal carousel of cards with scroll-snap and navigation buttons. Scroll or click the arrows to browse.
A horizontally scrollable row of cards with snap scrolling enabled. Use for feature grids, product lists, or any set of cards that overflows the available width. The carousel adds fade edges and navigation buttons automatically.
Scroll-snap carousel with navigation buttons and team member cards. Each card snaps to the start edge on scroll. Use when items should be viewed one at a time rather than as a continuous strip.
Content centered horizontally and vertically inside a fixed-height container.
A formatting control group centered with axis="horizontal" in the default horizontal writing mode. In other writing modes, Center currently follows the flex main axis rather than guaranteeing physical horizontal centering.
An empty state with an icon, heading, and description centered both vertically and horizontally inside a card. This is the most common use of Center: placing content in the middle of a fixed-height area like a panel, card, or content region. The height prop defines the centering space.
Astryx showcase: ChatComposerInput.
Chat composer with removable file tokens in a collapsible drawer. Use when users can attach files or context to their message.
The composer is raised by default (`elevation="low"`). Set `elevation="none"` to flatten it; it then draws a border with the same rest / hover / focus treatment as a text input.
Chat composer with dropdown menus for a model selector and settings in the footer, and a mic button in the send actions slot.
Chat composer with all slots populated: collapsible attachment drawer, header actions, context progress bar, footer dropdown menus, and mic button. Shows the maximum composer configuration.
Minimal chat composer with a placeholder and submit handler. The simplest way to drop a message input into a page.
Chat composer with streaming state and a stop button. Use when the assistant is generating a response and the user can cancel.
Showing 73–96 of 682