Changelog
The shadcn CLI copies files into your project and doesn't track versions, so updates don't reach you on their own. To see how your copy differs from the latest, run add with --diff. It changes nothing. Re-run without it, plus --overwrite, to replace your files, then reapply any local edits.
pnpm dlx shadcn@latest add @dentil/data-table --diffnpx shadcn@latest add @dentil/data-table --diffyarn dlx shadcn@latest add @dentil/data-table --diffbunx --bun shadcn@latest add @dentil/data-table --diffCurrency input hydration
@dentil/currency-input@dentil/currency-input: withoutcurrencies, the picker readsIntl.supportedValuesOf('currency')only after hydration, so a server render no longer mismatches a browser with a different currency list.
Object header
@dentil/object-header@dentil/object-header:ObjectHeader,ObjectHeaderCopyButtonandObjectHeaderPresence, a record page header row with the object type, stacked avatars for the people viewing the record, and copy buttons for the page URL and the object ID.
Dashboard layout
@dentil/dashboard-layout@dentil/dashboard-layout:DashboardContainer,DashboardHeader,DashboardHeading,DashboardSubheading,DashboardGrid,DashboardSplit,DashboardSplitMain,DashboardSplitSidebar,DashboardSection,DashboardSectionHeader,DashboardSectionContent,DashboardSectionTitleandDashboardTableHeader, page layout blocks that let bordered children such as tables and sidebars share a 1px edge.
Charts
@dentil/charts@dentil/charts:LineChart, a metric over time with a headline, a period-over-period change badge, any number of lines and previous-period comparisons, and a "View more" footer. Lines stop at the last bucket that has started.@dentil/charts:CategoryBarChart, a total split into categories with a stacked share bar and a row per category that can link elsewhere.@dentil/charts:Chart,ChartHeader,ChartContentandChartFooterfor composing your own Recharts plot, plusgetPercentChange,formatChartDate,maskFutureanduseInViewFetch, which fetches once a chart scrolls into view.
Data table cell alignment
@dentil/data-table- Breaking:
@dentil/data-table: cell content is vertically centered within the cell's 40px minimum height. Set columnmeta.itemAlignto'start'to keep it top-aligned.
- Breaking:
Badge
@dentil/badge@dentil/badge:Badge, a status label with theme variants (default,secondary,outline,destructive), fixed color variants fromredtozinc, and asmsize.asChildrenders it as a link. The first letter is capitalized.
Address region select type size
@dentil/address-input@dentil/address-input: the country and region selects match the text fields, attext-baseon small screens andtext-smfrommd.
Data table bottom border
@dentil/data-table- Breaking:
@dentil/data-table: a table with no pagination or "Show more" footer no longer draws a line under the last row. PassshowBottomBorderto draw it.
- Breaking:
Invoice table proration and plan changes
@dentil/invoice-table@dentil/invoice-table:InvoiceLine.prorationshows a prorated line as "17 of 31 days of $20.00" after its period, so it no longer has to borrow the struck-throughoriginalAmount, which now documents discounts.@dentil/invoice-table:linesalso takes anInvoiceLineGroup, a heading row with an optional netamountand its lines indented under it, for the credit and charge of a plan upgrade or downgrade.isInvoiceLineGrouptells groups from lines.@dentil/invoice-table: the muted line under a description is nowdata-slot="invoice-table-detail", with the period inside it asinvoice-table-periodand the proration asinvoice-table-proration.@dentil/invoice-table:formatInvoicePeriodwrites regular spaces around the dash, fixing a hydration mismatch where Node put thin spaces and the browser didn’t.
JSON Viewer
@dentil/json-viewer@dentil/json-viewer:JsonViewer, a collapsible JSON tree withdefaultExpandDepth,getHrefandlinkComponentto link object IDs, and timestamps that show their date in atimezoneand UTC on hover.
Description list
@dentil/description-list@dentil/description-list:Descriptions, term and detail pairs in one or two columns built from an array, with links through yourlinkComponent, copy buttons, a "Show more" section and a vertical layout. TheDescriptionList,DescriptionTerm,DescriptionDetails,DescriptionListColumnsandDescriptionCopyButtonprimitives are exported for custom layouts.
Link
@dentil/link@dentil/link:Link, a text link with a chevron that turns into an arrow on hover, anexternalvariant that opens a new tab, and alinkComponentprop fornext/linkor your router.
Install into components/dentil
@dentil/*- Breaking: every item now installs into
components/dentil/<item>/instead ofcomponents/<item>/, so imports become@/components/dentil/<item>/…. Existing installs keep working where they are. Re-adding an item writes a fresh copy to the new folder, so move any edits (such as yourmodals/registry.tsxandsheets/registry.tsxentries) across and delete the old folder.
- Breaking: every item now installs into
Column alignment
@dentil/data-table@dentil/data-table: columnmeta.verticalAlign('top' | 'middle' | 'bottom') sets where cells sit when the row is taller than them. The default is'middle', as before.@dentil/data-table: columnmeta.alignalso takes'center'.
Data table without a toolbar
@dentil/data-table@dentil/data-table: with notoolbar,toolbarActions,showDisplayortabs, the table no longer draws a border above its header.
Date hover on Base UI
@dentil/date@dentil/date:hovernow opens aHoverCardinstead of aPopover, so it builds on Base UI styles and hovering never moves focus. Now depends onhover-card.
Currency picker
@dentil/currency-input@dentil/select-search@dentil/currency-input:onCurrencyChangeturns the currency code into a picker, andcurrencieslimits its list.searchableopens it as aSelectSearchpopover filtered by code or name. Switching to a currency with different decimal places keeps the amount on screen and emits it in the new minor units. Now depends onlucide-reactand@dentil/select-search.@dentil/select-search: an optioniconcan be a component, such as a Lucide icon, or any React node. It is shown before the label in the list and on the trigger.@dentil/select-search: options take adescription, shown muted in the list and matched by search.renderValuereplaces the trigger content, andalignandcontentClassNameposition and size the popover.@dentil/currency-input: in the searchable list, each currency code sits in a fixed-width column so the names line up.
Date popover hover and placement
@dentil/date@dentil/date:hoveropens the time-zone popover on hover and keeps it open while the pointer is over the popover.sideandalignset where it opens.
Date
@dentil/date@dentil/date:Date, a compact date formatted in a time zone you supply, from unix seconds, milliseconds, an ISO string or aDate.showTimezoneunderlines the date and opens a popover with that zone and the UTC time.formatDateandtoDateparse the same values.
Invoice table
@dentil/invoice-table@dentil/invoice-table:InvoiceTable, an invoice line items table with optional quantity, unit price and tax columns, a totals footer, and an optional per-line allocation column for credit notes and part payments.
Async select
@dentil/async-select@dentil/async-select:AsyncSelect, a searchable combobox that loads options from an async fetcher, with debounced search, preloading and custom option rendering.
Object timeline
@dentil/object-timeline@dentil/object-timeline:ObjectTimeline, a vertical event list with an icon, title, description, date and an optional action on the title.
Color picker
@dentil/color-picker@dentil/color-picker:ColorPicker, a hex color input that reads and writes a 6-digit hex, with a swatch that opens a saturation and hue picker. With no valid hex, the picker opens on a random color.
Switch label
@dentil/switch-label@dentil/switch-label:SwitchLabel, a switch with a clickable label and an optional description aligned to the control or the label text.
Preferred countries and flags
@dentil/country-select@dentil/select-search@dentil/country-select:preferredCountrieslists those ISO codes first, ahead of the alphabetical list.@dentil/country-select:showFlagsdraws a flag beside each country, in the list and on the trigger.@dentil/select-search:groupsrenders options in groups with a separator between them. The separator hides while searching.@dentil/select-search: an optioniconis shown before the label.
Date picker and form inputs
@dentil/date-picker@dentil/select-search@dentil/country-select@dentil/address-input@dentil/phone-input@dentil/currency-input@dentil/dob-input@dentil/date-picker:DatePicker,SingleDatePickerandDateRangePicker, with range presets, date shortcuts, billing cycles, min and max dates, an Apply step, andDateor unix timestamp values.@dentil/select-search:SelectSearch, a searchable single-select combobox.@dentil/country-select:CountrySelect, with ISO 3166-1 codes and names fromIntl.DisplayNames.@dentil/address-input:AddressInput, with state lists for the US, Canada and Australia and aregionsprop for any other country.@dentil/phone-input:PhoneInput, which returns E.164 numbers.@dentil/currency-input:CurrencyInput, which reads and writes minor units.@dentil/dob-input:DOBInput, which only emits real dates.
Initial release
@dentil/data-table@dentil/data-table-filter@dentil/data-table-url-state@dentil/modals@dentil/sheets@dentil/data-table:DataTablewith row links, server-side sorting, offset or cursor pagination, tabs, column visibility, context menus, split view, expandable rows and cross-page selection.@dentil/data-table-filter: Linear-style filter bar adapted from bazza/ui. Ships its MIT license ascomponents/data-table/filter/LICENSE.md.@dentil/data-table-url-state:useTableQueryState, which syncs the table query to the URL.@dentil/modals: promise-based modal registry with lazy-loaded contents and stacking.@dentil/sheets: the same registry for side sheets, plus minimize-to-dock and draft retention.- Every item works with Radix styles (
new-york,radix-*) and Base UI styles (base-*).