Components
158 accessible components and 21 ready-made blocks, each with live examples, the props, keyboard and screen reader behaviour, and source you own.
Maturity: rdloom is below version 1.0, so every component is marked experimental. The look and the props can still change in a minor release, and each change is listed in the release notes. Your copy only changes when you run rdloom upgrade.
Buttons
- ButtonTriggers an action or event, such as submitting a form or opening a dialog.5 examplesexperimental
- Action ButtonOne button that handles the permission check, an optional confirmation, the pending state and a result message for an action. It does not fetch data, show toasts, cache or route: you pass the function that does the work.5 examplesexperimental
- Shimmer ButtonA button with a soft band of light that crosses its surface now and then, for one standout action. Builds on Button, so focus, disabled and loading work the same.3 examplesexperimental
- Ripple ButtonA button that sends a ripple out from where you pressed it, or from its centre when pressed with the keyboard. Builds on Button.2 examplesexperimental
- Pulse ButtonA button with a soft ring that keeps radiating out, to draw the eye to the one action that matters now. Builds on Button.2 examplesexperimental
- Interactive Hover ButtonA button whose label slides away to an arrow, or to a second label with an arrow, on hover and keyboard focus. Builds on Button.2 examplesexperimental
- Rainbow ButtonA button with a multicolour border and soft glow that slowly travels around it. The label sits on the normal button surface, so its contrast is the plain Button's. Builds on Button.3 examplesexperimental
- Shiny ButtonA button with a band of light that sweeps across its surface on hover and keyboard focus, and slowly now and then at rest. Builds on Button.3 examplesexperimental
- Gradient ButtonA button with a colour that travels around its edge. The label sits on the normal button surface, so its contrast is the plain Button's. Builds on Button.2 examplesexperimental
- Reveal ButtonA button that opens an arrow beside its label when you hover or focus it, to suggest "go". Only a transition, so there is nothing to pause. Builds on Button.2 examplesexperimental
- Button GroupJoins related Buttons into one visual unit with shared borders and rounded outer corners only, horizontal or vertical. Also the base for a split button and an icon toolbar.3 examplesexperimental
Search and commands
- Command PaletteA search box in a dialog that finds and runs commands, jumps to pages and triggers actions from the keyboard. Opens with Ctrl or Cmd + K. Use CommandGroup and CommandItem for the results.3 examplesexperimental
- ComboboxText input that filters a list of options as you type. Supports multi-select tags, async loading and long, virtualized lists.5 examplesexperimental
Text and number inputs
- Text FieldSingle-line or multi-line text input with a label, help text and error message.5 examplesexperimental
- Input GroupOne bordered text field that wraps an input with addons before or after it: a currency sign, a URL prefix, a search icon, a clear, show or copy button. Built from InputGroup, InputGroupAddon and InputGroupInput.5 examplesexperimental
- Input OTPOne-time code input for verification and two-factor sign in. One real input holds the code and drawn cells show it, so paste, autofill from SMS and screen readers all work.4 examplesexperimental
- Number FieldA text field for numbers, with increment and decrement buttons, keyboard stepping, and locale-aware formatting for decimals, currency, units and percentages.3 examplesexperimental
- Tag InputA text field that turns what you type into removable tags when you press Enter or comma: for keywords, recipients and labels.3 examplesexperimental
- File UploadA drop zone and button for choosing files, with type, size and count limits and a list of the chosen files you can remove from. The component picks the files; you upload them.3 examplesexperimental
Choices and toggles
- SelectPicks one option from a list shown in a popover. Use with SelectItem children.4 examplesexperimental
- CheckboxLets the user turn a single option on or off, with an optional indeterminate state.4 examplesexperimental
- Radio GroupLets the user pick exactly one option from a small, visible set. Use with Radio children.4 examplesexperimental
- SwitchTurns a setting on or off, taking effect immediately.3 examplesexperimental
- SliderPicks a number, or a range with two thumbs, by dragging along a track. Shows the formatted value.4 examplesexperimental
- Segmented ControlA row of connected buttons where exactly one option is chosen, for switching a view or a setting with two to five choices. Use SegmentedControlItem for each option.3 examplesexperimental
- Toggle ButtonA button that stays pressed until pressed again, for turning a mode on or off, like Bold or Mute. Group several with ToggleButtonGroup for single or multiple choice.4 examplesexperimental
- Toggle GroupA row or column of joined toggle buttons with shared borders, for formatting options or a choice between a few modes. Pick single or multiple selection.4 examplesexperimental
- Color PickerPicks a color. A button shows the current color and opens a panel with a saturation and brightness area, a hue slider, an optional opacity slider, a hex field and preset swatches. ColorPickerPanel is the same panel inline. Values are hex strings.5 examplesexperimental
- RatingA star rating. As an input it is a radio group of stars; with isReadOnly it is a display like "4.5 out of 5 stars" with an optional count.5 examplesexperimental
- Native SelectThe browser's own select menu, dressed like the other fields. It gives the native picker on phones and works with plain form posts. For custom option rows or search, use Select or Combobox.4 examplesexperimental
Forms
- FormA form that holds the values, runs your validators or a schema, and exposes its progress as an action state (idle, pending, success, error). Fields connect by name and the inputs already link label, help text and error. It never fetches or saves anything: your onSubmit does.4 examplesexperimental
- Error SummaryThe list of problems at the top of a Form after a failed submit. Focus moves to it and each item takes the person to its field. It shows nothing until a submit has failed and goes away when everything is fixed.1 exampleexperimental
- Field ArrayRepeating rows of fields inside a Form, such as invoice lines or team members. Add, remove, move up or down and insert are all buttons, so the keyboard does everything; focus lands somewhere sensible and a polite message says what changed. The contents of the rows and any totals are yours.1 exampleexperimental
Dates and times
- CalendarMonth grid for picking a date. RangeCalendar picks a start and end. Used inside DatePicker and DateRangePicker.7 examplesexperimental
- Date PickerDate field with a calendar popover. Typing and picking both work, in the user's locale.4 examplesexperimental
- Date Range PickerStart and end date fields with a two-month calendar and optional presets like 'Last 7 days'.4 examplesexperimental
- Time FieldA field for a time of day, with separate hour, minute and (optional) second segments that follow the visitor's locale and 12 or 24 hour clock.3 examplesexperimental
Tables and data
- Data GridA fast, accessible data grid for thousands of rows: sorting, filtering, grouping, editing, copy and paste, export and server-side data. Columns are TanStack Table column definitions.16 examplesexperimental
- TableA simple, accessible table for a small number of rows: optional sorting and row selection. Build it from TableHeader, TableColumn, TableBody, TableRow and TableCell. For thousands of rows, filtering, editing or grouping, use DataGrid.3 examplesexperimental
- TreeAn expandable hierarchy such as folders and files or a nested menu, with keyboard navigation and optional selection. Build it from nested TreeItem elements.3 examplesexperimental
- File TreeA file and folder tree built on Tree, from a list of nodes. Folders show open and closed icons, files get an icon by extension, and each row can carry a size or a status badge.3 examplesexperimental
- PaginationPage numbers with previous and next buttons, for content split across pages. Long ranges collapse to the first page, the last page, and the pages around the current one.3 examplesexperimental
Charts and stats
- ChartA bar, line, area or donut chart drawn in plain SVG without a chart library. It fits its container, can be explored with a pointer or the arrow keys, and always comes with a written summary and a View as table switch that shows the same numbers.8 examplesexperimental
- SparklineA tiny line or bar graphic that shows the shape of a trend, without axes. Decoration unless it has a label.8 examplesexperimental
- StatA key number with its label and context: a value, an optional change over time and an optional small trend graphic. Unframed: place it in a Card or a grid.7 examplesexperimental
Navigation
- TabsSwitches between related panels of content in the same place. Use with TabList, Tab and TabPanel.4 examplesexperimental
- BreadcrumbsThe path from the top of the site to the current page, as links. Use BreadcrumbItem for each step; the last one is the current page.6 examplesexperimental
- StepsShows where someone is in a multi-step process, such as checkout or setup: done, current and upcoming steps. It displays progress; you control the steps and buttons.3 examplesexperimental
- MenuA list of actions or options that opens from a button, like a More (…) or Account menu. Use with MenuTrigger and MenuItem.4 examplesexperimental
- Navigation MenuSite navigation along the top of a page: plain links, and triggers that open a shared panel of grouped links (a mega-menu). Built from NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent and NavigationMenuLink. It is a set of links, not a menu of actions.3 examplesexperimental
- MenubarA horizontal bar of menus like File, Edit and View, as in a desktop application. Each MenubarMenu opens a list of actions with shortcuts, checkbox and radio items and submenus. Arrow keys move between the menus.3 examplesexperimental
Dialogs and popovers
- DialogModal window that asks for focus, such as a confirmation or a short form. Open it with DialogTrigger.3 examplesexperimental
- Alert DialogConfirmation dialog for destructive or irreversible actions. It cannot be dismissed by clicking outside, and can ask the user to type a word before the confirm button works. Open it with DialogTrigger.4 examplesexperimental
- SheetA modal panel that slides in from the edge of the screen, for filters, details or navigation on small screens. Open it with DialogTrigger.3 examplesexperimental
- DrawerA modal panel that slides up from the bottom of the screen and can be dragged down to dismiss, for short tasks on phones. Open it with DialogTrigger.3 examplesexperimental
- PopoverNon-modal panel anchored to a trigger, for extra controls or details. Open it with DialogTrigger.3 examplesexperimental
- TooltipShort text label shown on hover or keyboard focus. Wrap the trigger and tooltip in TooltipTrigger.2 examplesexperimental
- Hover CardA richer preview that opens when a link is hovered or reached with the keyboard, like a profile summary on a user name. It only repeats information that is available elsewhere.3 examplesexperimental
- Context MenuThe menu that opens at the pointer on a right click, a long press or the keyboard (Shift+F10 or the Menu key) over an area such as a file row. It never replaces a visible way to do the same thing.4 examplesexperimental
Feedback and status
- AlertAn inline message about the state of the page or a task: a tip, a success, a warning or an error. For brief confirmations that disappear, use Toast.3 examplesexperimental
- ToastBrief, non-blocking message about the result of an action. Render ToastRegion once and call toast().4 examplesexperimental
- ProgressA bar showing how far along a task is, or that something is working when the amount is unknown.3 examplesexperimental
- SkeletonA grey placeholder shaped like the content that is loading, so the page doesn't jump when it arrives.3 examplesexperimental
- Empty StateWhat to show when a list, table or page has nothing in it yet: a short explanation and the next step.3 examplesexperimental
- Error StateWhat to show when a page or a panel could not be shown: a failed load, or a 404, 403 or 500 screen, with what happened and how to go on.3 examplesexperimental
- BadgeA small label that states a status or category, like Paid, Overdue or Beta. Not interactive.3 examplesexperimental
- SpinnerA small loading indicator for work of unknown length: inline with text, inside a button, or over a whole area.4 examplesexperimental
Content and layout
- CardA container that groups related content under an optional heading. Compose it with media, an overlay, header, meta, actions, body, a footer and a coloured band for destination, profile, listing and detail-panel cards.10 examplesexperimental
- AccordionA stack of sections whose content expands and collapses under a heading, like an FAQ. Use with AccordionItem.3 examplesexperimental
- AvatarA person's or account's picture, falling back to their initials when there is no image or it fails to load.3 examplesexperimental
- KbdShows a keyboard key or shortcut, like Ctrl or ⌘K, in a keycap style. Not interactive.3 examplesexperimental
- CollapsibleOne region that opens and closes under a trigger, for detail most people do not need at first. For a stack of related sections, use Accordion.3 examplesexperimental
- Scroll AreaA scrollable region with a thin themed scrollbar, reachable by keyboard, with optional fades at the edges that still have content.3 examplesexperimental
- SeparatorA thin line that divides content, horizontal or vertical, with an optional label in the middle such as "or".3 examplesexperimental
- Avatar GroupAn overlapping stack of avatars with a +N chip for the rest, for showing who is on a team, thread or file.3 examplesexperimental
- CarouselA row (or column) of slides that scrolls and snaps, with previous and next buttons and slide dots, for a small set of related items such as featured cards or screenshots. Use CarouselItem for each slide. Built on native scroll snapping, so touch and trackpad swiping work without extra code.5 examplesexperimental
- Resizable PanelsPanels side by side or stacked that the person can resize by dragging or with the keyboard, for a sidebar and content, an editor and a console, or a split view. Build it from ResizablePanelGroup, ResizablePanel (id, defaultSize, minSize, maxSize, collapsible, collapsedSize) and ResizableHandle (withHandle, label).5 examplesexperimental
- Aspect RatioA box that keeps a fixed width to height ratio for what it holds, such as an image, a video or a map. It reserves the space before the content loads, so the page does not jump.3 examplesexperimental
- DirectionSets the reading direction for everything inside it. It writes the dir attribute and gives React Aria the matching locale, so arrow keys and logical CSS flip together.3 examplesexperimental
- ItemA flexible list row with a leading media slot (icon box, avatar or picture), a title, a description and trailing actions. The whole row can be a link or a button while its actions stay separately clickable.5 examplesexperimental
- TypographyText components that use the font of the host app: Heading (H1 to H4) with the visual size separate from the semantic level, Text, Lead, Prose for raw HTML, InlineCode, Blockquote and List.4 examplesexperimental
AI chat and agents
- ChatA whole conversation with an assistant: the messages, a box to write in, and the stop and jump-to-latest controls. It shows what you give it and reports what the person does; it never calls a model.5 examplesexperimental
- MessageOne message in a conversation, from you or the assistant. It renders each part in order with the right component: text as formatted markdown, tool calls as activity, tables and charts as real components, sources at the end.4 examplesexperimental
- Prompt InputThe message box of a chat: one rounded bar with a + menu on the left, the text in the middle, and your own controls, a microphone and Send on the right. Added files show above the text. You get only the buttons you ask for.4 examplesexperimental
- ResponseShows an assistant's reply as formatted text: headings, lists, tables, code, links and source markers. It is safe for text you do not control and for text that is still arriving.3 examplesexperimental
- Tool CallOne thing the assistant did, such as searching or running a query: its name, where it is (waiting, running, needs approval, done, failed), how long it took, and on request what went in and out.3 examplesexperimental
- Agent ActivityA short summary of what the assistant is doing or did, such as "Used 3 tools", that opens into each step. It stays open while a step needs approval.3 examplesexperimental
- Approval BoxAsks someone to approve or decline something the assistant wants to do. It says what will happen, how risky it is and whether it can be undone, in words as well as color.2 examplesexperimental
- CitationA small numbered marker, like [1], inside a reply that jumps to the source it refers to.1 exampleexperimental
- SourcesThe numbered list of sources a reply drew on, with title, site and a short excerpt. Each entry is where a Citation marker lands.1 exampleexperimental
- Generated TableA table an assistant produced, shown as a real sortable table with a title and summary, numbers aligned, long results cut to a few rows, and a CSV download.2 examplesexperimental
- Generated ChartA bar or line chart an assistant produced, drawn without a chart library, always with a written summary and a View as table switch that shows the same numbers as a table.3 examplesexperimental
- AttachmentA chip or card for a file attached to a message or a prompt: its name, size, a type icon, an upload progress bar or error, and an optional remove button. A preview variant shows a thumbnail for pictures. AttachmentList groups several as a list.3 examplesexperimental
- BubbleA chat bubble for plain, short messages. Bubble is the chrome around one message: alignment and colour for who sent it, an avatar, a name and a time, a delivery status with Retry, grouped bubbles that merge their corners, and a footer for actions. It does not render structured replies. Message renders an AI turn from typed parts (markdown, tools, charts, sources) and Chat holds the whole conversation; use Bubble for person-to-person or simple text chats, or put a Response inside a Bubble when you want the bubble look around formatted text.4 examplesexperimental
- MarkerA divider that labels a moment inside a conversation or feed: a centered label between two lines. Use date for a new day, unread for where new messages start, and event for something that happened, like someone joining.3 examplesexperimental
- Message ScrollerThe scrolling region of a conversation. It follows new messages while the reader is at the bottom, stays put when the reader has scrolled up (with a Jump to latest button), and keeps the place when older messages are added at the top.3 examplesexperimental
- QuestionnaireA short flow of questions asked one at a time, for onboarding or for an assistant that needs a few details. It shows progress, keeps answers when going back, and ends with a review step where each answer can be edited.3 examplesexperimental
Motion and effects
- Text ShimmerText with a band of light sweeping across it, for a loading message or a quiet accent. The words stay real text: selectable and read as normal.2 examplesexperimental
- Animated Circular ProgressA ring that fills to its value after it appears, with the value in the middle. It can also spin when the amount of work is not known.3 examplesexperimental
- Number TickerA number that counts up (or down) to its value once after it appears. The final number is always the text that is read and that is in the server HTML.3 examplesexperimental
- MarqueeAn endless scrolling row (or column) of content, such as logos or short quotes. It pauses on hover and focus, and can show a visible Pause button.3 examplesexperimental
- Orbiting CirclesItems that travel around a centre on one or more circular paths, such as the tools a product works with. The items are your own children and the orbit is plain CSS.3 examplesexperimental
- Icon CloudIcons laid out on a slowly turning sphere, built with CSS 3D transforms and no canvas. Each icon can be a link, a button or a plain image, and the list keeps one fixed order for the keyboard.3 examplesexperimental
- BacklightA soft coloured glow behind an image or a card. It takes its colours from a list you give, or from a blurred, enlarged copy of the content itself.3 examplesexperimental
- Typing AnimationText that types itself out one character at a time, with an optional blinking cursor and an optional loop. The full text is in the page from the start.2 examplesexperimental
- Word RotateA phrase where one word swaps for the next in the same spot, cycling through a list. The slot is as wide as the longest word, so nothing around it jumps.2 examplesexperimental
- Text RevealA passage whose words come into full strength as you scroll it into view, or all together when it appears. The real text is always in the page.2 examplesexperimental
- Text AnimateText that animates in by character, word or line using a preset: fade in, blur in, slide up or scale up. The words are real text in the page from the start.3 examplesexperimental
- Morphing TextA phrase that blurs and cross-fades into the next phrase in a list, in the same spot. The slot is as wide as the longest phrase, so nothing around it jumps.3 examplesexperimental
- Spinning TextText laid out round a circle that turns slowly. The layout is plain CSS (each letter is rotated about the centre), and the real text is in a visually hidden copy.3 examplesexperimental
- Kinetic TextText whose letters move one after another in a loop: a wave, a bounce or a pulse. Plain CSS, staggered by letter position.3 examplesexperimental
- Text HighlighterA marker highlight that sweeps behind text when it scrolls into view. The text itself is untouched, ordinary inline text that wraps normally.3 examplesexperimental
- Hyper TextText whose letters scramble into random characters and then settle left to right on the real text, when it scrolls into view or when it is hovered. The final text is always in the page.3 examplesexperimental
- Sparkles TextText with small four-point sparkles that twinkle around it. The sparkles are drawn with CSS shapes and appear after the page loads.2 examplesexperimental
- Aurora TextText filled with a slow, drifting aurora gradient. Falls back to plain text colour for reduced motion and high contrast.3 examplesexperimental
- Line Shadow TextText with a diagonal line-pattern shadow behind it that slowly slides. The shadow copy is hidden from assistive technology.2 examplesexperimental
- Text3d FlipLetters or words that flip over in 3D, when the pointer or focus arrives or once when the text comes into view.3 examplesexperimental
- Comic TextBold, outlined, comic-style text with a hard offset shadow and an optional pop-in when it first appears.3 examplesexperimental
- Video TextLarge text that shows a video you supply through its letters. The text stays real text; a gradient fallback shows until the video plays.3 examplesexperimental
- Scroll VelocityRows of large text that drift sideways, speeding up and reversing with how fast the page is scrolled. Rows alternate direction.3 examplesexperimental
- Gradient TextText filled with a gradient that keeps flowing, for a short headline or a highlighted word. The words stay real text.2 examplesexperimental
- Blur FadeContent that sharpens and slides into place when it first appears or when it scrolls into view. It is visible to start with, so it never hides content from anyone.2 examplesexperimental
- Shine BorderA band of colour that slides steadily along a border, so the edge seems to catch the light. Wrap a card or a field.2 examplesexperimental
- Shuttle BorderA point of light that runs around the edge of whatever is inside, like the shuttle of a loom crossing the threads. Wrap a card, an input or a button; give it your radius and background.2 examplesexperimental
- RippleConcentric rings that swell outward from the centre, as a calm backdrop behind a heading or a call to action. Content goes in front of the rings.2 examplesexperimental
- Animated ListA list whose items slide and fade in one after another, and stack as new ones are added. It is a real list (ul with li items), and every item is in the page from the start.2 examplesexperimental
- Bento GridA responsive grid of feature cards of different sizes. It is a real list: each BentoCard is a list item with its own heading, icon, description, optional background and optional link or action. Cards lift a little on hover.3 examplesexperimental
- TerminalA command-line style panel that types its lines in once: a prompt, the commands, then the output. It has a copy button, and a still mode that shows every line at once. The lines are real text in the page from the start.3 examplesexperimental
- Code ComparisonTwo code panels, before and after, side by side on wider screens and stacked on phones. Each has a label, line numbers and optional highlighted lines. It does no syntax colouring and has no dependency.2 examplesexperimental
- DockA row of icon buttons that grow toward the pointer, like an app launcher. Every item is a real button or link with a visible label (a tooltip) that is also its accessible name. Magnification is off on touch and for reduced motion.3 examplesexperimental
- Grid PatternA grid of thin lines that fills its parent, with an optional edge fade and a slow drift.3 examplesexperimental
- Dot PatternA field of evenly spaced dots that fills its parent, with an optional edge fade and a slow drift.3 examplesexperimental
- Striped PatternDiagonal stripes that fill their parent, with an optional edge fade and a slow drift along the stripes.3 examplesexperimental
- Hexagon PatternA honeycomb of hexagon outlines that fills its parent, with an optional edge fade and a slow drift.3 examplesexperimental
- Interactive Grid PatternA grid whose cells light up under the mouse or pen. Decoration only: it does nothing on touch or for reduced motion and never takes focus.2 examplesexperimental
- Flickering GridA grid of small squares that gently fade in and out, drawn on a canvas that fills its parent.3 examplesexperimental
- Retro GridA perspective floor grid that scrolls slowly toward the viewer, drawn with CSS only.3 examplesexperimental
- Light RaysSoft angled rays of light that sweep slowly across the parent, drawn with CSS only.3 examplesexperimental
- NoiseA fine static grain laid over a surface with CSS, still by default.3 examplesexperimental
- Weave Gridrdloom's signature backdrop: warp and weft threads crossing in a woven grid, with an ember shuttle that passes through slowly.3 examplesexperimental
- Scroll ProgressA thin bar showing how far the page, or a scrolling container, has been read.3 examplesexperimental
- Animated BeamA light that travels along a curved line between two elements, such as two cards in a diagram. The line is drawn on a canvas that fills the container, so nothing is added to the accessibility tree.3 examplesexperimental
- Spotlight CardA card with a soft light that follows the pointer. The light is off for touch and for visitors who ask for less motion, and the card keeps its own focus ring.3 examplesexperimental
- Glare HoverA band of light that sweeps across a card or an image when the pointer or keyboard focus reaches it.2 examplesexperimental
- MeteorsStreaks that fall across a container, for a hero or an empty background. They are real DOM positioned from the index, so the server and the browser agree.2 examplesexperimental
- ConfettiA short burst of paper pieces, launched from a fire() handle or when isActive turns true. The canvas appears for the burst, then removes itself.2 examplesexperimental
- ParticlesA canvas of small dots that drift and lean toward the pointer, for a background. They pause when off-screen and stop for reduced motion, leaving a still scatter.2 examplesexperimental
- GlobeA canvas globe of land dots that turns slowly, can be dragged to rotate, and can mark places with glowing dots. Still when off-screen, paused or for reduced motion.3 examplesexperimental
- Dotted MapA flat world map drawn as dots on a canvas, with optional markers and arcs that pulse between marker pairs. Still when off-screen, paused or for reduced motion.3 examplesexperimental
- Selvedge BlurA progressive blur along one edge of a scrolling area or image: stacked layers of backdrop blur that fade from sharp to blurred, so content softens as it nears the edge. Pure decoration: it ignores the pointer and is hidden from assistive technology.3 examplesexperimental
- LensA magnifier that follows the mouse over an image or any content. The real content stays in place and fully accessible; the lens is a hidden, inert enlarged copy that appears only under a real pointer.3 examplesexperimental
- Pixel ImageAn image that resolves from coarse pixel blocks to sharp when it scrolls into view. The real image is always in the page (server HTML, no JavaScript, print); the blocks are a hidden canvas drawn over it and removed when done.3 examplesexperimental
- Theme TogglerA light, dark and system theme switch, as a three-option button group or a single cycling button, with a small animated icon change. It only reports the choice; it can optionally set data-theme on the page root. It reads and writes no storage: saving the choice is up to your app.3 examplesexperimental
- Hero Video DialogA poster thumbnail with a play button that opens a dialog with your video. No video is bundled and none is fetched until the dialog opens. Focus moves into the dialog and returns to the thumbnail on close; Escape closes.3 examplesexperimental
- Smooth CursorA soft dot or ring that trails the real pointer with easing, inside a container or across the page. The system cursor stays unless you ask to hide it.3 examplesexperimental
- PointerA named pointer that follows the mouse inside a container, like a collaborator cursor: an arrow drawn in CSS with a name tag. It hides when the mouse leaves.3 examplesexperimental
- Device MockA drawn device frame (phone, tablet, laptop, desktop, watch or browser window) around your content, which becomes the screen. The frame is plain CSS decoration with neutral bezels; the screen is a real container, so everything inside keeps its own semantics and focus order.3 examplesexperimental
- Social Post CardA generic social post: avatar, display name, handle, time text, body, an optional media slot and link preview slot, and a row of real buttons (reply, repost, like) with formatted counts. It is an article with no network branding.3 examplesexperimental
Blocks
- Dashboard ShellThe frame of a dashboard or admin app: a sidebar of navigation that folds down to icons, a top bar with search and actions, an account menu, and the page. On a phone, or in any narrow space, the sidebar becomes a menu that slides in.6 examplesexperimental
- Dashboard PageOne page of a dashboard: a title with its actions, a row of key numbers, then your content. It sits inside DashboardShell but works anywhere. The title is the page's h1.3 examplesexperimental
- Page HeaderThe top of a page: breadcrumbs, a title with badges, a description, actions on the right and tabs underneath. Every part is optional except the title.3 examplesexperimental
- Section HeaderThe heading of a section inside a page, for a card or a table: a title, a description and actions on the right.2 examplesexperimental
- App FooterThe footer of an application or marketing page: a line of text, link lists and social links. It stacks on a phone and has the same size and spacing on every page.3 examplesexperimental
- Auth CardThe centered card for sign in, sign up, forgot password and verify code screens: a logo, a title, your form, other ways to sign in and links underneath.9 examplesexperimental
- SidebarA sidebar of navigation: the team or product name at the top, grouped links with sub-items and badges, an optional footer, and the signed-in person at the bottom. It can fold down to icons, and comes in four looks. It is only the panel; DashboardShell adds the top bar and the phone menu.12 examplesexperimental
- Customer TableA ready-to-use customer list: search, filters, sorting, pages, CSV export, loading rows, an empty state, an error with retry, cards on a phone, and totals with a chart above that follow the filters. Give it customers and it works.9 examplesexperimental
- Data TableThe list screen every admin, ERP and SaaS app has: a table of rows with search, filters, sorting, pages, selection with bulk actions, a row menu with confirmed actions, CSV export, loading, empty and error states, and cards on a narrow screen. It never fetches: you pass the rows (or one page of them with serverSide) and handle the actions. Permissions only change what people see and can try; they are not security, so the server must check every action again.10 examplesexperimental
- Invite DialogA dialog for inviting people, in three shapes: typed emails with a role on one compact line each, a search of a directory you pass, or a two-step pick-from-a-list with a role per person. Checks for format, duplicates and people who are already members, an error summary, an optional message and a submit button that says how many invitations it sends. Your onInvite does the work. UI permission is not security: the server must check again.7 examplesexperimental
- User FormA form to create or edit a user, in three presentations: a whole page (variant page), a compact form for a Dialog (modal) and a single-column form for a Sheet (sheet). Fields: profile picture, name, job title, email, phone with a calling-code select, address, time zone, language, bio, role, active switch and team, chosen with a plain fields object. Edit mode adds a danger zone to suspend or reinstate and delete, each behind a confirmation. Save stays disabled until something changes, and Cancel asks before throwing changes away. Your onSubmit does the work. UI permission is not security: the server must check again.7 examplesexperimental
- Settings SectionThe repeating unit of a settings page: a title and description on the left, a card with the content on the right, and a Save and Cancel bar that appears only when something has changed. Use SettingsRow inside for toggle lists. Your onSave does the work. UI permission is not security: the server must check again.9 examplesexperimental
- Plan CardThe current subscription plan: name, price and interval, status with the right text, renewal or end date, feature list, a usage hint, and the actions Change plan and Cancel subscription (confirmed, with the end date). A past due plan shows an alert. PlanPicker, exported beside it, lets people choose another plan. Your callbacks do the work. UI permission is not security: the server must check again.7 examplesexperimental
- Usage MeterA labeled meter for a limit: seats 8 of 10, storage 4.2 of 5 GB, API calls. It warns at 80 percent and at the limit with words and an icon, not only color, and can offer an upgrade when near the limit. UsageMeterList shows several. Built on role="meter"; the app owns the numbers. UI permission is not security: the server must check again.6 examplesexperimental
- Event CalendarA month grid that shows events on the days they happen. People move between months, step through days with the arrow keys, pick an event, and add one from a day when the app allows it. The app owns the events and the month. Days with more events than fit show a +N more button that opens the full list for that day. UI permission is not security: the server must check again.4 examplesexperimental
- Time Slot PickerPick a day, then a time on that day. A calendar chooses the date; the times for it come from your getSlots function, sync or async, and show as a group of radio buttons. Times that are taken are disabled and say why. A Confirm button hands back the date and the slot. The app owns which times exist. UI permission is not security: the server must check again before it books anything.3 examplesexperimental
- Payment Method CardOne payment method: a generic card mark, the last four digits, the expiry with an expires soon notice, a default badge, and the actions Update, Remove (confirmed) and Make default. With no method it offers Add a payment method. It never holds a full card number; your callbacks do the work. UI permission is not security: the server must check again.5 examplesexperimental
- Api Key ListA list of API keys with their name, prefix, creation and last use, and scopes as badges. Create key opens a dialog with a name and scopes, then shows the secret once with a Copy button and a warning; it is never shown again. Revoke needs the key name typed to confirm. Your callbacks do the work. UI permission is not security: the server must check again.4 examplesexperimental
- User MenuThe avatar button that opens the account menu: the person's name and email at the top, your own entries (settings, billing, help) in groups, a row for the theme, and a Sign out entry that can ask first, shows that it is working, and tells screen readers how it went.4 examplesexperimental
- App HeaderThe top bar of an application: a slot for a sidebar toggle, the breadcrumbs, a search button that opens your command palette, your own actions, a notifications bell with an unread count and the account menu. In a narrow space the search folds to an icon.6 examplesexperimental
- Top NavNavigation across the top of an application or marketing site: your brand, links (some opening a short list), and a slot for buttons or the account menu. In a narrow space it becomes a menu button that opens the same links in a sheet. It comes plain, with a line, or as a floating pill.6 examplesexperimental