dentil

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.

or

Set up manually

  1. Install a component

    dentil is in the shadcn registry directory, so the CLI resolves @dentil names 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-table
    npx shadcn@latest add @dentil/data-table
    yarn dlx shadcn@latest add @dentil/data-table
    bunx --bun shadcn@latest add @dentil/data-table
    pnpm dlx shadcn@latest add https://dentil.dev/r/data-table.json
    npx shadcn@latest add https://dentil.dev/r/data-table.json
    yarn dlx shadcn@latest add https://dentil.dev/r/data-table.json
    bunx --bun shadcn@latest add https://dentil.dev/r/data-table.json
  2. Read 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/badge

Charts

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/charts

Data 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-state

Date

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/date

Date 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-picker

Description 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-list

Invoice 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-table

JSON Viewer

Collapsible JSON tree in your theme tokens, with object IDs rendered as links and the date behind unix timestamps on hover.

@dentil/json-viewer

Link

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/link

Modals

Promise-based modal registry. await openModal(key, props) for a typed result, with lazy-loaded contents and stacking.

@dentil/modals

Object Timeline

Vertical event list with an icon, title, description, date and an optional action on the title.

@dentil/object-timeline

Sheets

Promise-based side sheets with the same typed registry, plus stacking, minimize-to-dock and draft retention.

@dentil/sheets

Form inputs