Production dashboard primitives for shadcn/ui.
Data tables, modals, sheets, date pickers and form inputs you install with the shadcn CLI and own outright. They build on stock shadcn/ui primitives, so they pick up your theme and work in any React framework.
Get started
Set up with your AI
Give your coding agent the dentil skill, then ask it to add a data table, modals, sheets or form inputs. Paste it into the chat, or save it as .cursor/skills/dentil/SKILL.md or .claude/skills/dentil/SKILL.md so the agent uses it whenever dentil comes up. Agents can also read it from https://dentil.dev/skill.md.
Set up manually
Install a component
dentil is in the shadcn registry directory, so the CLI resolves
@dentilnames with no setup and adds any stock shadcn/ui components they need. Requires React 19 and Tailwind v4, with a Radix or Base UI style.pnpm dlx shadcn@latest add @dentil/data-tablenpx shadcn@latest add @dentil/data-tableyarn dlx shadcn@latest add @dentil/data-tablebunx --bun shadcn@latest add @dentil/data-tablepnpm dlx shadcn@latest add https://dentil.dev/r/data-table.jsonnpx shadcn@latest add https://dentil.dev/r/data-table.jsonyarn dlx shadcn@latest add https://dentil.dev/r/data-table.jsonbunx --bun shadcn@latest add https://dentil.dev/r/data-table.jsonRead the docs
Each component has a page with setup steps, live examples and an API reference.
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