Components
Each page covers one registry item: how to install it, live examples you can copy, and its API reference. Install only the items you need with the shadcn CLI.
Components
Badge
Small status label with theme-aware default, secondary, outline and destructive variants, fixed color variants from red to zinc, and a compact size.
@dentil/badgeCharts
Dashboard metric charts on Recharts: a headline with a period-over-period change badge, line charts with previous-period comparisons that stop at today, a category share bar, and a hook that fetches when a chart scrolls into view.
@dentil/chartsData Table
Server-driven TanStack table with row links, sorting, pagination, tabs, filters, context menus, split view, expandable rows and cross-page selection.
@dentil/data-table@dentil/data-table-filter@dentil/data-table-url-stateDate
Compact date formatted in a time zone you supply. Accepts unix seconds, milliseconds, ISO strings or Date, and can underline the date to open that zone beside UTC.
@dentil/dateDate Picker
Single-date and range picker with range presets, date shortcuts, billing cycles, min and max dates, an Apply step, and Date or unix timestamp values.
@dentil/date-pickerDescription List
Term and detail pairs in one or two columns, built from an array or composed by hand, with links, copy buttons, a "Show more" section and a vertical layout for narrow panels.
@dentil/description-listInvoice Table
Invoice line items table with optional quantity, unit price and tax columns, prorated lines, grouped plan changes, a totals footer, and an optional per-line allocation column for credit notes and part payments.
@dentil/invoice-tableJSON Viewer
Collapsible JSON tree in your theme tokens, with object IDs rendered as links and the date behind unix timestamps on hover.
@dentil/json-viewerLink
Text link with a chevron that turns into an arrow on hover, an external variant that opens a new tab, and a linkComponent prop for your router.
@dentil/linkModals
Promise-based modal registry. await openModal(key, props) for a typed result, with lazy-loaded contents and stacking.
@dentil/modalsObject Timeline
Vertical event list with an icon, title, description, date and an optional action on the title.
@dentil/object-timelineSheets
Promise-based side sheets with the same typed registry, plus stacking, minimize-to-dock and draft retention.
@dentil/sheetsForm inputs
Address Input
Postal address fields that start from a country, with state lists for the US, Canada and Australia and your own lists for any other country.
@dentil/address-inputAsync Select
Searchable single-select combobox that loads options from an async fetcher, with debounced search, preloading and custom option rendering.
@dentil/async-selectColor Picker
Hex color input that reads and writes a 6-digit hex, with a swatch that opens a saturation and hue picker.
@dentil/color-pickerCountry Select
Searchable country picker with ISO 3166-1 codes, localized names from Intl.DisplayNames, preferred countries listed first, and optional flags.
@dentil/country-selectCurrency Input
Money input that reads and writes minor units, with the currency symbol and decimal places taken from Intl and an optional searchable currency picker.
@dentil/currency-inputDate of Birth Input
DD / MM / YYYY date of birth fields that auto-advance and only emit real dates.
@dentil/dob-inputPhone Input
International phone number input with a flag country picker that returns E.164 numbers.
@dentil/phone-inputSelect Search
Searchable single-select combobox built on Popover and Command.
@dentil/select-searchSwitch Label
Labeled switch with an optional description aligned to the control or the label text.
@dentil/switch-label