Components
102 components, one API
Every component supports every surface, tone, radius, density and motion level. Each page has a live playground and code for HTML, React, Vue, Svelte and Solid, all generated from components.json.
102 components shown
Foundations CSS classes
- Typography

.pm-display .pm-heading .pm-proseHeadings, lead, eyebrow and caption text, the size scale, wrapping and number utilities, and long-form prose. - Layout and utilities

.pm-stack .pm-grid .pm-splitStacks, rows, responsive grids, sidebars, fixed ratios, scroll areas, choice cards and page helpers.
Actions 9
- Button

<pm-button>Button for actions, or a link styled as a button whenhrefis set. - ButtonGroup

<pm-button-group>Groups buttons with joined edges. - CopyButton

<pm-copy-button>Copies text to the clipboard and confirms it (visually and to screen readers). - Command

<pm-command>Command palette (⌘K / Ctrl+K): a modal search over actions and pages, grouped, fuzzy-matched, keyboard driven. - Toolbar

<pm-toolbar>Toolbar that groups related controls into one Tab stop, moved through with the arrow keys. - ShareButton

<pm-share-button>Share button: opens the device's share sheet (phones, Safari, Edge) and copies the link where there is none. - ThemeSwitch

<pm-theme-switch>Light / dark / system switch. - ThemeSettings

<pm-theme-settings>Display settings for the people using your app: colour mode, theme, surface, corners, density, text size, motion - Fab

<pm-fab>Floating action button: the main action of a screen, fixed in a corner, with an optional menu of actions.
Forms 28
- Input

<pm-input>Single-line text field for text, email, numbers, passwords, search and more. - Textarea

<pm-textarea>Multi-line text input that grows with content (betweenrowsandmax-rows).show-countadds a live - Select

<pm-select>Native-backed select for picking one option from a short list, with the platform picker on phones. - Checkbox

<pm-checkbox>Checkbox for turning an option on or off, with an optional mixed state. - Switch

<pm-switch>On/off switch (form value like a checkbox). - RadioGroup

<pm-radio-group>Radio group: choose one option from a short list. - CheckboxGroup

<pm-checkbox-group>Checkbox group: choose any number of options under one label. - Form

<pm-form>Form helper around a native<form>: validation summary, busy submit button and server errors. - Slider

<pm-slider>Range slider.marksadds labelled ticks (clickable, and snapped to by the native control);unitandlocale - PhoneInput

<pm-phone-input>Phone input: a country picker and a telephone field that give one international number. - NumberInput

<pm-number-input>Number input with − / + steppers. Arrow keys step, Page Up/Down step ×10; min/max/step are validated natively. - Combobox

<pm-combobox>Combobox / autocomplete: a searchable select. - DatePicker

