m-cn-svelte registry
shadcn-svelte components on Bits UI, style mira, icons lucide.
Components
Copy Button A button that copies text to the clipboard and shows a check for a moment.Icon Tile A small bordered square that frames an icon, for row labels and lists.Data Grid Kit The shared parts of a data grid block: panel and table viewport, a search box, a row expand toggle, an expand-all split button with a jump-to-depth menu and a density select, plus helpers for cell padding, the expanded-row class, a TanStack Table default and the search-pins-rows-open rule. Bring your own table and columns.Status Badge A badge with four status tones: ok, warn, crit and idle. Adds the matching colour tokens (light and dark) to your stylesheet.Star Rating Star rating input on Bits UI's RatingGroup, with half stars, readonly and disabled states. From shadcn-svelte-extras (MIT, Aidan Bleser).Compound Tag Key-value tag in two segments. Intents, minimal, two sizes, round, fill, icons, a remove button and an interactive mode.Delta Pill A change pill: a trend icon and the move from a prior figure, green or red by direction. Percent figures read in points, the rest as a relative %. Optional hover with both windows and the change. Exports its delta and number-format helpers.Indicator A count or dot pinned to the corner of an icon, button or avatar. Counts above a maximum show as 99+.Side Panel A panel docked to the right of the page on wide screens that becomes a sheet on narrow ones. Title, header actions, close button and a scrolling body.
Composites
BOM Tree Grid Bill-of-materials data grid with multi-level tree rows. Cost, lead time and supply risk roll up from leaf parts; toolbar has search, depth buttons, supply filter and display options. Ships with a demo data file you can delete.Treasury Waterfall Grid Monthly cash waterfall data grid with Actuals, Plan and Variance tabs. Closing cash, operating movement, group totals, attainment rings and variance badges all derive from per-line monthly plan and actual inputs. Search, expand all, a line-group filter, a density setting and a month-range stepper drive it. Ships with a demo data file you can delete.Scope Switcher Header chip that sets which projects the app shows. Opens a two-pane popover: pick all items or a group on the left, tick items in a searchable list on the right. Empty selection means everything. Ships with a demo data file you can delete.Feature Menu Breadcrumb mega-menu: search, a modules column, screen cards with icon and description, and a pinned column with pin and unpin. Works in any Svelte app: pass an href builder or an onNavigate callback. Ships with a demo data file you can delete.Command Palette Cmd/Ctrl+K command dialog over modules, screens and an actions group. Registers its own shortcut and removes it on destroy. Ships with a demo data file you can delete.App Header Top bar that composes the scope switcher, a module breadcrumb with the feature menu, a command palette trigger and a user menu. Snippets for the brand, extra buttons and extra user menu items. Ships with a demo data file you can delete.Metric Ledger A KPI table with a row per metric and a column per entity (org, region, product). Each cell shows its value with an optional SVG sparkline, a change pill against a prior figure and a note. Optional section bands, label hover notes and a per-row actions snippet. Ships with a demo data file you can delete.Matrix Grid A grouped figures grid. Rows roll up under the dimensions you pick, figure columns sit under header bands, and group totals sum money and divide sums for rates. Column and group pickers, sort, per-column ranges, an advanced filter, search, row and column hover, a pinned label column, sticky header and total row, CSV export, paged or virtual scrolling rows, resizable columns that can fit the width, row checkboxes with a selection bar, and a pinned row menu. Ships with a demo data file you can delete.