Layout demos
Every demo has a standalone page with its preview, source and notes.
18 demos
Display
- Avatar
Initials, image, icon and toned avatars in every size, and an AvatarGroup with a +N overflow.
- Timeline
An order-status Timeline with opposite times, tones and a disabled step, alternating sides, a reversed release history with custom markers and an item template, a right-to-left Timeline and a horizontal Timeline.
- List
A display List of people with avatars and secondary lines, and an invitations List whose items hold Accept and Decline buttons.
- ListView as Listbox
A grouped, checkable contact list with item templates, tooltips and a disabled item, written with Listbox.
- ListView icons, item attributes and single selection
A folder Listbox with item icons, per-item class, title and data attributes, single selection with a change log, a fixed height in items, a disabled switch and right-to-left.
- Remote ListView as Listbox
A virtualized Listbox over 2,000 tickets read in ranges from a remote source with latency, a base query filter, a loading spinner, and an error state with Retry.
Containers
- Card
A profile Card with an Avatar header, body, separator and actions, and a horizontal Card with media.
- Splitter
A mail layout with a collapsible folder pane and a nested vertical splitter between the message list and the preview.
- Splitter panes, collapse and events
An editor Splitter built from a panes array, with a fixed-width tool column, a collapsible outline whose collapse can be vetoed, an inspector collapsed through its controlled prop, a disabled switch, right-to-left and an event log.
- Dashboard Layout
A resizable analytics dashboard driven by a controlled layout, with panels added and removed at run time, a pinned static panel, vertical compaction, keyboard moves and stacking below 560 px.
Overlays
- Dialog
A modal edit Dialog with a title, description, form body and footer, closed by Cancel, Save, Escape or the close button.
- Dialog placement, size and dismissal
A modal task Dialog with placement, width, full-screen and backdrop-dismissal controls, a close request vetoed while the notes are edited, initial focus, a Select and a Tooltip inside the modal, right-to-left and an event log.
- Draggable Dialog
A modeless Dialog moved by its title and resized from its corner, with arrow-key moves on the focused title, a controlled position and size, and a log of the move and resize events.
- Drawer
A navigation Drawer docked to the inline start edge.
- Alert Dialog
A destructive confirm AlertDialog with an icon and an async confirm, an async publish whose first attempt fails and shows its error, useConfirm through DialogProvider, a one-action alert, and a draggable prompt at the top that returns its form data.
- Tooltip
A formatting toolbar whose tooltips share one Tooltip.Provider delay, and a Delete button with a tooltip at the inline end.
- Tooltip placement, control and events
A controlled Tooltip opened from a button with a log of its open change requests, placement, offset and arrow controls, a pointer-following tooltip, a collision boundary, a wide tooltip, a tooltip with extra attributes rendered into a chosen container, and right-to-left.
- Popover
A filter Popover with a title, description, field and close button, and a help Popover placed at the inline end.