<pm-date-picker>Date picker: a text field that accepts typed dates (ISO or the locale's format) plus a calendar popup. - Calendar

<pm-calendar>Calendar (WAI-ARIA date grid) with month and year views: click the title to jump to a month, then to a year. - PinInput

<pm-pin-input>PIN / one-time code input: one box per character, paste-aware, autofills SMS codes (autocomplete="one-time-code"). - Rating

<pm-rating>Star rating. Radio-group keyboard behaviour; form-associated;readonlyfor display. - Segmented

<pm-segmented>Segmented control: pick one of a few options (view switchers, filters). Radio-group semantics, form-associated. - FileUpload

<pm-file-upload>File upload: drag-and-drop zone, file picker and paste (Ctrl/⌘+V on the focused zone), with type/size/count - ColorPicker

<pm-color-picker>Colour picker: a swatch + hex field with a popup (orinlinepanel) holding a saturation/brightness area, hue and - TimePicker

<pm-time-picker>Time picker: type a time ("14:30", "2:30 pm") or pick hours and minutes from a popup. - RangeSlider

<pm-range-slider>Two-thumb range slider (price filters, time windows). - ToggleGroup

<pm-toggle-group>Toggle button group (text formatting, filters, view options). - InlineEdit

<pm-inline-edit>Inline edit: text that turns into an input in place, for renaming a project, a title or a table cell. - Cascader

<pm-cascader>Cascader: choose one item from nested lists, one column per level (country, region, city; category, subcategory). - TreeSelect

<pm-tree-select>Tree select: choose from a hierarchy shown as an expandable tree in a dropdown (folders, departments, categories). - Transfer

<pm-transfer>Transfer list: move items between "available" and "selected" (assign permissions, pick table columns). - Editor

<pm-editor>Rich-text editor for short formatted content: comments, descriptions, notes. Form-associated; submits clean HTML. - Signature

<pm-signature>Signature pad: sign with a finger, pen or mouse. Form-associated; submits a PNG data URL.
Display 30
- Card

<pm-card>Card container that renders the active surface style. - Badge

<pm-badge>Small label for status, counts or categories. - Indicator

<pm-indicator>Count or dot on the corner of an icon, button or avatar: unread notifications, messages, cart items, status. - Avatar

<pm-avatar>Avatar with image + initials fallback. - Alert

<pm-alert>Inline alert / callout. Not a live region by default; setlivefor dynamic messages. - Banner

<pm-banner>Banner: a page-wide announcement bar above the content (maintenance, a new release, a trial ending, cookie notice). - Marquee

<pm-marquee>Marquee: a row of items that scrolls by without end, for customer logos, testimonials or a ticker. - Compare

<pm-compare>Compare: two pictures in one frame with a handle to drag between them, for before and after, old and new. - Typewriter

<pm-typewriter>Typewriter: types a phrase, holds it, deletes it and types the next one, for the changing word in a headline. - Status

<pm-status>Status: a coloured dot with a label, for the state of a service, a person or a job ("Operational", "Away"). - Result

<pm-result>Result: what happened after an action, as a whole block. Payment went through, the import failed, the page - Collapsible

<pm-collapsible>Collapsible: content that opens and closes under a heading, or a long text cut short with "Show more". - CookieConsent

<pm-cookie-consent>Cookie consent: asks the visitor which optional cookies they allow, remembers the answer and tells your code. - Image

<pm-image>Image with a fixed ratio (no layout shift), a placeholder while it loads, a fallback when it fails, and optional - Progress

<pm-progress>Progress bar or ring (variant="circular"); determinate whenvalueis set, indeterminate otherwise. - Spinner

<pm-spinner>Loading spinner (announces as a status). - Skeleton

<pm-skeleton>Loading placeholder. - Icon

<pm-icon>Icon. Renders a registered stroke icon; decorative unlesslabelis set. - Tag

<pm-tag>Tag / chip. Static label, removable token, or toggleable filter chip (selectable). - Kbd

<pm-kbd>Keyboard key or shortcut. - Divider

<pm-divider>Divider (separator), optionally labelled. - AvatarGroup

<pm-avatar-group>Overlapping avatars with an overflow count. - EmptyState

<pm-empty-state>Empty state: what to do when there is nothing to show yet. - Splitter

<pm-splitter>Resizable split view (window splitter pattern). Two panes, a draggable separator with arrow-key support - CodeBlock

<pm-code-block>Code snippet with syntax colours, Wrap and Copy buttons, and optional line numbers. It sits in the page as a well - QrCode

<pm-qr-code>QR code for a link or short text, drawn as SVG without any dependency. - VirtualList

<pm-virtual-list>List for thousands of rows: only the rows in view exist in the page, so scrolling stays fast. - Countdown

<pm-countdown>Countdown to a date and time (a launch, an offer ending, a session expiring). - Chat

<pm-chat>Chat message list for support chat, team messaging and AI assistants. - AiResponse

<pm-ai-response>An AI answer drawn as interface: Markdown and typed components (cards, tables, charts, forms), safe while it streams.
Data 16
- DataTable

<pm-data-table>Advanced data table for business apps: search, filters, sorting, frozen columns, selection, grouping, editing - Table

<pm-table>Basic table: columns and rows in, an accessible table out. - Stat

<pm-stat>Stat / KPI: a labelled number with an optional change indicator. - Timeline

<pm-timeline>Vertical timeline (activity feeds, order history, changelogs). - Chart

<pm-chart>Chart: bar, line, area and donut charts drawn as SVG, with no dependencies. Colours come from the theme's roles, - Sparkline

<pm-sparkline>Sparkline: a small trend chart without axes, for stat cards and table cells. - Meter

<pm-meter>Meter: a measurement within a known range, such as storage used, a score or password strength. For the progress - FormatNumber

<pm-format-number>Formatted number: locale-aware decimal, currency, percent or compact ("1.2K") output, with an optional count-up - Scheduler

<pm-scheduler>Scheduler: a week or day calendar with events on an hourly grid (bookings, shifts, meetings). - DescriptionList

<pm-description-list>Description list: label and value pairs for detail views (an order, a profile, an invoice). - Tree

<pm-tree>Tree view (file browsers, nested navigation). - Carousel

<pm-carousel>Carousel built on native scroll-snap (swipe, trackpad and keyboard scrolling just work). - List

<pm-list>List of rows (settings, inboxes, contacts, search results). Rows have leading media, a heading, a description and - Kanban

<pm-kanban>Kanban board: columns of cards that people move between stages, for a sales pipeline, tasks or hiring. - Sortable

<pm-sortable>List whose rows can be reordered by dragging or with the keyboard. - RelativeTime

<pm-relative-time>Relative time ("5 minutes ago", "in 2 days") that keeps itself up to date. Renders a<time>with the full date
Overlays 8
- Dialog

<pm-dialog>Modal dialog built on native<dialog>(focus containment, inert page, Esc, focus return). - Drawer

<pm-drawer>Side sheet / drawer (a modal dialog anchored to an edge).side="bottom"is a bottom sheet with a grab handle - Popover

<pm-popover>Non-modal popover panel. Trigger with nativepopovertarget="id"on any button. - Menu

<pm-menu>Menu (role="menu") opened from a button withpopovertarget. Arrow keys, Home/End and typeahead. - Toaster

<pm-toaster>Where toasts appear and how many stack. Optional:toast()works without it. - ContextMenu

<pm-context-menu>Context menu: right-click (or long-press, Shift+F10, the Menu key) inside this element opens thepm-menu - Tooltip

<pm-tooltip>Tooltip for a trigger referenced byfor. - Tour

<pm-tour>Product tour: a card that points at one part of the page at a time, with Back, Next and Skip.
Navigation 11
- Menubar

<pm-menubar>Menu bar (role="menubar"): a row of buttons that each open a<pm-menu>, as in desktop applications. - Tabs

<pm-tabs>Tabs that switch between panels of related content, with keyboard support, overflow scrolling and closable tabs. - Accordion

<pm-accordion>Accordion. Withsingle, opening one item closes the others. - Breadcrumb

<pm-breadcrumb>Breadcrumb trail. The last item is the current page. Long trails collapse to first … lastmaxitems. - Pagination

<pm-pagination>Pagination. Givepages, ortotalitems withpage-size. Buttons by default; links withhref-template. - Steps

<pm-steps>Steps (wizard / checkout progress). Steps beforecurrentare complete. - Nav

<pm-nav>App sidebar navigation: a<nav>landmark with labelled groups, icons, badges, collapsible sub-menus and a - App

<pm-app>App shell: navigation, top bar, page and an optional detail pane, laid out for the screen it is on. - AppBar

<pm-app-bar>App bar: the sticky bar above a page, with the menu button, a back button, the page title, search and actions. - PullRefresh

<pm-pull-refresh>Pull down from the top of a list or page to reload it on touch screens, with a spinner while it refreshes. - BackToTop

<pm-back-to-top>Back to top: a floating button that appears after the page has been scrolled and returns to the top