Detent component library
136 native components, documented live
Standards-based custom elements with real keyboard, form and focus behaviour. Open any component, use it on the page, then copy the code that produced it.
Working components
A sample of the catalog. Every preview is the real element, not a screenshot.
-
Bar Chart
Grouped and stacked bars with a filterable legend
-
Button
Primary, secondary, outline, ghost and destructive actions
-
Chat
Conversation history, composer and message states
-
Morphing Dialog
A card that expands into a dialog
-
Stat Card
A KPI, its change and a sparkline in one tile
-
Data Table
Sortable table with filters and expandable rows
-
Theme Switcher
Light, dark or system, remembered