Reference
Components
Find a control, surface, or application pattern for your interface.
On this page
Each reference explains the HTML structure, supported states, design tokens, and accessibility responsibilities. Your application supplies behavior and state where a component needs them.
Stable components are covered by the full test suite and follow the deprecation policy. Experimental components have documented contracts and previews, but their markup or tokens may still change before 1.0.
Controls and surfaces
- Accordion
- Collapsible disclosure using native details/summary with auto-height animation.
- Action Bar
- Floating batch action bar for tables, card grids, and mass-selection workflows with pure-CSS reactive auto-reveal.
- AI workspace
- Prompt composer, reasoning/trust block, and inline citations for embedded AI workflows.
- Alert
- Inline notifications for contextual feedback - four tones, each WCAG-AA.
- Audit Stream
- Enterprise activity and compliance log stream with actor avatars and tabular timestamps.
- Auto-growing textarea
- Textarea that grows to fit content via field-sizing. Zero JavaScript.
- Avatar
- A user identity chip - initials or image, with group stacking.
- Badge
- A compact label for statuses, counts, and tags - tones via data-tone, consuming the WCAG-AA semantic pairs.
- Banner
- Full-width system-level announcement and incident bar with semantic tones and actions.
- Breadcrumb
- Navigation trail showing site hierarchy. CSS-only separators via gap decorations.
- Button
- Use buttons for actions such as saving changes or creating records. Choose primary, secondary, or ghost styling to show the action's importance.
- Calendar · Experimental
- Date, date-range, and time picker contracts for app-owned calendar behavior.
- Card
- Group related content in a card, with an optional header and footer. Use app surfaces for dense workspaces.
- Chart shell
- Accessible chart container for metric headers, legends, plot slots, loading/empty/error states, and table fallback content.
- Checklist
- A persistent setup checklist with native checkboxes, progress, and optional current-step emphasis.
- Chip
- Compact tag/pill with optional remove button. Uses relative color syntax for derived tints.
- Choice
- Standalone checkbox/radio rows and selectable choice cards for onboarding, plan pickers, and settings.
- Code Block
- Developer-grade code and diff viewer shell with line numbering and copy action.
- Combobox
- Framework-neutral combobox, autocomplete, and async lookup patterns for SaaS entity selection.
- Command palette
- Cmd+K quick-action search overlay using Popover API. Search, grouped actions, keyboard navigation.
- Data table
- Enterprise data table with sortable headers, row selection, expandable rows, sticky column, density modes, and loading states.
- Data visualization
- CSS-only sparkline, bar chart, and heatmap shells with accessible table fallbacks.
- Description list
- A key-value grid for detail panels, metadata displays, and summary cards.
- Dialog
- A modal dialog using the native dialog element - confirmation, forms, detail views. ::backdrop scrim, @starting-style entry/exit, header/body/footer.
- Diff
- A unified or split diff viewer for config, policy, and code-review surfaces.
- Drawer
- Off-canvas slide-over panel using Popover API with @starting-style animation.
- Dropdown
- Button-triggered option menu using Popover API + anchor positioning. Supports icons, descriptions, and custom rendering.
- Empty state
- The "no data yet" placeholder - turns a blank screen into an invitation with a title, description, and CTA.
- Entity inspector · Experimental
- A native nonmodal record popover with contextual metadata, actions, and automatic per-invoker anchoring.
- Field
- A labeled native form control with stacked and inline layouts, required markers, messages, validation, and input-group composition.
- File upload
- Drag-and-drop file upload zone. Native input hidden, CSS-only state management via :has().
- Filter builder
- CSS-only query builder, query chips, and saved view bar for SaaS data surfaces.
- Form
- Layout helpers for SaaS forms, grids, sections, actions, choice lists, choice messages, and input groups.
- Gauge
- Pure-CSS radial KPI dial and progress gauge driven by conic-gradient and registered @property percentage transitions.
- Inline loading
- Local indeterminate progress and a width-stable busy-button pattern.
- Kbd (Keycap)
- Tactile 3D mechanical keycaps for hotkeys, shortcuts, and command menus.
- KPI Card
- High-density metric dashboard tile with comparison deltas, sparklines, and target progress.
- Miller columns
- Roles-first cascading columns for IAM permissions, taxonomic exploration, nested document navigation, and hierarchical data sets.
- Nav
- Vertical sidebar navigation with icon+label items, active states, collapsible sections, and icons-only variant.
- Page header
- A title + actions row for the top of a page or panel section inside a container.
- Pagination
- Navigation control for paginated data - previous/next + numbered pages with aria-current for the active page.
- Panel deck · Experimental
- A small set of fixed panels with native CSS tab navigation and a readable stacked fallback.
- Popover menu
- A dropdown menu anchored to its trigger - native Popover API, CSS anchor positioning, @starting-style entry/exit animation.
- Progress
- A linear progress indicator - determinate or indeterminate, with tone variants.
- Property List
- High-density key-value metadata inspector for cloud resources, accounts, and telemetry.
- Reveal
- Elements that fade/slide in as they enter the viewport. Zero JavaScript via scroll-driven animations.
- Scroll progress
- A fixed progress bar that fills as you scroll. Zero JavaScript via scroll-driven animations.
- Scroll region · Experimental
- Bounded scrollports with logical overflow indicators and scroll-aware sticky table boundaries.
- Section navigation · Experimental
- Native fragment links that highlight the currently visible record or article section.
- Segmented control
- Compact inline switcher for binary/ternary toggles. CSS-only, native radio inputs.
- Shortcut sheet
- A native dialog reference for keyboard shortcuts, grouped by context with tactile keycaps.
- Skeleton
- Loading placeholders with a CSS-only pulse - mimics real content shapes without a spinner.
- Split button
- A primary action button paired with a dropdown toggle for alternative actions. Composes two .pl-c-button segments with a Popover API menu.
- Split pane
- CSS-only horizontal and vertical split panes for explorers, editors, inspectors, and process builder shells.
- Stat
- A KPI / metric tile for dashboards - number, label, unit, trend indicator, and optional sparkline.
- Stepper
- Multi-step indicator with CSS-only connectors. Responsive collapse via container queries.
- Swatch
- A static color chip for palettes, token previews, and color metadata.
- Switch
- CSS-only toggle switch built on a native checkbox. No JavaScript for the toggle.
- Tabs
- A tabbed region for switching between views - native ARIA tablist semantics with a box-shadow indicator.
- Tag input
- Multi-value input that converts typed values into removable chips.
- Thread
- Threaded comments, mentions, reactions, and inline-edit state for records, approvals, and AI reasoning.
- Timeline
- Vertical activity feed with tone-colored markers and connector lines.
- Toast
- Transient notifications with @starting-style enter animation. Auto-stacking via fixed container.
- Toolbar
- An action bar grouping controls above a data region - search, filters, and primary actions in one row.
- Tooltip
- Hover/focus tooltip using CSS Anchor Positioning. Zero JavaScript for positioning.
- Tree view
- Role-first tree view for object explorers, nested navigation, process folders, rule libraries, and app sidebars.
- Undo bar
- Reversible action feedback for destructive changes, bulk edits, and AI applies, with inline and floating variants.
- Workflow board
- CSS-only BPM board shell for lanes, swimlanes, work cards, WIP counts, and app-owned drag/drop states.
Application patterns
- App process builder
- Porchlight-native admin shell recipe for process drafts, step maps, validation feedback, and inspector forms.
- Approvals inbox · Experimental
- Scoped workspace updates with application-owned selection, filtering, approval and undo.
- Command-driven workspace
- App-shell composition kit for command-centered products with palette search, split results, details, recents, and feedback.
- Data-dense mode
- A fourth density tier for SIEM dashboards, trading terminals, and analytics consoles where screen real estate is at a premium.
- List/detail workspace
- A Porchlight-native app composition for queues, records, inspectors, and split-pane detail workflows.
- Queue triage kit
- Operational queue composition for intake, SLA review, assignment, and activity history.
- Record detail · Experimental
- An enterprise record with overview, activity, permissions, and billing sections and native in-page navigation.
- Settings console
- A Porchlight-native admin settings composition for account, team, security, billing, and destructive workflows.
- Treasury reporting dashboard
- A Porchlight-native fintech treasury and capital operations analytics composition with query filter builder, floating action bar, capital adequacy dials, and breakdown tables.