# Thrum > Animated React UI components, charts, meters, live feeds and 8 dashboards, paired with 1,067 MIT stroke icons, tunable Solid and Frosted glass, optional synthesised sound, and a first-party MCP server at https://thrumui.dev/api/mcp. 168 components (82 free under the MIT licence, 86 Pro). They install as source files into a shadcn/ui project (React 19, Tailwind CSS v4) with the shadcn CLI. ## Install rules - Prefer the MCP server at `https://thrumui.dev/api/mcp` (tools: `list_components`, `search_components`, `get_component`, `get_install_command`, `search_icons`, `get_theme_guide`) or fetch individual `/components/.md` pages on demand. - Free components install by URL with no account and no configuration: `npx shadcn@latest add https://thrumui.dev/r/.json` (for example `npx shadcn@latest add https://thrumui.dev/r/calendar.json`). - Pro components install as `npx shadcn@latest add @thrum-pro/`. The project needs THRUM_LICENSE_KEY in .env.local and the registries block below in components.json. Steps: https://thrumui.dev/docs/pro - Files land in components/ui/ (components), components/ (blocks), components/icons/ (icons) and lib/ (shared foundations). Import a component from `@/components/ui/` and a block from `@/components/`. - Do not rewrite the installed files. Do not hard-code colours: components read the project's shadcn theme variables. Set sizes with className. - Data components take plain data as props (UI primitives use composable JSX parts). Number formatting is `format` (Intl.NumberFormatOptions) plus `locale`, never a function. A missing value is null. - Every chart and graphic needs a `label` prop that says what it measures. Keep it. - Sound is off until the visitor turns it on. Never turn it on for them. Pass `sound={false}` to keep one component silent. - Never print, log or commit the licence key. ```json { "registries": { "@thrum": "https://thrumui.dev/r/{name}.json", "@thrum-pro": { "url": "https://thrumui.dev/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${THRUM_LICENSE_KEY}" } } } } ``` --- ## Calendar (`calendar`) Free · Inputs · v1.0.0 A month grid for picking one day, several days or a range of days, always on screen. To pick a date inside a form field use the date picker, which opens this grid from a field; for a range with presets use the date range picker; for a strip of one week use the mini calendar. ```bash npx shadcn@latest add https://thrumui.dev/r/calendar.json ``` Import: `@/components/ui/calendar` Props (`*required`): `mode`, `value`, `defaultValue`, `onValueChange`, `month`, `defaultMonth`, `onMonthChange`, `numberOfMonths`, `min`, `max`, `disabledDays`, `disabled`, `maxDays`, `weekStartsOn`, `locale`, `showOutsideDays`, `captionLayout`, `today`, `sound`, `surface`, `className` Full docs & usage: https://thrumui.dev/components/calendar.md (or MCP `get_component` for `calendar`). --- ## Checkbox (`checkbox`) Free · Inputs · v1.0.0 A tick box for a choice that waits for a Save button, or for one of several options that can all be on. It has a third, indeterminate state for a box that stands for a partly ticked set. For a setting that applies at once use the switch; for a set with a select-all box use the checkbox group. ```bash npx shadcn@latest add https://thrumui.dev/r/checkbox.json ``` Import: `@/components/ui/checkbox` Props (`*required`): `checked`, `defaultChecked`, `onCheckedChange`, `indeterminate`, `size`, `disabled`, `readOnly`, `required`, `name`, `value`, `uncheckedValue`, `parent`, `aria-invalid`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/checkbox.md (or MCP `get_component` for `checkbox`). --- ## Checkbox group (`checkbox-group`) Free · Inputs · v1.0.0 A named set of checkboxes that share one value, the list of ticked options. A select-all box ticks and clears them together and shows a dash while only some are ticked. For one choice out of the set use the radio group; for options that need a description each, use choice cards. ```bash npx shadcn@latest add https://thrumui.dev/r/checkbox-group.json ``` Import: `@/components/ui/checkbox-group` Props (`*required`): `CheckboxGroup: value`, `CheckboxGroup: defaultValue`, `CheckboxGroup: onValueChange`, `CheckboxGroup: allValues`, `CheckboxGroup: disabled`, `CheckboxGroup: orientation`, `CheckboxGroup: className`, `CheckboxGroupLabel`, `CheckboxGroupItem: value`, `CheckboxGroupItem: parent`, `CheckboxGroupItem: disabled`, `CheckboxGroupItem: size`, `CheckboxGroupItem: sound`, `CheckboxGroupItem: children`, `CheckboxGroupItem: ...props` Full docs & usage: https://thrumui.dev/components/checkbox-group.md (or MCP `get_component` for `checkbox-group`). --- ## Choice card (`choice-card`) Pro · Inputs · v1.0.0 A few options that each need a title, a sentence and perhaps a price: plans, add-ons, delivery methods. Each card is a real radio button or checkbox with the whole card as its target. For options that fit in a word or two use the radio group or the checkbox group. ```bash npx shadcn@latest add @thrum-pro/choice-card ``` Import: `@/components/ui/choice-card` Props (`*required`): `ChoiceCardGroup: type`, `ChoiceCardGroup: value`, `ChoiceCardGroup: defaultValue`, `ChoiceCardGroup: onValueChange`, `ChoiceCardGroup: name`, `ChoiceCardGroup: disabled`, `ChoiceCardGroup: sound`, `ChoiceCardGroup: className`, `ChoiceCard: value*`, `ChoiceCard: disabled`, `ChoiceCard: className`, `ChoiceCardTitle`, `ChoiceCardDescription`, `ChoiceCardMeta` Full docs & usage: https://thrumui.dev/components/choice-card.md (or MCP `get_component` for `choice-card`). --- ## Color picker (`color-picker`) Pro · Inputs · v1.0.0 A button that shows a colour and opens a picker with saturation/brightness, hue and opacity sliders, hex/RGB/HSL input, and swatches. Use ColorPickerPanel directly for sidebars or settings. ```bash npx shadcn@latest add @thrum-pro/color-picker ``` Import: `@/components/ui/color-picker` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `alpha`, `swatches`, `defaultFormat`, `disabled`, `ColorPicker: aria-label`, `ColorPicker: name`, `ColorPicker: side`, `ColorPicker: align`, `ColorPicker: sound`, `ColorPicker: triggerClassName`, `ColorPickerPanel: surface`, `className` Full docs & usage: https://thrumui.dev/components/color-picker.md (or MCP `get_component` for `color-picker`). --- ## Combobox (`combobox`) Free · Inputs · v1.0.0 A text field that filters a list and holds one option. Pick it for long lists, for options fetched as the reader types, and for lists the reader may add to. A short fixed list reads better in a select; free text with no list is a plain input. ```bash npx shadcn@latest add https://thrumui.dev/r/combobox.json ``` Import: `@/components/ui/combobox` Props (`*required`): `Combobox: items`, `Combobox: value`, `Combobox: defaultValue`, `Combobox: onValueChange`, `Combobox: onInputValueChange`, `Combobox: filter`, `Combobox: loading`, `Combobox: loadingLabel`, `Combobox: allowCreate`, `Combobox: onCreate`, `Combobox: disabled`, `Combobox: name`, `Combobox: sound`, `ComboboxInput: size`, `ComboboxInput: showClear`, `ComboboxInput: clearLabel`, `ComboboxInput: showTrigger`, `ComboboxInput: className`, `ComboboxContent`, `ComboboxList`, `ComboboxItem: value*`, `ComboboxItem: disabled`, `ComboboxGroup: items`, `ComboboxLabel, ComboboxCollection, ComboboxSeparator`, `ComboboxEmpty: children` Full docs & usage: https://thrumui.dev/components/combobox.md (or MCP `get_component` for `combobox`). --- ## Countdown (`countdown`) Pro · Inputs · v1.0.0 Counts down to a moment, or for a number of seconds, in days, hours, minutes and seconds, with digits that roll to each new value. Use it for a sale, a launch or a session that ends. For a number that changes with data use the animated number. ```bash npx shadcn@latest add @thrum-pro/countdown ``` Import: `@/components/ui/countdown` Props (`*required`): `target`, `duration`, `now`, `paused`, `format`, `days`, `locale`, `onComplete`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/countdown.md (or MCP `get_component` for `countdown`). --- ## Date input (`date-input`) Free · Inputs · v1.0.0 A date typed in segments, day, month and year, in the order the locale writes them. Use it when people know the date and type faster than they pick: a birth date, an invoice date. To also pick from a month grid use the date picker. ```bash npx shadcn@latest add https://thrumui.dev/r/date-input.json ``` Import: `@/components/ui/date-input` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `min`, `max`, `locale`, `name`, `size`, `disabled`, `readOnly`, `required`, `invalid`, `sound`, `className`, `dateError(date, min, max)` Full docs & usage: https://thrumui.dev/components/date-input.md (or MCP `get_component` for `date-input`). --- ## Date picker (`date-picker`) Free · Inputs · v1.0.0 A date field with a calendar in a popover: type the date, or open the calendar and pick it. Both set the same value. For a range of days use the date range picker; for a field with no calendar use the date input. ```bash npx shadcn@latest add https://thrumui.dev/r/date-picker.json ``` Import: `@/components/ui/date-picker` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `min`, `max`, `disabledDays`, `weekStartsOn`, `locale`, `today`, `presets`, `clearable`, `captionLayout`, `name`, `size`, `disabled`, `required`, `invalid`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/date-picker.md (or MCP `get_component` for `date-picker`). --- ## Date range picker (`date-range-picker`) Free · Inputs · v1.0.0 Two date fields, start and end, with a range calendar and a list of presets in a popover. Use it to set the period of a report or an export. For one date use the date picker; for a range that is always on screen use the calendar in range mode. ```bash npx shadcn@latest add https://thrumui.dev/r/date-range-picker.json ``` Import: `@/components/ui/date-range-picker` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `min`, `max`, `maxDays`, `disabledDays`, `weekStartsOn`, `locale`, `today`, `presets`, `confirm`, `startName`, `endName`, `size`, `disabled`, `sound`, `className`, `presetRange(preset, today)` Full docs & usage: https://thrumui.dev/components/date-range-picker.md (or MCP `get_component` for `date-range-picker`). --- ## Field (`field`) Free · Inputs · v1.0.0 One control with its label, its description and its error message, linked to each other so screen readers read them together. It checks the value on submit, on blur or on change. Use it for every control in a form; a bare input with a label is enough for a filter or a search box. ```bash npx shadcn@latest add https://thrumui.dev/r/field.json ``` Import: `@/components/ui/field` Props (`*required`): `Field: name`, `Field: validate`, `Field: validationMode`, `Field: validationDebounceTime`, `Field: invalid`, `Field: disabled`, `Field: className`, `FieldLabel: required`, `FieldControl`, `FieldControl: render`, `FieldControl: onValueChange`, `FieldDescription`, `FieldError: match`, `FieldError: children` Full docs & usage: https://thrumui.dev/components/field.md (or MCP `get_component` for `field`). --- ## Fieldset (`fieldset`) Free · Inputs · v1.0.0 A group of fields that belong together under one name: an address, a contact, a set of options. It is the native fieldset, so screen readers announce the name when the focus enters the group, and one attribute disables everything inside. For a single control use the field. ```bash npx shadcn@latest add https://thrumui.dev/r/fieldset.json ``` Import: `@/components/ui/fieldset` Props (`*required`): `Fieldset: disabled`, `Fieldset: className`, `Fieldset: ...props`, `FieldsetLegend`, `FieldsetDescription` Full docs & usage: https://thrumui.dev/components/fieldset.md (or MCP `get_component` for `fieldset`). --- ## File upload (`file-upload`) Pro · Inputs · v1.0.0 A drop area around a real file input, with the list of chosen files and their progress. It checks type, size and count and says why a file was turned away; the upload itself is yours, and the list shows the state you pass. For a single small file in a form, a plain file input is enough. ```bash npx shadcn@latest add @thrum-pro/file-upload ``` Import: `@/components/ui/file-upload` Props (`*required`): `files`, `onFilesAdd`, `onFilesReject`, `onRemove`, `onRetry`, `accept`, `multiple`, `maxSize`, `maxFiles`, `title`, `hint`, `disabled`, `id`, `name`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/file-upload.md (or MCP `get_component` for `file-upload`). --- ## Form (`form`) Free · Inputs · v1.0.0 A form that validates by field name, renders inline errors beside each field, and focuses a summary listing every issue. ```bash npx shadcn@latest add https://thrumui.dev/r/form.json ``` Import: `@/components/ui/form` Props (`*required`): `Form: errors`, `Form: onFormSubmit`, `Form: onSubmit`, `Form: validationMode`, `Form: actionsRef`, `Form: sound`, `Form: className`, `Form: ...props`, `FormSummary: title`, `FormSummary: className` Full docs & usage: https://thrumui.dev/components/form.md (or MCP `get_component` for `form`). --- ## Inline edit (`inline-edit`) Pro · Inputs · v1.0.0 Text that turns into a field when it is pressed: a title, a name, a short note, edited where it is read. Use it where values are mostly read and sometimes changed. For a form that is filled in from the start, use plain inputs. ```bash npx shadcn@latest add @thrum-pro/inline-edit ``` Import: `@/components/ui/inline-edit` Props (`*required`): `aria-label*`, `value`, `defaultValue`, `onSave`, `onCancel`, `onEditingChange`, `placeholder`, `multiline`, `blurAction`, `showButtons`, `required`, `maxLength`, `size`, `disabled`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/inline-edit.md (or MCP `get_component` for `inline-edit`). --- ## Input (`input`) Free · Inputs · v1.0.0 A one-line text field: a name, an address, a number. It is the native input with the theme's border, focus ring and error state. For several lines use the textarea; for a fixed list of answers use the select. ```bash npx shadcn@latest add https://thrumui.dev/r/input.json ``` Import: `@/components/ui/input` Props (`*required`): `type`, `aria-invalid`, `disabled`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/input.md (or MCP `get_component` for `input`). --- ## Input group (`input-group`) Free · Inputs · v1.0.0 An input with what belongs to it inside the same border: a unit or a prefix, an icon, a button that clears or copies. The group draws the border and the focus ring, so the parts read as one field. For a plain field use the input. ```bash npx shadcn@latest add https://thrumui.dev/r/input-group.json ``` Import: `@/components/ui/input-group` Props (`*required`): `InputGroup: size`, `InputGroup: className`, `InputGroupAddon`, `InputGroupInput`, `InputGroupButton`, `className` Full docs & usage: https://thrumui.dev/components/input-group.md (or MCP `get_component` for `input-group`). --- ## Input OTP (`input-otp`) Free · Inputs · v1.0.0 A field for a short code sent by email, text message or an authenticator app. It draws one box per character, but it is one real input underneath, so a pasted code, the code a phone suggests and a password manager fill it in one go. For any other short text use the input. ```bash npx shadcn@latest add https://thrumui.dev/r/input-otp.json ``` Import: `@/components/ui/input-otp` Props (`*required`): `InputOTP: maxLength`, `InputOTP: value`, `InputOTP: defaultValue`, `InputOTP: onValueChange`, `InputOTP: onComplete`, `InputOTP: type`, `InputOTP: size`, `InputOTP: autoComplete`, `InputOTP: disabled`, `InputOTP: aria-invalid`, `InputOTP: sound`, `InputOTP: className`, `InputOTP: ...props`, `InputOTPGroup`, `InputOTPSlot: index*`, `InputOTPSeparator` Full docs & usage: https://thrumui.dev/components/input-otp.md (or MCP `get_component` for `input-otp`). --- ## Label (`label`) Free · Inputs · v1.0.0 The caption of one control. It is the native label, so a press on it moves the focus to the control and screen readers read it as the control's name. Inside a field use FieldLabel; over a whole group use the fieldset's legend. ```bash npx shadcn@latest add https://thrumui.dev/r/label.json ``` Import: `@/components/ui/label` Props (`*required`): `htmlFor`, `required`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/label.md (or MCP `get_component` for `label`). --- ## Mask input (`mask-input`) Pro · Inputs · v1.0.0 A text field that formats what is typed against a fixed pattern: a phone number, a date, a product key. The pattern's own characters appear by themselves and the caret stays put when the middle is edited. For a value with no fixed shape use the input; for a date with a calendar use a date picker. ```bash npx shadcn@latest add @thrum-pro/mask-input ``` Import: `@/components/ui/mask-input` Props (`*required`): `mask*`, `value`, `defaultValue`, `onValueChange`, `type`, `inputMode`, `placeholder`, `sound`, `className`, `...props`, `maskValue()` Full docs & usage: https://thrumui.dev/components/mask-input.md (or MCP `get_component` for `mask-input`). --- ## Mini calendar (`mini-calendar`) Pro · Inputs · v1.0.0 One week as a strip of day buttons, with the month above and buttons for the week before and after. Put it above a day's agenda or a booking list, where one day at a time is the job. For a whole month use the calendar. ```bash npx shadcn@latest add @thrum-pro/mini-calendar ``` Import: `@/components/ui/mini-calendar` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `min`, `max`, `weekStartsOn`, `locale`, `today`, `disabled`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/mini-calendar.md (or MCP `get_component` for `mini-calendar`). --- ## Multi select (`multi-select`) Pro · Inputs · v1.0.0 A field that holds several options from a known list, shown as chips: alert channels, regions, teams. Type to filter and keep picking; the list stays open. For free text that is not in a list use the tags input; for a few options always on view, a checkbox group. ```bash npx shadcn@latest add @thrum-pro/multi-select ``` Import: `@/components/ui/multi-select` Props (`*required`): `options*`, `value`, `defaultValue`, `onValueChange`, `placeholder`, `maxVisible`, `selectAll`, `emptyLabel`, `size`, `disabled`, `name`, `id`, `aria-label`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/multi-select.md (or MCP `get_component` for `multi-select`). --- ## Native select (`native-select`) Free · Inputs · v1.0.0 The browser's own select, styled to match the other fields. The platform draws the list: a wheel or sheet on a phone, a plain menu on a desktop. Use it in dense forms and where most visitors are on phones. For a list styled like the rest of the page, with a tick on the selected option, use the select. ```bash npx shadcn@latest add https://thrumui.dev/r/native-select.json ``` Import: `@/components/ui/native-select` Props (`*required`): `NativeSelect: size`, `NativeSelect: value`, `NativeSelect: defaultValue`, `NativeSelect: onChange`, `NativeSelect: disabled`, `NativeSelect: aria-invalid`, `NativeSelect: sound`, `NativeSelect: className`, `NativeSelect: ...props`, `NativeSelectOption: value`, `NativeSelectOption: disabled`, `NativeSelectOptGroup: label` Full docs & usage: https://thrumui.dev/components/native-select.md (or MCP `get_component` for `native-select`). --- ## Number input (`number-input`) Free · Inputs · v1.0.0 A field for one number that people nudge as often as they type: seats, a budget, a threshold. Minus and plus buttons step it, limits hold it in range, and Intl options print it as a currency, a percentage or a unit. For a code or an id use the input. ```bash npx shadcn@latest add https://thrumui.dev/r/number-input.json ``` Import: `@/components/ui/number-input` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `onValueCommitted`, `min`, `max`, `step`, `smallStep`, `largeStep`, `snapOnStep`, `allowOutOfRange`, `allowWheelScrub`, `format`, `locale`, `size`, `placeholder`, `id`, `name`, `disabled`, `readOnly`, `required`, `aria-invalid`, `incrementLabel`, `decrementLabel`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/number-input.md (or MCP `get_component` for `number-input`). --- ## Password input (`password-input`) Free · Inputs · v1.0.0 A password field with a button that shows and hides what was typed. It can add a strength meter for a new password and it says when Caps Lock is on. For a one-time code use an OTP input; for any other secret that needs no reveal, an input of type password is enough. ```bash npx shadcn@latest add https://thrumui.dev/r/password-input.json ``` Import: `@/components/ui/password-input` Props (`*required`): `strength`, `visible`, `defaultVisible`, `onVisibleChange`, `capsLockNotice`, `size`, `autoComplete`, `disabled`, `sound`, `className`, `...props`, `passwordStrength()` Full docs & usage: https://thrumui.dev/components/password-input.md (or MCP `get_component` for `password-input`). --- ## Prompt input (`prompt-input`) Pro · Inputs · v1.0.0 A message box for an assistant or a chat: text that grows with its lines, attachments above it, a toolbar and a send button below. While a reply streams the send button becomes a stop button. For a plain multi-line field, use the textarea. ```bash npx shadcn@latest add @thrum-pro/prompt-input ``` Import: `@/components/ui/prompt-input` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `onSend`, `onStop`, `status`, `error`, `enterToSend`, `attachments`, `onAttach`, `onAttachmentRemove`, `accept`, `toolbar`, `maxLength`, `sendLabel`, `placeholder`, `disabled`, `sound`, `className`, `…textarea props` Full docs & usage: https://thrumui.dev/components/prompt-input.md (or MCP `get_component` for `prompt-input`). --- ## Radio group (`radio-group`) Free · Inputs · v1.0.0 One choice from a small set, with every option in view: a refresh rate, a plan, a unit. Use it for two to five options that need full words. Short options that switch a view fit a segmented control; six or more fit a select; options that need a description each fit choice cards. ```bash npx shadcn@latest add https://thrumui.dev/r/radio-group.json ``` Import: `@/components/ui/radio-group` Props (`*required`): `RadioGroup: value`, `RadioGroup: defaultValue`, `RadioGroup: onValueChange`, `RadioGroup: orientation`, `RadioGroup: name`, `RadioGroup: disabled`, `RadioGroup: readOnly`, `RadioGroup: required`, `RadioGroup: sound`, `RadioGroup: className`, `RadioGroupLabel`, `RadioGroupItem: value*`, `RadioGroupItem: disabled`, `RadioGroupItem: size`, `RadioGroupItem: children`, `RadioGroupItem: className` Full docs & usage: https://thrumui.dev/components/radio-group.md (or MCP `get_component` for `radio-group`). --- ## Rating (`rating`) Pro · Inputs · v1.0.0 A row of stars to rate something from 1 to 5, or to any maximum. As an input it is a radio group: one press or the arrow keys set it. Read-only, it is a picture of a score and can show a fraction such as 3.6. For a choice between named options use the radio group. ```bash npx shadcn@latest add @thrum-pro/rating ``` Import: `@/components/ui/rating` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `max`, `readOnly`, `disabled`, `size`, `path`, `labels`, `name`, `sound`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/rating.md (or MCP `get_component` for `rating`). --- ## Search field (`search-field`) Free · Inputs · v1.0.0 A search box: a magnifier, the text, and a button that clears it. It reports the text as it changes and again on Enter, shows a spinner while a search runs, and has a place for a shortcut hint. For suggestions under the field use a combobox. ```bash npx shadcn@latest add https://thrumui.dev/r/search-field.json ``` Import: `@/components/ui/search-field` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `onSearch`, `loading`, `shortcut`, `clearLabel`, `size`, `disabled`, `sound`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/search-field.md (or MCP `get_component` for `search-field`). --- ## Select (`select`) Free · Inputs · v1.0.0 A field that opens a list and holds one of its options: a time range, a region, a unit. Use it from about five options up. Two to five options that fit in a row read faster in a segmented control. ```bash npx shadcn@latest add https://thrumui.dev/r/select.json ``` Import: `@/components/ui/select` Props (`*required`): `Select: value`, `Select: defaultValue`, `Select: onValueChange`, `Select: items`, `Select: name`, `Select: disabled`, `Select: sound`, `SelectTrigger: placeholder`, `SelectTrigger: className`, `SelectContent`, `SelectItem: value*`, `SelectItem: disabled`, `SelectGroup, SelectLabel, SelectSeparator` Full docs & usage: https://thrumui.dev/components/select.md (or MCP `get_component` for `select`). --- ## Slider (`slider`) Free · Inputs · v1.0.0 A slider for a value where the position on a scale matters more than the exact number: a volume, a threshold, a price range. One thumb holds a value, two hold a range. When the exact number matters, or the scale has no ends, use the number input. ```bash npx shadcn@latest add https://thrumui.dev/r/slider.json ``` Import: `@/components/ui/slider` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `onValueCommitted`, `min`, `max`, `step`, `largeStep`, `minStepsBetweenValues`, `thumbCollisionBehavior`, `thumbAlignment`, `orientation`, `format`, `locale`, `marks`, `valueLabel`, `thumbLabels`, `name`, `disabled`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/slider.md (or MCP `get_component` for `slider`). --- ## Switch (`switch`) Free · Inputs · v1.0.0 A switch for one setting that applies the moment it changes: alerts on, live updates off. For a choice that waits for a Save button, or a list of options to tick, use a checkbox. ```bash npx shadcn@latest add https://thrumui.dev/r/switch.json ``` Import: `@/components/ui/switch` Props (`*required`): `checked`, `defaultChecked`, `onCheckedChange`, `size`, `disabled`, `name`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/switch.md (or MCP `get_component` for `switch`). --- ## Tags input (`tags-input`) Pro · Inputs · v1.0.0 A field for free-text tags: labels, keywords, email recipients. Anything can be typed and becomes a tag. When the tags must come from a known list, use the multi-select instead. ```bash npx shadcn@latest add @thrum-pro/tags-input ``` Import: `@/components/ui/tags-input` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `max`, `validate`, `invalidMessage`, `size`, `sound`, `name`, `disabled`, `readOnly`, `placeholder`, `className`, `…input props` Full docs & usage: https://thrumui.dev/components/tags-input.md (or MCP `get_component` for `tags-input`). --- ## Textarea (`textarea`) Free · Inputs · v1.0.0 A text field of several lines: a note, a description, a message. It is the native textarea with the input's border, focus ring and error state. It can grow with its text and count characters against a limit. For one line use the input. ```bash npx shadcn@latest add https://thrumui.dev/r/textarea.json ``` Import: `@/components/ui/textarea` Props (`*required`): `autoGrow`, `showCount`, `maxLength`, `rows`, `aria-invalid`, `disabled`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/textarea.md (or MCP `get_component` for `textarea`). --- ## Theme switcher (`theme-switcher`) Free · Inputs · v1.0.0 A control for the colour theme: light, dark, or whatever the system prefers. It reports the choice and shows it; the app applies it, so it fits a class, a data attribute or any other setup. For a plain on and off setting use a switch. ```bash npx shadcn@latest add https://thrumui.dev/r/theme-switcher.json ``` Import: `@/components/ui/theme-switcher` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `variant`, `systemTheme`, `labels`, `size`, `disabled`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/theme-switcher.md (or MCP `get_component` for `theme-switcher`). --- ## Time input (`time-input`) Pro · Inputs · v1.0.0 A time typed in segments: hours, minutes, optional seconds and AM or PM, on the locale's clock or one you set. Use it for a meeting time or an alert window. For a date use the date input, which works the same way. ```bash npx shadcn@latest add @thrum-pro/time-input ``` Import: `@/components/ui/time-input` Props (`*required`): `value`, `defaultValue`, `onValueChange`, `seconds`, `hourCycle`, `step`, `min`, `max`, `locale`, `name`, `size`, `disabled`, `readOnly`, `required`, `invalid`, `sound`, `className`, `timeError(time, min, max)` Full docs & usage: https://thrumui.dev/components/time-input.md (or MCP `get_component` for `time-input`). --- ## Button (`button`) Free · Controls · v1.0.0 A button for an action: save, run, delete. Six variants set how much attention it asks for, and a loading state covers the wait without moving anything. For a choice between views use the segmented control; for navigation use a link with the button classes. ```bash npx shadcn@latest add https://thrumui.dev/r/button.json ``` Import: `@/components/ui/button` Props (`*required`): `variant`, `size`, `loading`, `disabled`, `type`, `className`, `...props`, `buttonClass()` Full docs & usage: https://thrumui.dev/components/button.md (or MCP `get_component` for `button`). --- ## Button group (`button-group`) Free · Controls · v1.0.0 Joins buttons that belong together into one shape: undo and redo, a split button, a row of formatting toggles. It only draws the joins; each button still acts on its own. For a choice where one option is selected, use the toggle group or the segmented control. ```bash npx shadcn@latest add https://thrumui.dev/r/button-group.json ``` Import: `@/components/ui/button-group` Props (`*required`): `ButtonGroup: orientation`, `ButtonGroup: aria-label`, `ButtonGroup: children`, `ButtonGroup: className`, `ButtonGroup: ...props`, `ButtonGroupSeparator` Full docs & usage: https://thrumui.dev/components/button-group.md (or MCP `get_component` for `button-group`). --- ## Copy button (`copy-button`) Free · Controls · v1.0.0 A button that puts a value on the clipboard: a command, a link, an ID. The icon turns into a tick for 2 seconds and a screen reader hears Copied. When the browser refuses the clipboard it shows a cross and says so. Place it beside the text it copies. ```bash npx shadcn@latest add https://thrumui.dev/r/copy-button.json ``` Import: `@/components/ui/copy-button` Props (`*required`): `value*`, `variant`, `size`, `timeout`, `onCopied`, `onCopyError`, `copiedLabel`, `errorLabel`, `sound`, `children`, `aria-label`, `disabled`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/copy-button.md (or MCP `get_component` for `copy-button`). --- ## Floating action button (`floating-action-button`) Pro · Controls · v1.0.0 A round button that floats over a view, in one of its corners, for the view's main action: create, compose, add. A label widens it into a pill. As a speed dial it opens a short list of related actions instead of doing one. Use one per view; for actions that belong to a row or a field, use a button beside them. ```bash npx shadcn@latest add @thrum-pro/floating-action-button ``` Import: `@/components/ui/floating-action-button` Props (`*required`): `FloatingActionButton: position`, `FloatingActionButton: size`, `FloatingActionButton: label`, `FloatingActionButton: aria-label`, `FloatingActionButton: children`, `FloatingActionButton: className`, `FloatingActionButton: ...props`, `SpeedDial: open`, `SpeedDial: defaultOpen`, `SpeedDial: onOpenChange`, `SpeedDial: sound`, `SpeedDialTrigger`, `SpeedDialContent: side`, `SpeedDialContent: align`, `SpeedDialContent: className`, `SpeedDialItem: onClick`, `SpeedDialItem: disabled`, `SpeedDialItem: closeOnClick` Full docs & usage: https://thrumui.dev/components/floating-action-button.md (or MCP `get_component` for `floating-action-button`). --- ## Hold to confirm (`hold-to-confirm`) Pro · Controls · v1.0.0 A button that acts only after it has been held down for a moment: delete, reset, revoke. It guards against a slip without opening a dialog. When the reader needs to know what will be lost before deciding, use a dialog instead: a hold confirms intent, it does not explain. ```bash npx shadcn@latest add @thrum-pro/hold-to-confirm ``` Import: `@/components/ui/hold-to-confirm` Props (`*required`): `duration`, `onConfirm`, `variant`, `size`, `hint`, `confirmedLabel`, `sound`, `disabled`, `children`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/hold-to-confirm.md (or MCP `get_component` for `hold-to-confirm`). --- ## Icon button (`icon-button`) Free · Controls · v1.0.0 A square button for one icon: refresh, download, delete. It is the button with fixed sides, and its type refuses to compile without an aria-label. For an action that needs words use the button; for an icon that stays pressed use the toggle. ```bash npx shadcn@latest add https://thrumui.dev/r/icon-button.json ``` Import: `@/components/ui/icon-button` Props (`*required`): `aria-label*`, `variant`, `size`, `round`, `loading`, `disabled`, `children`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/icon-button.md (or MCP `get_component` for `icon-button`). --- ## Segmented control (`segmented-control`) Free · Controls · v1.0.1 A compact switch between two to five views of the same thing: a time range, a unit, a chart type. One option is always selected and the change applies at once. For more than five options, or options that need explaining, use a select or radio buttons. ```bash npx shadcn@latest add https://thrumui.dev/r/segmented-control.json ``` Import: `@/components/ui/segmented-control` Props (`*required`): `options*`, `value`, `defaultValue`, `onValueChange`, `label*`, `size`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/segmented-control.md (or MCP `get_component` for `segmented-control`). --- ## Shimmer button (`shimmer-button`) Pro · Controls · v1.0.0 A primary button with a band of light that sweeps across it once when it is hovered or focused by keyboard. Use it for the one action a page wants noticed, such as an upgrade. Everywhere else use the button: two of these on one screen cancel each other out. ```bash npx shadcn@latest add @thrum-pro/shimmer-button ``` Import: `@/components/ui/shimmer-button` Props (`*required`): `size`, `loop`, `paused`, `disabled`, `type`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/shimmer-button.md (or MCP `get_component` for `shimmer-button`). --- ## Sound toggle (`sound-toggle`) Free · Controls · v1.0.0 The visitor's switch for the library's interface sounds. Every sound in the library stays silent until someone turns it on, and this is the control that does it. Put one in a header or a settings page; the choice is saved in the browser and every sound toggle on the page shows the same state. ```bash npx shadcn@latest add https://thrumui.dev/r/sound-toggle.json ``` Import: `@/components/ui/sound-toggle` Props (`*required`): `variant`, `size`, `children`, `aria-label`, `onPressedChange`, `disabled`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/sound-toggle.md (or MCP `get_component` for `sound-toggle`). --- ## Toggle (`toggle`) Free · Controls · v1.0.0 A button that stays pressed: pin a chart, mark a favourite, turn bold on. It reports its state with aria-pressed. For a setting that has a label beside it use the switch; for a set of toggles that share one value use the toggle group. ```bash npx shadcn@latest add https://thrumui.dev/r/toggle.json ``` Import: `@/components/ui/toggle` Props (`*required`): `pressed`, `defaultPressed`, `onPressedChange`, `variant`, `size`, `disabled`, `value`, `sound`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/toggle.md (or MCP `get_component` for `toggle`). --- ## Toggle group (`toggle-group`) Free · Controls · v1.0.0 A set of toggles that share one value: text alignment, a view, the series a chart shows. One item is pressed at a time, or several with multiple, and a single choice can be cleared by pressing it again. When exactly one option must always be selected, use the segmented control. ```bash npx shadcn@latest add https://thrumui.dev/r/toggle-group.json ``` Import: `@/components/ui/toggle-group` Props (`*required`): `ToggleGroup: value`, `ToggleGroup: defaultValue`, `ToggleGroup: onValueChange`, `ToggleGroup: multiple`, `ToggleGroup: variant`, `ToggleGroup: size`, `ToggleGroup: orientation`, `ToggleGroup: loopFocus`, `ToggleGroup: disabled`, `ToggleGroup: sound`, `ToggleGroup: className`, `ToggleGroupItem: value*`, `ToggleGroupItem: disabled`, `ToggleGroupItem: ...props` Full docs & usage: https://thrumui.dev/components/toggle-group.md (or MCP `get_component` for `toggle-group`). --- ## Alert dialog (`alert-dialog`) Free · Overlays · v1.0.0 A dialog that stops the work to ask one question and waits for the answer: delete, discard, revoke. A press outside does not close it, and focus starts on Cancel. For a form or details that can be dismissed freely, use a dialog; for a small confirmation next to its button, a confirm popover. ```bash npx shadcn@latest add https://thrumui.dev/r/alert-dialog.json ``` Import: `@/components/ui/alert-dialog` Props (`*required`): `AlertDialog: open`, `AlertDialog: defaultOpen`, `AlertDialog: onOpenChange`, `AlertDialog: sound`, `AlertDialogTrigger`, `AlertDialogContent: initialFocus`, `AlertDialogContent: className`, `AlertDialogHeader, AlertDialogFooter`, `AlertDialogTitle`, `AlertDialogDescription`, `AlertDialogAction: variant`, `AlertDialogAction: onClick`, `AlertDialogCancel` Full docs & usage: https://thrumui.dev/components/alert-dialog.md (or MCP `get_component` for `alert-dialog`). --- ## Command palette (`command-palette`) Free · Overlays · v1.0.0 A search box over the page that finds and runs commands: open it, type a few letters, press Enter. It suits apps with more commands than fit in menus, and people who keep their hands on the keyboard. It adds to menus and buttons; it should not be the only way to reach a command. ```bash npx shadcn@latest add https://thrumui.dev/r/command-palette.json ``` Import: `@/components/ui/command-palette` Props (`*required`): `CommandPalette: open`, `CommandPalette: defaultOpen`, `CommandPalette: onOpenChange`, `CommandPalette: shortcut`, `CommandPalette: label`, `CommandPalette: sound`, `CommandPalette: className`, `CommandInput: placeholder`, `CommandInput: aria-label`, `CommandList`, `CommandGroup: heading`, `CommandItem: children*`, `CommandItem: onSelect`, `CommandItem: keywords`, `CommandItem: icon`, `CommandItem: shortcut`, `CommandItem: label`, `CommandItem: closeOnSelect`, `CommandItem: disabled`, `CommandEmpty: children`, `CommandSeparator`, `commandScore(query, label, keywords?)`, `rankCommands(query, commands)` Full docs & usage: https://thrumui.dev/components/command-palette.md (or MCP `get_component` for `command-palette`). --- ## Confirm popover (`confirm-popover`) Pro · Overlays · v1.0.0 A question that opens at the button that asked for it: Delete this row? with Cancel and a confirm button. It keeps the eye where the action is and puts no veil over the page. For an action that deserves the whole screen, use an alert dialog. ```bash npx shadcn@latest add @thrum-pro/confirm-popover ``` Import: `@/components/ui/confirm-popover` Props (`*required`): `children*`, `title*`, `description`, `confirmLabel`, `cancelLabel`, `destructive`, `onConfirm`, `onCancel`, `open`, `defaultOpen`, `onOpenChange`, `side`, `align`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/confirm-popover.md (or MCP `get_component` for `confirm-popover`). --- ## Context menu (`context-menu`) Free · Overlays · v1.0.0 The menu of an area: it opens at the pointer on a right-click, at the finger on a long press, and from the keyboard with the menu key or Shift+F10. Use it for shortcuts to actions that are also reachable some other way, because nothing on screen says it is there. For a menu behind a visible button, use the dropdown menu. ```bash npx shadcn@latest add https://thrumui.dev/r/context-menu.json ``` Import: `@/components/ui/context-menu` Props (`*required`): `ContextMenu: open`, `ContextMenu: defaultOpen`, `ContextMenu: onOpenChange`, `ContextMenu: loopFocus`, `ContextMenu: disabled`, `ContextMenu: sound`, `ContextMenuTrigger`, `ContextMenuTrigger: className`, `ContextMenuContent: className`, `ContextMenuItem: onClick`, `ContextMenuItem: children`, `ContextMenuItem: destructive`, `ContextMenuItem: inset`, `ContextMenuItem: disabled`, `ContextMenuItem: closeOnClick`, `ContextMenuCheckboxItem: checked`, `ContextMenuCheckboxItem: defaultChecked`, `ContextMenuCheckboxItem: onCheckedChange`, `ContextMenuRadioGroup: value`, `ContextMenuRadioGroup: defaultValue`, `ContextMenuRadioGroup: onValueChange`, `ContextMenuRadioItem: value*`, `ContextMenuGroup, ContextMenuLabel, ContextMenuSeparator`, `ContextMenuShortcut`, `ContextMenuSub, ContextMenuSubTrigger, ContextMenuSubContent` Full docs & usage: https://thrumui.dev/components/context-menu.md (or MCP `get_component` for `context-menu`). --- ## Dialog (`dialog`) Free · Overlays · v1.0.0 A window over the page for something that needs an answer before work goes on: a confirmation, a short form, details. It holds the focus until it is closed. For a hint or a small set of options next to a control, use a popover or a menu instead. ```bash npx shadcn@latest add https://thrumui.dev/r/dialog.json ``` Import: `@/components/ui/dialog` Props (`*required`): `Dialog: open`, `Dialog: defaultOpen`, `Dialog: onOpenChange`, `Dialog: sound`, `DialogTrigger`, `DialogContent: showClose`, `DialogContent: className`, `DialogHeader, DialogFooter`, `DialogTitle`, `DialogDescription`, `DialogClose` Full docs & usage: https://thrumui.dev/components/dialog.md (or MCP `get_component` for `dialog`). --- ## Drawer (`drawer`) Free · Overlays · v1.0.0 A panel that rises from the bottom of the screen and is dragged back down to dismiss it: a few actions or a short form on a phone. It holds the focus like a dialog, and can rest at several heights. For a panel at the side of a wide screen, use a sheet. ```bash npx shadcn@latest add https://thrumui.dev/r/drawer.json ``` Import: `@/components/ui/drawer` Props (`*required`): `Drawer: open`, `Drawer: defaultOpen`, `Drawer: onOpenChange`, `Drawer: snapPoints`, `Drawer: snapPoint`, `Drawer: defaultSnapPoint`, `Drawer: onSnapPointChange`, `Drawer: snapToSequentialPoints`, `Drawer: disablePointerDismissal`, `Drawer: sound`, `DrawerTrigger`, `DrawerContent: className`, `DrawerHandle`, `DrawerHeader, DrawerFooter`, `DrawerTitle`, `DrawerDescription`, `DrawerClose` Full docs & usage: https://thrumui.dev/components/drawer.md (or MCP `get_component` for `drawer`). --- ## Dropdown menu (`dropdown-menu`) Free · Overlays · v1.0.0 A menu of actions that opens from a button: rename, share, delete, with settings and submenus when a view needs them. Use it for things to do. To pick one value that a field then shows, use a select; for the actions of an area under the pointer, a context menu. ```bash npx shadcn@latest add https://thrumui.dev/r/dropdown-menu.json ``` Import: `@/components/ui/dropdown-menu` Props (`*required`): `DropdownMenu: open`, `DropdownMenu: defaultOpen`, `DropdownMenu: onOpenChange`, `DropdownMenu: modal`, `DropdownMenu: loopFocus`, `DropdownMenu: disabled`, `DropdownMenu: sound`, `DropdownMenuTrigger`, `DropdownMenuContent: side`, `DropdownMenuContent: align`, `DropdownMenuContent: sideOffset`, `DropdownMenuContent: alignOffset`, `DropdownMenuContent: className`, `DropdownMenuItem: onClick`, `DropdownMenuItem: children`, `DropdownMenuItem: destructive`, `DropdownMenuItem: inset`, `DropdownMenuItem: disabled`, `DropdownMenuItem: closeOnClick`, `DropdownMenuItem: label`, `DropdownMenuCheckboxItem: checked`, `DropdownMenuCheckboxItem: defaultChecked`, `DropdownMenuCheckboxItem: onCheckedChange`, `DropdownMenuRadioGroup: value`, `DropdownMenuRadioGroup: defaultValue`, `DropdownMenuRadioGroup: onValueChange`, `DropdownMenuRadioItem: value*`, `DropdownMenuGroup`, `DropdownMenuLabel`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub: open, defaultOpen, onOpenChange`, `DropdownMenuSubTrigger: openOnHover`, `DropdownMenuSubContent` Full docs & usage: https://thrumui.dev/components/dropdown-menu.md (or MCP `get_component` for `dropdown-menu`). --- ## Hover card (`hover-card`) Free · Overlays · v1.0.0 A preview of what a link leads to: a person, a page, a record. It opens when the pointer rests on the link or the keyboard focuses it. The link must make sense without it, because touch screens never show the card. For a hint on a control use a tooltip; for content a reader acts on, a popover. ```bash npx shadcn@latest add https://thrumui.dev/r/hover-card.json ``` Import: `@/components/ui/hover-card` Props (`*required`): `HoverCard: open`, `HoverCard: defaultOpen`, `HoverCard: onOpenChange`, `HoverCardTrigger: href*`, `HoverCardTrigger: delay`, `HoverCardTrigger: closeDelay`, `HoverCardTrigger: className`, `HoverCardContent: side`, `HoverCardContent: align`, `HoverCardContent: sideOffset`, `HoverCardContent: alignOffset`, `HoverCardContent: collisionPadding`, `HoverCardContent: className` Full docs & usage: https://thrumui.dev/components/hover-card.md (or MCP `get_component` for `hover-card`). --- ## Menubar (`menubar`) Free · Overlays · v1.0.0 A row of menus across the top of an app or an editor: File, Edit, View. It suits tools with many commands that people learn by place. For a handful of actions use a toolbar or one dropdown menu; for moving between pages, a navigation menu. ```bash npx shadcn@latest add https://thrumui.dev/r/menubar.json ``` Import: `@/components/ui/menubar` Props (`*required`): `Menubar: orientation`, `Menubar: loopFocus`, `Menubar: modal`, `Menubar: disabled`, `Menubar: sound`, `Menubar: className`, `MenubarMenu: open, defaultOpen, onOpenChange`, `MenubarMenu: disabled`, `MenubarTrigger`, `MenubarContent: side, align, sideOffset, alignOffset`, `MenubarItem: onClick`, `MenubarItem: children, destructive, inset, disabled, closeOnClick, label`, `MenubarCheckboxItem: checked, defaultChecked, onCheckedChange`, `MenubarRadioGroup: value, defaultValue, onValueChange`, `MenubarRadioItem: value*`, `MenubarGroup, MenubarLabel, MenubarSeparator`, `MenubarShortcut`, `MenubarSub, MenubarSubTrigger, MenubarSubContent` Full docs & usage: https://thrumui.dev/components/menubar.md (or MCP `get_component` for `menubar`). --- ## Navigation menu (`navigation-menu`) Free · Overlays · v1.0.0 The main navigation of a site: a bar of links, some of which open a panel of more links. All panels share one fly-out that moves and resizes between them, so scanning the bar feels like one surface. For commands that act on the page, use a menubar or a dropdown menu. ```bash npx shadcn@latest add https://thrumui.dev/r/navigation-menu.json ``` Import: `@/components/ui/navigation-menu` Props (`*required`): `NavigationMenu: value`, `NavigationMenu: defaultValue`, `NavigationMenu: onValueChange`, `NavigationMenu: delay`, `NavigationMenu: closeDelay`, `NavigationMenu: orientation`, `NavigationMenu: className`, `NavigationMenuList`, `NavigationMenuItem: value`, `NavigationMenuTrigger`, `NavigationMenuTrigger: disabled`, `NavigationMenuContent: className`, `NavigationMenuLink: href*`, `NavigationMenuLink: active`, `NavigationMenuLink: closeOnClick`, `NavigationMenuViewport: side`, `NavigationMenuViewport: align`, `NavigationMenuViewport: sideOffset, alignOffset`, `NavigationMenuViewport: className`, `NavigationMenuIndicator` Full docs & usage: https://thrumui.dev/components/navigation-menu.md (or MCP `get_component` for `navigation-menu`). --- ## Notification center (`notification-center`) Pro · Overlays · v1.0.0 A bell with the number of unread notifications that opens a panel of them, grouped into today and earlier, with an unread filter and mark all as read. The data comes in through props, so it works with any feed. For one message that needs no history, use a toast; for a running log of events on a page, an activity feed. ```bash npx shadcn@latest add @thrum-pro/notification-center ``` Import: `@/components/ui/notification-center` Props (`*required`): `notifications*`, `now`, `locale`, `title`, `emptyLabel`, `onRead`, `onReadAll`, `onOpen`, `onDismiss`, `open`, `defaultOpen`, `onOpenChange`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/notification-center.md (or MCP `get_component` for `notification-center`). --- ## Popover (`popover`) Free · Overlays · v1.0.0 A small panel that opens next to its trigger and holds a few fields, details or actions, while the page around it stays usable. For a question that must be answered first use a dialog; for a plain text hint use a tooltip; for a list of commands use a menu. ```bash npx shadcn@latest add https://thrumui.dev/r/popover.json ``` Import: `@/components/ui/popover` Props (`*required`): `Popover: open`, `Popover: defaultOpen`, `Popover: onOpenChange`, `Popover: modal`, `Popover: sound`, `PopoverTrigger`, `PopoverTrigger: openOnHover`, `PopoverContent: side`, `PopoverContent: align`, `PopoverContent: sideOffset`, `PopoverContent: alignOffset`, `PopoverContent: collisionPadding`, `PopoverContent: anchor`, `PopoverContent: arrow`, `PopoverContent: className`, `PopoverHeader`, `PopoverTitle`, `PopoverDescription`, `PopoverClose` Full docs & usage: https://thrumui.dev/components/popover.md (or MCP `get_component` for `popover`). --- ## Sheet (`sheet`) Free · Overlays · v1.0.0 A panel that slides in from an edge of the screen and holds the focus until it is closed: filters, the details of a record, a phone's navigation. It keeps the page in view behind a veil. For a short question use a dialog; for a panel a phone user drags away, a drawer. ```bash npx shadcn@latest add https://thrumui.dev/r/sheet.json ``` Import: `@/components/ui/sheet` Props (`*required`): `Sheet: open`, `Sheet: defaultOpen`, `Sheet: onOpenChange`, `Sheet: sound`, `SheetTrigger`, `SheetContent: side`, `SheetContent: size`, `SheetContent: showClose`, `SheetContent: className`, `SheetHeader, SheetFooter`, `SheetTitle`, `SheetDescription`, `SheetClose` Full docs & usage: https://thrumui.dev/components/sheet.md (or MCP `get_component` for `sheet`). --- ## Toast (`toast`) Free · Overlays · v1.0.0 Short notices that appear in a corner, stack, and leave on their own: saved, copied, failed. A toast() function raises them from anywhere, and one Toaster shows them. A toast never holds the only copy of something the reader needs; for a message that must be answered, use an alert dialog. ```bash npx shadcn@latest add https://thrumui.dev/r/toast.json ``` Import: `@/components/ui/toast` Props (`*required`): `Toaster: position`, `Toaster: limit`, `Toaster: duration`, `Toaster: sound`, `Toaster: className`, `toast(title, options)`, `toast.success / warning / error`, `toast.promise(promise, messages)`, `toast.dismiss(id)`, `options: description`, `options: duration`, `options: action`, `options: id`, `options: onClose` Full docs & usage: https://thrumui.dev/components/toast.md (or MCP `get_component` for `toast`). --- ## Toolbar (`toolbar`) Pro · Overlays · v1.0.0 A bar of controls that act on one thing: the text being edited, the chart on screen. The whole bar is one tab stop and the arrow keys move inside it, so a long bar costs the keyboard one Tab. For commands sorted into named menus, use a menubar. ```bash npx shadcn@latest add @thrum-pro/toolbar ``` Import: `@/components/ui/toolbar` Props (`*required`): `Toolbar: orientation`, `Toolbar: loopFocus`, `Toolbar: disabled`, `Toolbar: sound`, `Toolbar: className`, `ToolbarButton: variant`, `ToolbarButton: disabled`, `ToolbarButton: focusableWhenDisabled`, `ToolbarButton: ...props`, `ToolbarToggle: pressed`, `ToolbarToggle: defaultPressed`, `ToolbarToggle: onPressedChange`, `ToolbarToggle: value`, `ToolbarToggle: variant`, `ToolbarToggleGroup: value`, `ToolbarToggleGroup: defaultValue`, `ToolbarToggleGroup: onValueChange`, `ToolbarToggleGroup: multiple`, `ToolbarGroup: disabled`, `ToolbarGroup: ...props`, `ToolbarSeparator`, `ToolbarLink` Full docs & usage: https://thrumui.dev/components/toolbar.md (or MCP `get_component` for `toolbar`). --- ## Tooltip (`tooltip`) Free · Overlays · v1.0.0 A short text hint for the control it belongs to: what an icon button does, why an option is off. It shows on hover and on keyboard focus and holds text only. For anything a reader has to press or read at length use a popover; for a preview of a link use a hover card. ```bash npx shadcn@latest add https://thrumui.dev/r/tooltip.json ``` Import: `@/components/ui/tooltip` Props (`*required`): `TooltipProvider: delay`, `TooltipProvider: closeDelay`, `TooltipProvider: timeout`, `Tooltip: open`, `Tooltip: defaultOpen`, `Tooltip: onOpenChange`, `Tooltip: disabled`, `Tooltip: disableHoverablePopup`, `TooltipTrigger: render`, `TooltipTrigger: delay`, `TooltipTrigger: closeOnClick`, `TooltipContent: side`, `TooltipContent: align`, `TooltipContent: sideOffset`, `TooltipContent: alignOffset`, `TooltipContent: collisionPadding`, `TooltipContent: arrow`, `TooltipContent: className` Full docs & usage: https://thrumui.dev/components/tooltip.md (or MCP `get_component` for `tooltip`). --- ## Breadcrumb (`breadcrumb`) Free · Navigation · v1.0.0 The trail from the top of the site to the page being read, so a reader can see where they are and step back up. Pass the trail as items, or compose the parts yourself. For moving between sibling views use tabs; for the levels of a page header, put this in the page header's breadcrumb slot. ```bash npx shadcn@latest add https://thrumui.dev/r/breadcrumb.json ``` Import: `@/components/ui/breadcrumb` Props (`*required`): `Breadcrumb: items`, `Breadcrumb: maxItems`, `Breadcrumb: separator`, `Breadcrumb: className`, `Breadcrumb: ...props`, `BreadcrumbList`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbPage`, `BreadcrumbSeparator`, `BreadcrumbEllipsis: label`, `BreadcrumbEllipsis: children`, `BreadcrumbEllipsisItem` Full docs & usage: https://thrumui.dev/components/breadcrumb.md (or MCP `get_component` for `breadcrumb`). --- ## Navbar (`navbar`) Pro · Navigation · v1.0.0 The bar across the top of an application: brand, primary links and actions. It follows the width of its own container, so in a narrow one the links move into a panel behind a menu button. For more than about six destinations, or for groups of them, use the sidebar. ```bash npx shadcn@latest add @thrum-pro/navbar ``` Import: `@/components/ui/navbar` Props (`*required`): `Navbar: sticky`, `Navbar: open`, `Navbar: defaultOpen`, `Navbar: onOpenChange`, `Navbar: sound`, `Navbar: className`, `Navbar: ...props`, `NavbarBrand`, `NavbarLinks: label`, `NavbarLinks: children`, `NavbarLink: active`, `NavbarLink: ...props`, `NavbarActions`, `NavbarToggle` Full docs & usage: https://thrumui.dev/components/navbar.md (or MCP `get_component` for `navbar`). --- ## Page header (`page-header`) Pro · Navigation · v1.0.0 The block at the top of a page: a breadcrumb, the title, a description, a row of small facts, the page's actions and a tab list. It is layout only, and every part is optional. For the bar across the whole application use the navbar; for a framed block inside a page use the card. ```bash npx shadcn@latest add @thrum-pro/page-header ``` Import: `@/components/ui/page-header` Props (`*required`): `PageHeader: separator`, `PageHeader: className`, `PageHeader: ...props`, `PageHeaderBreadcrumb`, `PageHeaderTitle: level`, `PageHeaderTitle: ...props`, `PageHeaderDescription`, `PageHeaderMeta`, `PageHeaderActions`, `PageHeaderTabs`, `className` Full docs & usage: https://thrumui.dev/components/page-header.md (or MCP `get_component` for `page-header`). --- ## Pagination (`pagination`) Free · Navigation · v1.0.0 Moves through a long list one page at a time: previous, next and numbered pages, with an optional select for the rows on a page. Use it under a table or a list of results. For a short list that fits on one screen, show it whole; for a feed that grows as it is read, load more at the end instead. ```bash npx shadcn@latest add https://thrumui.dev/r/pagination.json ``` Import: `@/components/ui/pagination` Props (`*required`): `pageCount*`, `page`, `defaultPage`, `onPageChange`, `siblings`, `showFirstLast`, `compact`, `size`, `pageSizeOptions`, `pageSize`, `defaultPageSize`, `onPageSizeChange`, `sound`, `className`, `...props`, `pageRange()` Full docs & usage: https://thrumui.dev/components/pagination.md (or MCP `get_component` for `pagination`). --- ## Scroll progress (`scroll-progress`) Pro · Navigation · v1.0.0 A bar or a small ring that shows how far a scroll container, or the page, has been read. It follows the scroll and does nothing else. For the progress of a task use the progress bar; for an outline that marks the section being read use the table of contents. ```bash npx shadcn@latest add @thrum-pro/scroll-progress ``` Import: `@/components/ui/scroll-progress` Props (`*required`): `label*`, `target`, `variant`, `size`, `className` Full docs & usage: https://thrumui.dev/components/scroll-progress.md (or MCP `get_component` for `scroll-progress`). --- ## Sidebar (`sidebar`) Free · Navigation · v1.0.0 The side navigation of an application: labelled groups of links, a header, a footer, and a toggle that folds it to a rail of icons. Use it when an app has more destinations than fit in a top bar. For a handful of links use the navbar; for the headings of one page use the table of contents. ```bash npx shadcn@latest add https://thrumui.dev/r/sidebar.json ``` Import: `@/components/ui/sidebar` Props (`*required`): `Sidebar: collapsed`, `Sidebar: defaultCollapsed`, `Sidebar: onCollapsedChange`, `Sidebar: shortcut`, `Sidebar: sound`, `Sidebar: className`, `Sidebar: ...props`, `SidebarHeader, SidebarFooter`, `SidebarContent`, `SidebarGroup: label`, `SidebarGroup: collapsible`, `SidebarGroup: defaultOpen`, `SidebarItem: href`, `SidebarItem: icon`, `SidebarItem: badge`, `SidebarItem: active`, `SidebarItem: disabled`, `SidebarItem: ...props`, `SidebarToggle` Full docs & usage: https://thrumui.dev/components/sidebar.md (or MCP `get_component` for `sidebar`). --- ## Stepper (`stepper`) Pro · Navigation · v1.0.0 The steps of a flow that is done in order: a checkout, a setup, an import. It shows which steps are done, which one is current and which are still to come, and can mark a step that failed. For views a reader may open in any order, use tabs. ```bash npx shadcn@latest add @thrum-pro/stepper ``` Import: `@/components/ui/stepper` Props (`*required`): `Stepper: value`, `Stepper: defaultValue`, `Stepper: onValueChange`, `Stepper: orientation`, `Stepper: clickable`, `Stepper: sound`, `Stepper: className`, `Stepper: ...props`, `StepperItem: title*`, `StepperItem: description`, `StepperItem: error`, `StepperItem: className` Full docs & usage: https://thrumui.dev/components/stepper.md (or MCP `get_component` for `stepper`). --- ## Table of contents (`table-of-contents`) Pro · Navigation · v1.0.0 An outline of the headings of a long page. It marks the section being read and fills a thin track down to it, so a reader can see how far they are and jump elsewhere. For the plain share of a page that has been scrolled, use the scroll progress bar; for moving between pages, use a sidebar. ```bash npx shadcn@latest add @thrum-pro/table-of-contents ``` Import: `@/components/ui/table-of-contents` Props (`*required`): `items*`, `target`, `heading`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/table-of-contents.md (or MCP `get_component` for `table-of-contents`). --- ## Tabs (`tabs`) Free · Navigation · v1.0.0 Views that share one place, one shown at a time: the sections of a report, the pages of a settings screen. An indicator slides to the selected tab. For a choice that changes a value and shows no view of its own, use the segmented control; for steps that must be done in order, use the stepper. ```bash npx shadcn@latest add https://thrumui.dev/r/tabs.json ``` Import: `@/components/ui/tabs` Props (`*required`): `Tabs: value`, `Tabs: defaultValue`, `Tabs: onValueChange`, `Tabs: orientation`, `Tabs: sound`, `Tabs: className`, `TabsList: variant`, `TabsList: size`, `TabsList: activateOnFocus`, `TabsList: loopFocus`, `TabsList: className`, `TabsTrigger: value*`, `TabsTrigger: disabled`, `TabsTrigger: ...props`, `TabsContent: value*`, `TabsContent: keepMounted`, `TabsContent: className` Full docs & usage: https://thrumui.dev/components/tabs.md (or MCP `get_component` for `tabs`). --- ## Avatar (`avatar`) Free · Display · v1.0.0 A picture of a person, a team or a product. While the image loads, when it fails and when there is none, it shows the initials of the name. A mark in the corner can show presence. For several people in a row use the avatar group. ```bash npx shadcn@latest add https://thrumui.dev/r/avatar.json ``` Import: `@/components/ui/avatar` Props (`*required`): `Avatar: name`, `Avatar: size`, `Avatar: square`, `Avatar: status`, `Avatar: statusLabel`, `AvatarImage: src`, `AvatarImage: alt`, `AvatarImage: onLoadingStatusChange`, `AvatarFallback: children`, `AvatarFallback: delay`, `className`, `initials()` Full docs & usage: https://thrumui.dev/components/avatar.md (or MCP `get_component` for `avatar`). --- ## Avatar group (`avatar-group`) Free · Display · v1.0.0 A row of avatars that overlap, for the people on a project, in a thread or on call. Past a maximum it ends in a +N item that names the people it hides. For one person use the avatar. ```bash npx shadcn@latest add https://thrumui.dev/r/avatar-group.json ``` Import: `@/components/ui/avatar-group` Props (`*required`): `max`, `size`, `reversed`, `overflowLabel`, `children`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/avatar-group.md (or MCP `get_component` for `avatar-group`). --- ## Badge (`badge`) Free · Display · v1.0.0 A small label beside a name or in a table cell: a status, a category, a version, a count. It never takes focus and is not a control. For a chip the reader can remove or select use the tag; for a state with a live pulse use the status dot. ```bash npx shadcn@latest add https://thrumui.dev/r/badge.json ``` Import: `@/components/ui/badge` Props (`*required`): `variant`, `size`, `dot`, `count`, `max`, `children`, `className`, `...props`, `badgeClass()`, `badgeStyle()`, `formatCount()` Full docs & usage: https://thrumui.dev/components/badge.md (or MCP `get_component` for `badge`). --- ## Card (`card`) Free · Display · v1.0.0 A bordered panel for one subject: a metric with its note, a small form, a setting. It is made of parts, so leave out what you do not need. For a single figure with its trend, the stat card is ready-made. ```bash npx shadcn@latest add https://thrumui.dev/r/card.json ``` Import: `@/components/ui/card` Props (`*required`): `Card`, `CardHeader`, `CardTitle`, `CardDescription`, `CardAction`, `CardContent`, `CardFooter`, `className` Full docs & usage: https://thrumui.dev/components/card.md (or MCP `get_component` for `card`). --- ## Data table (`data-table`) Free · Display · v1.0.0 A table you hand columns and rows: the headings sort, rows can be selected, long lists split into pages, and a menu hides columns. It needs no table library. For a table you write by hand, with no sorting, use the table parts it is built on. ```bash npx shadcn@latest add https://thrumui.dev/r/data-table.json ``` Import: `@/components/ui/data-table` Props (`*required`): `columns*`, `rows*`, `caption*`, `sort`, `defaultSort`, `onSortChange`, `selectable`, `selectedIds`, `defaultSelectedIds`, `onSelectedIdsChange`, `page`, `defaultPage`, `onPageChange`, `pageSize`, `defaultPageSize`, `onPageSizeChange`, `pageSizeOptions`, `columnMenu`, `hiddenColumns`, `defaultHiddenColumns`, `onHiddenColumnsChange`, `loading`, `emptyLabel`, `density`, `striped`, `stickyHeader`, `containerClassName`, `locale`, `sound`, `className`, `sortRows(), nextSort(), formatCell()` Full docs & usage: https://thrumui.dev/components/data-table.md (or MCP `get_component` for `data-table`). --- ## Diff viewer (`diff-viewer`) Pro · Display · v1.0.0 Shows what changed between two texts: a config before and after, two versions of a document, a generated file. Lines are compared, then the changed words inside them are marked, side by side or in one column. To show one version, use a code block instead. ```bash npx shadcn@latest add @thrum-pro/diff-viewer ``` Import: `@/components/ui/diff-viewer` Props (`*required`): `before*`, `after*`, `title*`, `view`, `defaultView`, `onViewChange`, `context`, `lineNumbers`, `wordDiff`, `emptyLabel`, `sound`, `className`, `diffSequences(), diffLines(), diffWords(), foldUnchanged()` Full docs & usage: https://thrumui.dev/components/diff-viewer.md (or MCP `get_component` for `diff-viewer`). --- ## Filter bar (`filter-bar`) Pro · Display · v1.0.0 A row of filters above a table or a chart: a search field, a chip for each filter that opens a small panel of options or a range, and saved views. It holds plain data, so the parent filters its own rows. For one choice between a few views, a segmented control is enough. ```bash npx shadcn@latest add @thrum-pro/filter-bar ``` Import: `@/components/ui/filter-bar` Props (`*required`): `fields*`, `filters`, `defaultFilters`, `onFiltersChange`, `search`, `defaultSearch`, `onSearchChange`, `searchLabel`, `searchPlaceholder`, `views`, `onViewChange`, `locale`, `sound`, `className`, `isActive(), cleanFilters()` Full docs & usage: https://thrumui.dev/components/filter-bar.md (or MCP `get_component` for `filter-bar`). --- ## JSON viewer (`json-viewer`) Pro · Display · v1.0.0 A collapsible tree for a JSON value: an API response, a webhook payload, a settings file. Values are set apart by type, closed objects say how much they hold, and every row can copy its value or its path. For a hierarchy of your own items use the tree view it is built on. ```bash npx shadcn@latest add @thrum-pro/json-viewer ``` Import: `@/components/ui/json-viewer` Props (`*required`): `value*`, `label*`, `rootLabel`, `defaultExpandDepth`, `toolbar`, `search`, `onSearchChange`, `maxStringLength`, `copyable`, `sound`, `className`, `childPath(), containerPaths(), searchJson()` Full docs & usage: https://thrumui.dev/components/json-viewer.md (or MCP `get_component` for `json-viewer`). --- ## Kbd (`kbd`) Free · Display · v1.0.0 A keyboard key, for writing shortcuts in menus, tooltips and help text. Kbd is one key and KbdGroup holds several. Shortcut takes a string such as mod+k and prints the keys the reader's own keyboard has. ```bash npx shadcn@latest add https://thrumui.dev/r/kbd.json ``` Import: `@/components/ui/kbd` Props (`*required`): `Kbd`, `KbdGroup`, `Shortcut: keys*`, `className`, `parseKeys()` Full docs & usage: https://thrumui.dev/components/kbd.md (or MCP `get_component` for `kbd`). --- ## Link (`link`) Free · Display · v1.0.0 A link to another page, in a sentence, in a navigation list or on a line of its own. It inherits the size of the text around it. An external link opens a new tab and says so. For an action that changes something use the button; for a link that looks like a button use the button classes. ```bash npx shadcn@latest add https://thrumui.dev/r/link.json ``` Import: `@/components/ui/link` Props (`*required`): `variant`, `external`, `href`, `className`, `...props`, `linkClass()` Full docs & usage: https://thrumui.dev/components/link.md (or MCP `get_component` for `link`). --- ## Separator (`separator`) Free · Display · v1.0.0 A 1 pixel line between two parts of a view: sections of a panel, items in a toolbar, the two halves of a sign-in form. Give it text and the text sits in the line. For a frame around one subject use the card. ```bash npx shadcn@latest add https://thrumui.dev/r/separator.json ``` Import: `@/components/ui/separator` Props (`*required`): `orientation`, `decorative`, `align`, `children`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/separator.md (or MCP `get_component` for `separator`). --- ## Skeleton (`skeleton`) Free · Display · v1.0.0 A placeholder in the shape of content that is on its way: a block, lines of text, an avatar. It keeps the layout from jumping when the content arrives. Where the shape is not known, or the wait is short, use the spinner. ```bash npx shadcn@latest add https://thrumui.dev/r/skeleton.json ``` Import: `@/components/ui/skeleton` Props (`*required`): `Skeleton`, `Skeleton: paused`, `SkeletonText: lines`, `SkeletonAvatar: square`, `SkeletonAvatar: className`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/skeleton.md (or MCP `get_component` for `skeleton`). --- ## Sortable list (`sortable-list`) Pro · Display · v1.0.0 A short list the reader puts in order: priorities, steps, columns to show. Each item has a handle to drag, with a mouse, a finger or the keyboard. For moving items between two lists use the transfer list; for thousands of rows, order them with a sort instead. ```bash npx shadcn@latest add @thrum-pro/sortable-list ``` Import: `@/components/ui/sortable-list` Props (`*required`): `items*`, `order`, `defaultOrder`, `onReorder`, `axis`, `aria-label`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/sortable-list.md (or MCP `get_component` for `sortable-list`). --- ## Spinner (`spinner`) Free · Display · v1.0.0 A turning ring for a wait whose length is not known: a query, a save, a first load. Where the shape of the content is known, a skeleton holds its place better. Where the progress is known, use the progress bar. ```bash npx shadcn@latest add https://thrumui.dev/r/spinner.json ``` Import: `@/components/ui/spinner` Props (`*required`): `size`, `label`, `paused`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/spinner.md (or MCP `get_component` for `spinner`). --- ## Status dot (`status-dot`) Free · Display · v1.0.0 A small dot before a word that names a state: a service, a device, a connection. A state that is live right now can pulse. For a label with a filled shape use the badge; for a person's presence use the avatar's status. ```bash npx shadcn@latest add https://thrumui.dev/r/status-dot.json ``` Import: `@/components/ui/status-dot` Props (`*required`): `status`, `pulse`, `paused`, `children`, `aria-label`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/status-dot.md (or MCP `get_component` for `status-dot`). --- ## Table (`table`) Free · Display · v1.0.0 A styled native table for rows of records: invoices, members, results. It is made of parts, written like the HTML, and scrolls sideways in its frame when the columns do not fit. For sorting, selection and pages use the data table, which is built on it. ```bash npx shadcn@latest add https://thrumui.dev/r/table.json ``` Import: `@/components/ui/table` Props (`*required`): `Table: density`, `Table: striped`, `Table: stickyHeader`, `Table: containerClassName`, `Table: aria-label`, `Table: className`, `TableHeader, TableBody, TableFooter`, `TableRow: selected`, `TableHead: numeric`, `TableHead: scope`, `TableCell: numeric`, `TableCaption`, `className` Full docs & usage: https://thrumui.dev/components/table.md (or MCP `get_component` for `table`). --- ## Tag (`tag`) Free · Display · v1.0.0 A chip for a filter, a recipient or a selection the reader can take away or switch on and off. A group wraps the tags and moves between them with the arrow keys. For a label nobody operates use the badge; for one pressed button use the toggle. ```bash npx shadcn@latest add https://thrumui.dev/r/tag.json ``` Import: `@/components/ui/tag` Props (`*required`): `Tag: size`, `Tag: leading`, `Tag: onRemove`, `Tag: selectable`, `Tag: pressed`, `Tag: defaultPressed`, `Tag: onPressedChange`, `Tag: disabled`, `Tag: sound`, `Tag: children`, `TagGroup`, `className` Full docs & usage: https://thrumui.dev/components/tag.md (or MCP `get_component` for `tag`). --- ## Transfer list (`transfer-list`) Pro · Display · v1.0.0 Two lists side by side with buttons between them: pick items on the left and move them to the right, such as the permissions a role grants. Each side searches, counts and selects all. For a short set of on and off choices, a checkbox group is lighter. ```bash npx shadcn@latest add @thrum-pro/transfer-list ``` Import: `@/components/ui/transfer-list` Props (`*required`): `items*`, `value`, `defaultValue`, `onValueChange`, `sourceLabel`, `targetLabel`, `searchable`, `reorderable`, `emptyLabel`, `sound`, `className`, `moveWithin()` Full docs & usage: https://thrumui.dev/components/transfer-list.md (or MCP `get_component` for `transfer-list`). --- ## Tree view (`tree-view`) Pro · Display · v1.0.0 A hierarchy that opens and closes: files, categories, a team's structure. It is one tab stop with the arrow keys inside, selects one row, several, or ticks them with tri-state boxes, and loads children when a branch first opens. For one level of links use a sidebar; for raw data use the JSON viewer. ```bash npx shadcn@latest add @thrum-pro/tree-view ``` Import: `@/components/ui/tree-view` Props (`*required`): `items*`, `aria-label`, `expanded`, `defaultExpanded`, `onExpandedChange`, `onExpand`, `selectionMode`, `selected`, `defaultSelected`, `onSelectedChange`, `checkboxes`, `onAction`, `icons`, `guides`, `sound`, `framed`, `className`, `visibleNodes(), checkState(), toggleChecked(), typeahead()` Full docs & usage: https://thrumui.dev/components/tree-view.md (or MCP `get_component` for `tree-view`). --- ## Typography (`typography`) Free · Display · v1.0.0 The text styles of the library as components: four headings, lead, paragraph, large, small and muted text, quote, inline code and list. The same styles are exported as class strings. Prose wraps plain HTML, such as rendered markdown, and styles every element inside it. ```bash npx shadcn@latest add https://thrumui.dev/r/typography.json ``` Import: `@/components/ui/typography` Props (`*required`): `H1`, `H2`, `H3`, `H4`, `Lead`, `P`, `Large`, `Small`, `Muted`, `Blockquote`, `InlineCode`, `List`, `List: ordered`, `Prose`, `className`, `typography` Full docs & usage: https://thrumui.dev/components/typography.md (or MCP `get_component` for `typography`). --- ## Virtual list (`virtual-list`) Pro · Display · v1.0.0 A list of thousands of rows that keeps only the rows in view in the page, so it scrolls as smoothly at 100,000 rows as at 100. Rows can share one height or be measured, and a heading can pin each group to the top. For a few hundred rows a plain list or a paginated table is simpler. ```bash npx shadcn@latest add @thrum-pro/virtual-list ``` Import: `@/components/ui/virtual-list` Props (`*required`): `items*`, `aria-label`, `rowHeight`, `measure`, `overscan`, `stickyGroups`, `value`, `defaultValue`, `onValueChange`, `scrollToIndex`, `onRangeChange`, `emptyLabel`, `sound`, `className`, `layoutRows(), rowAt(), visibleRange()` Full docs & usage: https://thrumui.dev/components/virtual-list.md (or MCP `get_component` for `virtual-list`). --- ## Alert (`alert`) Free · Feedback · v1.0.0 A message in the flow of the page: a note, a confirmation, a warning or an error about what is on screen. It stays until the reader or the page removes it. For a message about an action that just happened elsewhere, use a toast; for one that covers the whole page, a banner. ```bash npx shadcn@latest add https://thrumui.dev/r/alert.json ``` Import: `@/components/ui/alert` Props (`*required`): `Alert: variant`, `Alert: urgent`, `Alert: icon`, `Alert: dismissible`, `Alert: onDismiss`, `Alert: dismissLabel`, `Alert: sound`, `Alert: ...props`, `AlertTitle`, `AlertDescription`, `AlertActions` Full docs & usage: https://thrumui.dev/components/alert.md (or MCP `get_component` for `alert`). --- ## Animated list (`animated-list`) Pro · Feedback · v1.0.0 A list whose items slide in, fade out and glide to their new places when the data changes: a notification feed, a queue, a ranking. Nothing moves when it first appears. For a timestamped stream of events with its own layout, use the activity feed. ```bash npx shadcn@latest add @thrum-pro/animated-list ``` Import: `@/components/ui/animated-list` Props (`*required`): `AnimatedList: max`, `AnimatedList: live`, `AnimatedList: sound`, `AnimatedList: ...props`, `AnimatedListItem` Full docs & usage: https://thrumui.dev/components/animated-list.md (or MCP `get_component` for `animated-list`). --- ## Banner (`banner`) Free · Feedback · v1.0.0 A bar across the top of a page or an app for news that concerns all of it: maintenance, a trial that ends, an outage. One message, one link, one action and a close button. For a message about one part of the page use an alert; for the result of something the reader just did, a toast. ```bash npx shadcn@latest add https://thrumui.dev/r/banner.json ``` Import: `@/components/ui/banner` Props (`*required`): `Banner: variant`, `Banner: open`, `Banner: defaultOpen`, `Banner: onOpenChange`, `Banner: dismissible`, `Banner: dismissLabel`, `Banner: sticky`, `Banner: framed`, `Banner: icon`, `Banner: sound`, `Banner: aria-label`, `Banner: ...props`, `BannerContent`, `BannerAction` Full docs & usage: https://thrumui.dev/components/banner.md (or MCP `get_component` for `banner`). --- ## Chat message (`chat-message`) Pro · Feedback · v1.0.0 One message in a conversation, between people or with an assistant: avatar, author and time, a bubble that keeps line breaks, attachments, the delivery status of what you sent, and actions on hover. It also draws the typing dots and a caret for text that is still streaming in. For a feed of events, use the activity feed. ```bash npx shadcn@latest add @thrum-pro/chat-message ``` Import: `@/components/ui/chat-message` Props (`*required`): `ChatMessage: side`, `ChatMessage: ...props`, `ChatMessageAvatar`, `ChatMessageContent`, `ChatMessageHeader`, `ChatMessageAuthor`, `ChatMessageTime: dateTime*`, `ChatMessageTime: locale`, `ChatMessageTime: timeZone`, `ChatMessageBubble: streaming`, `ChatMessageBubble: typing`, `ChatMessageBubble: typingLabel`, `ChatMessageBubble: paused`, `ChatMessageAttachments`, `ChatMessageFile: name*`, `ChatMessageFile: detail`, `ChatMessageFile: href`, `ChatMessageStatus: status*`, `ChatMessageStatus: onRetry`, `ChatMessageStatus: labels`, `ChatMessageActions` Full docs & usage: https://thrumui.dev/components/chat-message.md (or MCP `get_component` for `chat-message`). --- ## Code block (`code-block`) Pro · Feedback · v1.0.0 A block of code with a header for the file name or language, a copy button and a wrap switch. Lines can be numbered, marked, or shown as added and removed, and long code scrolls or folds. For a word of code inside a sentence, use inline code from the typography set. ```bash npx shadcn@latest add @thrum-pro/code-block ``` Import: `@/components/ui/code-block` Props (`*required`): `code`, `tokens`, `language`, `filename`, `lineNumbers`, `startLine`, `highlight`, `added`, `removed`, `defaultWrap`, `wrapToggle`, `copyable`, `maxHeight`, `collapseAfter`, `sound`, `aria-label`, `...props`, `tokenizeCode()`, `parseLineRanges()` Full docs & usage: https://thrumui.dev/components/code-block.md (or MCP `get_component` for `code-block`). --- ## Empty state (`empty-state`) Free · Feedback · v1.0.0 What a list, a table or a page shows when there is nothing in it yet: a picture, a title, one sentence and the action that fills it. Use the small size inside a card or a table and the medium one for a page. For a page that failed or does not exist, use the result state. ```bash npx shadcn@latest add https://thrumui.dev/r/empty-state.json ``` Import: `@/components/ui/empty-state` Props (`*required`): `EmptyState: size`, `EmptyState: bordered`, `EmptyState: headingLevel`, `EmptyState: ...props`, `EmptyStateMedia`, `EmptyStateTitle`, `EmptyStateDescription`, `EmptyStateActions` Full docs & usage: https://thrumui.dev/components/empty-state.md (or MCP `get_component` for `empty-state`). --- ## Image zoom (`image-zoom`) Pro · Feedback · v1.0.0 An image that opens large when it is pressed, growing out of its thumbnail and shrinking back into it. Use it for screenshots, photos and plans that need a closer look. For any other content in a window, use a dialog. ```bash npx shadcn@latest add @thrum-pro/image-zoom ``` Import: `@/components/ui/image-zoom` Props (`*required`): `src*`, `alt*`, `zoomSrc`, `caption`, `open`, `defaultOpen`, `onOpenChange`, `closeLabel`, `sound`, `className`, `triggerClassName`, `...props` Full docs & usage: https://thrumui.dev/components/image-zoom.md (or MCP `get_component` for `image-zoom`). --- ## QR code (`qr-code`) Pro · Feedback · v1.0.0 A QR code drawn as SVG from a string: a link to open on a phone, a code to join a workspace, Wi-Fi details. The encoder is in the file, with no package. The code is black on white in both themes, because many scanners do not read a light code on a dark ground. For a value people type, show it as text next to the code as well. ```bash npx shadcn@latest add @thrum-pro/qr-code ``` Import: `@/components/ui/qr-code` Props (`*required`): `value*`, `title*`, `size`, `level`, `margin`, `children`, `tooLongLabel`, `className`, `...props`, `qrMatrix()` Full docs & usage: https://thrumui.dev/components/qr-code.md (or MCP `get_component` for `qr-code`). --- ## Reasoning panel (`reasoning-panel`) Pro · Feedback · v1.0.0 A collapsible thought-trace disclosure that surfaces step-by-step reasoning alongside live streaming status, elapsed duration and token totals. Use it above assistant responses or workflow outputs when readers need to inspect how a conclusion was reached without cluttering the primary answer. For structured action parameters and approval gates, use the tool call card. ```bash npx shadcn@latest add @thrum-pro/reasoning-panel ``` Import: `@/components/ui/reasoning-panel` Props (`*required`): `steps*`, `streaming`, `durationMs`, `showDuration`, `tokens`, `label`, `open`, `defaultOpen`, `onOpenChange`, `emptyLabel`, `paused`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/reasoning-panel.md (or MCP `get_component` for `reasoning-panel`). --- ## Result state (`result-state`) Pro · Feedback · v1.0.0 The outcome of a whole task or page: a payment went through, an import failed, access is refused, a page does not exist. A large glyph or status code, a title, a sentence, the way out and an optional reference for support. For a list that is simply empty, use the empty state; for a passing note, a toast. ```bash npx shadcn@latest add @thrum-pro/result-state ``` Import: `@/components/ui/result-state` Props (`*required`): `ResultState: status`, `ResultState: animated`, `ResultState: headingLevel`, `ResultState: icon`, `ResultState: sound`, `ResultState: ...props`, `ResultStateTitle`, `ResultStateDescription`, `ResultStateActions`, `ResultStateDetails` Full docs & usage: https://thrumui.dev/components/result-state.md (or MCP `get_component` for `result-state`). --- ## Tool call card (`tool-call-card`) Pro · Feedback · v1.0.0 A structured execution card for inspecting tool invocations and gating sensitive mutations with human-in-the-loop approval. It pairs an explicit status label and glyph with monospace JSON argument and result blocks, one-click copy buttons, and Approve or Reject actions when awaiting confirmation. For multi-step thought traces without approval gates, use the reasoning panel. ```bash npx shadcn@latest add @thrum-pro/tool-call-card ``` Import: `@/components/ui/tool-call-card` Props (`*required`): `name*`, `status`, `args`, `result`, `error`, `durationMs`, `expanded`, `defaultExpanded`, `onExpandedChange`, `onApprove`, `onReject`, `approvalPrompt`, `approveLabel`, `rejectLabel`, `paused`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/tool-call-card.md (or MCP `get_component` for `tool-call-card`). --- ## Accordion (`accordion`) Free · Layout · v1.0.0 Stacked sections whose bodies open and close: questions and answers, groups of settings, a long form in steps. Use it when readers need one or two sections out of many. For a single section use the collapsible; for views of equal weight use tabs. ```bash npx shadcn@latest add https://thrumui.dev/r/accordion.json ``` Import: `@/components/ui/accordion` Props (`*required`): `Accordion: value`, `Accordion: defaultValue`, `Accordion: onValueChange`, `Accordion: multiple`, `Accordion: collapsible`, `Accordion: variant`, `Accordion: disabled`, `Accordion: hiddenUntilFound`, `Accordion: keepMounted`, `Accordion: sound`, `AccordionItem: value`, `AccordionItem: disabled`, `AccordionItem: onOpenChange`, `AccordionTrigger: headingLevel`, `AccordionContent`, `className` Full docs & usage: https://thrumui.dev/components/accordion.md (or MCP `get_component` for `accordion`). --- ## Aspect ratio (`aspect-ratio`) Free · Layout · v1.0.0 A box that keeps one shape at any width: a video, a map, a cover image. It holds its height before the media loads, so nothing below it jumps. For a picture that should keep its own shape, a plain image with a width and height does the same. ```bash npx shadcn@latest add https://thrumui.dev/r/aspect-ratio.json ``` Import: `@/components/ui/aspect-ratio` Props (`*required`): `ratio`, `children`, `className`, `style`, `...props` Full docs & usage: https://thrumui.dev/components/aspect-ratio.md (or MCP `get_component` for `aspect-ratio`). --- ## Carousel (`carousel`) Free · Layout · v1.0.0 Slides in a row that a reader swipes, scrolls or steps through with buttons: onboarding cards, product shots, quotes. It is CSS scroll snap, so touch and trackpads work natively. When every item matters, a grid or a list shows them all at once and is easier to scan. ```bash npx shadcn@latest add https://thrumui.dev/r/carousel.json ``` Import: `@/components/ui/carousel` Props (`*required`): `Carousel: orientation`, `Carousel: loop`, `Carousel: autoplay`, `Carousel: paused`, `Carousel: onIndexChange`, `Carousel: sound`, `Carousel: aria-label`, `CarouselContent`, `CarouselItem`, `CarouselPrevious, CarouselNext`, `CarouselDots`, `className` Full docs & usage: https://thrumui.dev/components/carousel.md (or MCP `get_component` for `carousel`). --- ## Collapsible (`collapsible`) Free · Layout · v1.0.0 One region that a button shows and hides: the rest of a list, more filters, advanced settings. The first lines stay in view and the rest waits behind a button. For several such regions in a stack use the accordion; for content over the page use a popover. ```bash npx shadcn@latest add https://thrumui.dev/r/collapsible.json ``` Import: `@/components/ui/collapsible` Props (`*required`): `Collapsible: open`, `Collapsible: defaultOpen`, `Collapsible: onOpenChange`, `Collapsible: disabled`, `Collapsible: sound`, `Collapsible: className`, `CollapsibleTrigger`, `CollapsibleContent: hiddenUntilFound`, `CollapsibleContent: keepMounted`, `CollapsibleContent: className` Full docs & usage: https://thrumui.dev/components/collapsible.md (or MCP `get_component` for `collapsible`). --- ## Data list (`data-list`) Pro · Layout · v1.0.0 Label and value pairs: the details of an order, a customer, a server. Labels line up in a column beside their values and stack above them when the list is narrow. For many records with the same fields use a table; for a single figure use the stat card. ```bash npx shadcn@latest add @thrum-pro/data-list ``` Import: `@/components/ui/data-list` Props (`*required`): `DataList: orientation`, `DataList: labelWidth`, `DataList: dividers`, `DataList: framed`, `DataListItem`, `DataListLabel`, `DataListValue: copyValue`, `DataListValue: copyLabel`, `className` Full docs & usage: https://thrumui.dev/components/data-list.md (or MCP `get_component` for `data-list`). --- ## List (`list`) Free · Layout · v1.0.0 Rows for settings, feeds and pickers: a picture on the left, a title and a description, and a value, switch or chevron on the right. A row that does one thing on press is a real button or link that fills it. For records with many fields use a table; for label and value pairs use the data list. ```bash npx shadcn@latest add https://thrumui.dev/r/list.json ``` Import: `@/components/ui/list` Props (`*required`): `List: dividers`, `List: density`, `List: framed`, `ListItem: disabled`, `ListItemButton: selected`, `ListItemButton`, `ListItemLink: current`, `ListItemLink: disabled`, `ListItemLink`, `ListItemMedia`, `ListItemContent`, `ListItemTitle`, `ListItemDescription`, `ListItemTrailing`, `ListSubheader`, `className` Full docs & usage: https://thrumui.dev/components/list.md (or MCP `get_component` for `list`). --- ## Resizable panels (`resizable-panels`) Free · Layout · v1.0.0 Panes split by lines that a reader drags, or moves with the keyboard: a sidebar beside an editor, a result under a query. A panel can collapse to nothing or to a rail. For a sidebar that only opens and closes, a sheet or a collapsible is simpler. ```bash npx shadcn@latest add https://thrumui.dev/r/resizable-panels.json ``` Import: `@/components/ui/resizable-panels-layout` Props (`*required`): `ResizablePanelGroup: direction`, `ResizablePanelGroup: onLayout`, `ResizablePanelGroup: sound`, `ResizablePanel: defaultSize`, `ResizablePanel: minSize`, `ResizablePanel: maxSize`, `ResizablePanel: collapsible`, `ResizablePanel: collapsedSize`, `ResizableHandle: withHandle`, `ResizableHandle: disabled`, `ResizableHandle: aria-label`, `className` Full docs & usage: https://thrumui.dev/components/resizable-panels.md (or MCP `get_component` for `resizable-panels`). --- ## Scroll area (`scroll-area`) Free · Layout · v1.0.0 A box of fixed size whose content scrolls, with thin scrollbars in the theme's colours that appear only when they are needed. Scrolling stays native. For a page that scrolls as a whole, use the browser's own scrollbar; this is for panels, lists and code inside a page. ```bash npx shadcn@latest add https://thrumui.dev/r/scroll-area.json ``` Import: `@/components/ui/scroll-area` Props (`*required`): `ScrollArea: orientation`, `ScrollArea: aria-label`, `ScrollArea: aria-labelledby`, `ScrollArea: viewportClassName`, `ScrollArea: framed`, `ScrollArea: fade`, `ScrollArea: scrollbars`, `ScrollArea: className`, `ScrollArea: overflowEdgeThreshold`, `ScrollBar: orientation`, `ScrollBar: keepMounted`, `children` Full docs & usage: https://thrumui.dev/components/scroll-area.md (or MCP `get_component` for `scroll-area`). --- ## Timeline (`timeline`) Pro · Layout · v1.0.0 Events in order on a connecting line: an order's progress, a deploy history, an audit trail. Each event has a marker, a time, a title and a body. For a live stream of events that keeps growing use the activity feed; for steps a reader moves through use a stepper. ```bash npx shadcn@latest add @thrum-pro/timeline ``` Import: `@/components/ui/timeline` Props (`*required`): `Timeline: align`, `Timeline: reveal`, `Timeline: framed`, `TimelineItem: status`, `TimelineItem: pending`, `TimelineMarker: children`, `TimelineContent`, `TimelineTime`, `TimelineTitle`, `TimelineDescription`, `className` Full docs & usage: https://thrumui.dev/components/timeline.md (or MCP `get_component` for `timeline`). --- ## Animated number (`animated-number`) Free · Numbers · v1.0.0 A number that rolls to its value and lands without bouncing. Use it for headline figures that change while the reader is looking: a total, a balance, a live count. While it rolls it keeps the width of the wider of the old and the new number, so it never runs over the text beside it. ```bash npx shadcn@latest add https://thrumui.dev/r/animated-number.json ``` Import: `@/components/ui/animated-number` Props (`*required`): `value*`, `from`, `format`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/animated-number.md (or MCP `get_component` for `animated-number`). --- ## Stat card (`stat-card`) Pro · Numbers · v1.0.0 A KPI tile for the top of a dashboard: a label, a large number, the change against an earlier period and a trend line. Use it when one figure needs its context beside it. For a bare figure, use the animated number; for a trend alone, use the sparkline. ```bash npx shadcn@latest add @thrum-pro/stat-card ``` Import: `@/components/ui/stat-card` Props (`*required`): `label*`, `value*`, `format`, `locale`, `delta`, `deltaLabel`, `goodDirection`, `trend`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/stat-card.md (or MCP `get_component` for `stat-card`). --- ## Trend badge (`trend-badge`) Pro · Numbers · v1.0.0 A small chip for a change against a baseline: an arrow, the signed value and the period it is compared with. Put it beside a figure, in a table cell or under a heading. When the figure and its trend line belong with it, use the stat card. ```bash npx shadcn@latest add @thrum-pro/trend-badge ``` Import: `@/components/ui/trend-badge` Props (`*required`): `value*`, `period`, `invert`, `format`, `locale`, `surface`, `className` Full docs & usage: https://thrumui.dev/components/trend-badge.md (or MCP `get_component` for `trend-badge`). --- ## Area chart (`area-chart`) Pro · Charts · v1.0.0 One metric over time, drawn as a filled line. Use it when the amount matters as much as the trend: revenue, sessions, usage. For several lines on one plot, use the line chart; for a trend with no axes, use the sparkline. ```bash npx shadcn@latest add @thrum-pro/area-chart ``` Import: `@/components/ui/area-chart` Props (`*required`): `data*`, `label*`, `color`, `format`, `locale`, `yAxis`, `xAxis`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/area-chart.md (or MCP `get_component` for `area-chart`). --- ## Bar chart (`bar-chart`) Free · Charts · v1.0.1 One metric as vertical bars, one bar per category or period. Use it to compare amounts: orders per day, requests per endpoint. For a continuous trend, use the area chart; for a trend with no axes, use the sparkline. ```bash npx shadcn@latest add https://thrumui.dev/r/bar-chart.json ``` Import: `@/components/ui/bar-chart` Props (`*required`): `data*`, `label*`, `color`, `format`, `locale`, `yAxis`, `xAxis`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/bar-chart.md (or MCP `get_component` for `bar-chart`). --- ## Bar list (`bar-list`) Pro · Charts · v1.0.0 Ranked rows, each with a name, a bar to a shared scale and a formatted value: top pages, top referrers, busiest endpoints. Rows can be links or buttons, and a long list folds behind “Show all”. For values over time, use the bar chart. ```bash npx shadcn@latest add @thrum-pro/bar-list ``` Import: `@/components/ui/bar-list` Props (`*required`): `data*`, `label*`, `sort`, `max`, `format`, `locale`, `color`, `onSelect`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/bar-list.md (or MCP `get_component` for `bar-list`). --- ## Bullet chart (`bullet-chart`) Pro · Charts · v1.0.0 Actual against target for a few measures at once: a bar for the value, a tick for the target, and shaded ranges that say whether the value is poor, fair or good. It replaces a row of gauges in a fraction of the room. For one reading on a fixed scale, use the gauge. ```bash npx shadcn@latest add @thrum-pro/bullet-chart ``` Import: `@/components/ui/bullet-chart` Props (`*required`): `measures*`, `label*`, `rangeNames`, `color`, `format`, `locale`, `axis`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/bullet-chart.md (or MCP `get_component` for `bullet-chart`). --- ## Calendar heatmap (`calendar-heatmap`) Pro · Charts · v1.0.1 A year of daily values as a grid of weeks by weekdays, coloured in steps of one hue. Use it to show rhythm over a long span: commits, logins, deploys, workouts. For the exact shape of one metric over time, use the area chart. ```bash npx shadcn@latest add @thrum-pro/calendar-heatmap ``` Import: `@/components/ui/calendar-heatmap` Props (`*required`): `data*`, `label*`, `weekStart`, `color`, `levels`, `format`, `locale`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/calendar-heatmap.md (or MCP `get_component` for `calendar-heatmap`). --- ## Category bar (`category-bar`) Pro · Charts · v1.0.0 One bar split into segments by share: traffic by source, budget by team, tickets by state. Running totals sit under the boundaries, a legend gives each share, and an optional pointer marks a value such as a target. For parts of a whole with a total in the middle, use the donut chart; for ranked rows, use the bar list. ```bash npx shadcn@latest add @thrum-pro/category-bar ``` Import: `@/components/ui/category-bar` Props (`*required`): `data*`, `label*`, `marker`, `boundaries`, `legend`, `format`, `locale`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/category-bar.md (or MCP `get_component` for `category-bar`). --- ## Chart legend (`chart-legend`) Free · Charts · v1.0.0 A legend whose items switch the series of a chart on and off. It holds no chart of its own: pass its hidden keys to any chart that takes them, as the demo does with the line chart. For a legend that only names the colours, a plain list is enough. ```bash npx shadcn@latest add https://thrumui.dev/r/chart-legend.json ``` Import: `@/components/ui/chart-legend` Props (`*required`): `items*`, `label*`, `mark`, `orientation`, `hidden`, `defaultHidden`, `onHiddenChange`, `format`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/chart-legend.md (or MCP `get_component` for `chart-legend`). --- ## Chart tooltip (`chart-tooltip`) Free · Charts · v1.0.0 The readout box a chart shows at its cursor, as parts for people who draw their own charts: the box, a title, rows with a swatch and a total. The box stays inside its container wherever the cursor is. The charts in this library draw their own readout; use these parts for a chart of yours. ```bash npx shadcn@latest add https://thrumui.dev/r/chart-tooltip.json ``` Import: `@/components/ui/chart-tooltip` Props (`*required`): `ChartTooltip: x*`, `ChartTooltip: y*`, `ChartTooltip: width*`, `ChartTooltip: open`, `ChartTooltip: side`, `ChartTooltip: children`, `ChartTooltip: className`, `ChartTooltipTitle: children`, `ChartTooltipRow: color`, `ChartTooltipRow: label*`, `ChartTooltipRow: value*`, `ChartTooltipRow: muted`, `ChartTooltipTotal: label`, `ChartTooltipTotal: value*`, `className` Full docs & usage: https://thrumui.dev/components/chart-tooltip.md (or MCP `get_component` for `chart-tooltip`). --- ## Cohort grid (`cohort-grid`) Pro · Charts · v1.0.0 Retention by cohort: one row per group of users who started together, one column per period since, and the share still active written in every cell over a colour that deepens with it. Read down a column to compare cohorts at the same age. For any other matrix, use the heatmap. ```bash npx shadcn@latest add @thrum-pro/cohort-grid ``` Import: `@/components/ui/cohort-grid` Props (`*required`): `periods*`, `cohorts*`, `label*`, `color`, `average`, `cohortLabel`, `sizeLabel`, `format`, `locale`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/cohort-grid.md (or MCP `get_component` for `cohort-grid`). --- ## Combo chart (`combo-chart`) Pro · Charts · v1.0.0 Amounts as bars with one or two lines over the same categories: orders against a target, sales against conversion. There is one value axis. A line on another scale is drawn indexed, as a percent of its own peak, so its shape can be compared with the bars while its real values stay in the readout. For several lines alone, use the line chart. ```bash npx shadcn@latest add @thrum-pro/combo-chart ``` Import: `@/components/ui/combo-chart` Props (`*required`): `labels*`, `bars*`, `lines`, `label*`, `format`, `locale`, `yAxis`, `xAxis`, `legend`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/combo-chart.md (or MCP `get_component` for `combo-chart`). --- ## Donut chart (`donut-chart`) Pro · Charts · v1.0.1 Parts of a whole as a ring, with the total in the middle. Use it for two to five parts whose shares matter more than their exact sizes: traffic by source, spend by team. When the parts have to be compared closely, use the bar chart. ```bash npx shadcn@latest add @thrum-pro/donut-chart ``` Import: `@/components/ui/donut-chart` Props (`*required`): `data*`, `label*`, `format`, `locale`, `total`, `thickness`, `legend`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/donut-chart.md (or MCP `get_component` for `donut-chart`). --- ## Funnel chart (`funnel-chart`) Pro · Charts · v1.0.0 The stages of a conversion, from first visit to purchase, as bars that shrink with each step. Every stage shows its count and its share of the first stage, and the drop from the stage before is written between the bars. For counts that do not flow from one step to the next, use the bar chart. ```bash npx shadcn@latest add @thrum-pro/funnel-chart ``` Import: `@/components/ui/funnel-chart` Props (`*required`): `data*`, `label*`, `align`, `color`, `format`, `locale`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/funnel-chart.md (or MCP `get_component` for `funnel-chart`). --- ## Heatmap (`heatmap`) Pro · Charts · v1.0.0 A table of numbers read as colour: one cell per pair of row and column, on a scale of one hue. Use it to find the busy hours of a week or the strong pairs in a matrix. For daily values over a year, use the calendar heatmap; for retention by cohort, use the cohort grid. ```bash npx shadcn@latest add @thrum-pro/heatmap ``` Import: `@/components/ui/heatmap` Props (`*required`): `rows*`, `columns*`, `values*`, `label*`, `color`, `min`, `max`, `showValues`, `legend`, `format`, `locale`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/heatmap.md (or MCP `get_component` for `heatmap`). --- ## Histogram (`histogram`) Pro · Charts · v1.0.0 How a list of numbers is spread: response times, order values, scores. The numbers are counted into bins of equal width and drawn as touching bars, with optional lines at the mean and the median. For one bar per category, use the bar chart. ```bash npx shadcn@latest add @thrum-pro/histogram ``` Import: `@/components/ui/histogram` Props (`*required`): `values*`, `label*`, `binCount`, `binWidth`, `domain`, `markers`, `format`, `locale`, `yAxis`, `xAxis`, `color`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/histogram.md (or MCP `get_component` for `histogram`). --- ## Line chart (`line-chart`) Pro · Charts · v1.0.1 Up to five metrics over the same period, drawn as lines on one plot. Use it to compare trends: latency per service, signups per plan. Legend items switch series on and off. For one metric where the amount matters, use the area chart. ```bash npx shadcn@latest add @thrum-pro/line-chart ``` Import: `@/components/ui/line-chart` Props (`*required`): `labels*`, `series*`, `label*`, `format`, `locale`, `yAxis`, `xAxis`, `legend`, `hidden`, `defaultHidden`, `onHiddenChange`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/line-chart.md (or MCP `get_component` for `line-chart`). --- ## Live chart (`live-chart`) Pro · Charts · v1.0.0 A line for a value that keeps arriving: latency, throughput, queue length. Your code owns the samples and adds one every second or so; the chart slides to each new one and marks the newest point. For a fixed set of points with a reading cursor, use the area chart or the line chart. ```bash npx shadcn@latest add @thrum-pro/live-chart ``` Import: `@/components/ui/live-chart` Props (`*required`): `data*`, `label*`, `window`, `color`, `format`, `locale`, `yAxis`, `xAxis`, `threshold`, `paused`, `hideLabel`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/live-chart.md (or MCP `get_component` for `live-chart`). --- ## Metric comparison (`metric-comparison`) Pro · Charts · v1.0.0 One metric for this period against the last: the value, the change as a signed percentage, and both values as thin bars to one scale. Use it where the earlier value matters as much as the change. For a value with a trend line, use the stat card; for the change alone, use the trend badge. ```bash npx shadcn@latest add @thrum-pro/metric-comparison ``` Import: `@/components/ui/metric-comparison` Props (`*required`): `label*`, `current*`, `previous*`, `currentLabel`, `previousLabel`, `invert`, `format`, `locale`, `color`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/metric-comparison.md (or MCP `get_component` for `metric-comparison`). --- ## Radar chart (`radar-chart`) Pro · Charts · v1.0.0 One to three things compared across three to eight qualities, each drawn as an outlined shape: vendor scores, skill profiles, product ratings. It shows the shape of a profile at a glance; for exact comparison of a few values, a bar chart reads faster. ```bash npx shadcn@latest add @thrum-pro/radar-chart ``` Import: `@/components/ui/radar-chart` Props (`*required`): `axes*`, `series*`, `label*`, `max`, `grid`, `rings`, `format`, `locale`, `legend`, `hidden`, `defaultHidden`, `onHiddenChange`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/radar-chart.md (or MCP `get_component` for `radar-chart`). --- ## Radial bar chart (`radial-bar-chart`) Pro · Charts · v1.0.0 Up to five progress arcs nested in one another, each from zero to its share of a maximum, with a total in the middle. Use it for a few goals of the same kind: quota by region, storage by disk. Lengths on an arc are harder to compare than on a bar, so when the exact comparison matters, use the bullet chart or the bar chart. ```bash npx shadcn@latest add @thrum-pro/radial-bar-chart ``` Import: `@/components/ui/radial-bar-chart` Props (`*required`): `data*`, `label*`, `max`, `sweep`, `total`, `format`, `locale`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/radial-bar-chart.md (or MCP `get_component` for `radial-bar-chart`). --- ## Scatter chart (`scatter-chart`) Pro · Charts · v1.0.0 Points on two value axes, to show how two measures move together: deal size against days to close, price against rating. A third value can set each mark's area, and a trend line can summarise each series. For one measure over time, use the line chart. ```bash npx shadcn@latest add @thrum-pro/scatter-chart ``` Import: `@/components/ui/scatter-chart` Props (`*required`): `series*`, `label*`, `xLabel`, `yLabel`, `sizeLabel`, `xFormat`, `format`, `sizeFormat`, `locale`, `trendLine`, `legend`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/scatter-chart.md (or MCP `get_component` for `scatter-chart`). --- ## Sparkline (`sparkline`) Free · Charts · v1.0.0 A word-sized trend line with no axes and built-in hover scrubbing. Put it in a table cell or beside a number to show direction at a glance and inspect points on demand. When readers need axes or a full data table, use the area chart. ```bash npx shadcn@latest add https://thrumui.dev/r/sparkline.json ``` Import: `@/components/ui/sparkline` Props (`*required`): `data*`, `label*`, `area`, `endDot`, `interactive`, `tabIndex`, `sound`, `color`, `format`, `locale`, `className` Full docs & usage: https://thrumui.dev/components/sparkline.md (or MCP `get_component` for `sparkline`). --- ## Stacked bar chart (`stacked-bar-chart`) Pro · Charts · v1.0.1 A total per period, split into its parts: revenue by product, requests by status. The height of a bar is the total, and only the bottom part shares a baseline, so use it when the total matters most. To compare the trends of the parts, use the line chart. ```bash npx shadcn@latest add @thrum-pro/stacked-bar-chart ``` Import: `@/components/ui/stacked-bar-chart` Props (`*required`): `labels*`, `series*`, `label*`, `format`, `locale`, `yAxis`, `xAxis`, `legend`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/stacked-bar-chart.md (or MCP `get_component` for `stacked-bar-chart`). --- ## Status tracker (`status-tracker`) Pro · Charts · v1.0.0 A row of small blocks, one per day or run, coloured and shaped by status, with the share that went well. Use it for uptime on a status page or the history of a build. For a year of daily amounts, use the calendar heatmap. ```bash npx shadcn@latest add @thrum-pro/status-tracker ``` Import: `@/components/ui/status-tracker` Props (`*required`): `data*`, `label*`, `words`, `summary`, `summaryLabel`, `legend`, `locale`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/status-tracker.md (or MCP `get_component` for `status-tracker`). --- ## Treemap (`treemap`) Pro · Charts · v1.0.0 Parts of a whole as rectangles whose areas follow their values, grouped one level deep: spend by team and service, storage by folder and file type. It shows many parts at once where a donut chart can show five. When the exact sizes must be compared, use the bar chart. ```bash npx shadcn@latest add @thrum-pro/treemap ``` Import: `@/components/ui/treemap` Props (`*required`): `data*`, `label*`, `format`, `locale`, `legend`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/treemap.md (or MCP `get_component` for `treemap`). --- ## Waterfall chart (`waterfall-chart`) Pro · Charts · v1.0.0 How a total got from one number to another: a start, the gains and losses in between, and the end. Use it for a cash bridge, a budget against actuals, or the change in users over a month. To compare totals that do not build on each other, use the bar chart. ```bash npx shadcn@latest add @thrum-pro/waterfall-chart ``` Import: `@/components/ui/waterfall-chart` Props (`*required`): `data*`, `label*`, `format`, `locale`, `values`, `yAxis`, `xAxis`, `onActiveChange`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/waterfall-chart.md (or MCP `get_component` for `waterfall-chart`). --- ## Gauge (`gauge`) Pro · Progress · v1.0.0 A panel meter for one reading on a fixed scale: load, temperature, a score out of 100. Use it when the reader needs to see how close a value is to a limit. For progress towards a goal, use the ring meter; for a quota, the usage meter. ```bash npx shadcn@latest add @thrum-pro/gauge ``` Import: `@/components/ui/gauge` Props (`*required`): `value*`, `label*`, `min`, `max`, `warnAt`, `alarmAt`, `color`, `format`, `locale`, `zoneLabels`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/gauge.md (or MCP `get_component` for `gauge`). --- ## Progress bar (`progress-bar`) Free · Progress · v1.0.1 A linear bar for one value on a fixed scale, with the value written beside it: an upload, an import, steps done. Use it for work that moves towards an end and finishes. For a quota with thresholds, use the usage meter; for a compact round figure, the ring meter. ```bash npx shadcn@latest add https://thrumui.dev/r/progress-bar.json ``` Import: `@/components/ui/progress-bar` Props (`*required`): `value*`, `label*`, `min`, `max`, `format`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/progress-bar.md (or MCP `get_component` for `progress-bar`). --- ## Ring meter (`ring-meter`) Pro · Progress · v1.0.0 A circular meter for one reading against a maximum: disk used, quota spent, a score out of 100. Use it where a compact, glanceable figure is wanted. When the limit and the thresholds matter more than the shape, use the usage meter. ```bash npx shadcn@latest add @thrum-pro/ring-meter ``` Import: `@/components/ui/ring-meter` Props (`*required`): `value*`, `max`, `label*`, `format`, `locale`, `status`, `statusLabel`, `showLabel`, `thickness`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/ring-meter.md (or MCP `get_component` for `ring-meter`). --- ## Usage meter (`usage-meter`) Pro · Progress · v1.0.1 A quota bar: how much of a limit is used, with a mark at each threshold and a word when usage gets close. Use it on billing and settings pages for storage, seats or requests. For a reading with no thresholds, use the ring meter. ```bash npx shadcn@latest add @thrum-pro/usage-meter ``` Import: `@/components/ui/usage-meter` Props (`*required`): `used*`, `limit*`, `label*`, `format`, `locale`, `warnAt`, `alarmAt`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/usage-meter.md (or MCP `get_component` for `usage-meter`). --- ## Activity feed (`activity-feed`) Pro · Live feeds · v1.0.0 A short list of recent events that updates in place: deploys, alerts, sign-ups, payments. Your code owns the list and adds new events at the start; the feed animates the arrival. Press New data to add an event. For a full history with paging, use a table. ```bash npx shadcn@latest add @thrum-pro/activity-feed ``` Import: `@/components/ui/activity-feed` Props (`*required`): `items*`, `label*`, `max`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/activity-feed.md (or MCP `get_component` for `activity-feed`). --- ## Border beam (`border-beam`) Pro · Effects · v1.0.0 A light that travels round the border of a card, a button or an input, to mark the one thing that is new or recommended. It follows whatever corner radius its parent has. For a glow that answers the pointer instead, use the spotlight card. ```bash npx shadcn@latest add @thrum-pro/border-beam ``` Import: `@/components/ui/border-beam` Props (`*required`): `duration`, `size`, `delay`, `borderWidth`, `colorFrom`, `colorTo`, `reverse`, `paused`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/border-beam.md (or MCP `get_component` for `border-beam`). --- ## Grid pattern (`grid-pattern`) Pro · Effects · v1.0.0 A background of lines, dots or crosses that fills its parent, for a hero, an empty state or a card that needs texture. It is an SVG pattern in the border colour, so it stays quiet in both themes. It never moves; for light that travels a border, use the border beam. ```bash npx shadcn@latest add @thrum-pro/grid-pattern ``` Import: `@/components/ui/grid-pattern` Props (`*required`): `variant`, `size`, `strokeWidth`, `dotRadius`, `fade`, `highlight`, `interactive`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/grid-pattern.md (or MCP `get_component` for `grid-pattern`). --- ## Image compare (`image-compare`) Pro · Effects · v1.0.0 Two images, or any two pieces of content, one over the other, with a divider that shows more of one or the other: an edit against the original, a redesign against the old page, a map then and now. For a single image that opens larger, use the image zoom. ```bash npx shadcn@latest add @thrum-pro/image-compare ``` Import: `@/components/ui/image-compare` Props (`*required`): `before*`, `after*`, `beforeLabel`, `afterLabel`, `showLabels`, `value`, `defaultValue`, `onValueChange`, `orientation`, `hover`, `ratio`, `step`, `sound`, `disabled`, `aria-label`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/image-compare.md (or MCP `get_component` for `image-compare`). --- ## Marquee (`marquee`) Pro · Effects · v1.0.0 An endless row of items that scrolls by itself: customer logos, quotes, headlines. Use it for content that is pleasant to glimpse and fine to miss. For figures a reader needs to compare, use a table or a list; for live prices, the ticker tape. ```bash npx shadcn@latest add @thrum-pro/marquee ``` Import: `@/components/ui/marquee` Props (`*required`): `children*`, `direction`, `speed`, `gap`, `fade`, `pauseOnHover`, `paused`, `asList`, `reducedMotion`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/marquee.md (or MCP `get_component` for `marquee`). --- ## Spotlight card (`spotlight-card`) Pro · Effects · v1.0.0 A card whose surface and border light up around the pointer, for a grid of features or plans that invites a closer look. Inside it is the card: build it from the same parts. For a light that runs round the border on its own, use the border beam. ```bash npx shadcn@latest add @thrum-pro/spotlight-card ``` Import: `@/components/ui/spotlight-card` Props (`*required`): `size`, `ambient`, `children`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/spotlight-card.md (or MCP `get_component` for `spotlight-card`). --- ## Text scramble (`text-scramble`) Pro · Effects · v1.0.0 Text that resolves into place from random glyphs, for a headline that lands, a code that is revealed, a status that changes. Use it once on a screen, on a short line. For a label that says work is still going, use the text shimmer. ```bash npx shadcn@latest add @thrum-pro/text-scramble ``` Import: `@/components/ui/text-scramble` Props (`*required`): `children*`, `duration`, `characters`, `playOnMount`, `playOnHover`, `trigger`, `seed`, `paused`, `sound`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/text-scramble.md (or MCP `get_component` for `text-scramble`). --- ## Text shimmer (`text-shimmer`) Free · Effects · v1.0.0 Text with a band of light that travels across it, for a label that says work is under way: generating, searching, thinking. It reads as busy without a spinner beside it. For a wait whose progress is known, use the progress bar; for a block of content still loading, the skeleton. ```bash npx shadcn@latest add https://thrumui.dev/r/text-shimmer.json ``` Import: `@/components/ui/text-shimmer` Props (`*required`): `children*`, `duration`, `spread`, `paused`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/text-shimmer.md (or MCP `get_component` for `text-shimmer`). --- ## Ticker tape (`ticker-tape`) Pro · Effects · v1.0.0 A scrolling row of live metrics, each with its value and its signed change: prices, queue lengths, regional sign-ups. It suits a header or a status bar where figures are glanced at. For figures a reader compares, use a table; for logos and quotes, the plain marquee. ```bash npx shadcn@latest add @thrum-pro/ticker-tape ``` Import: `@/components/ui/ticker-tape` Props (`*required`): `items*`, `label*`, `direction`, `speed`, `gap`, `format`, `changeFormat`, `locale`, `emptyLabel`, `fade`, `pauseOnHover`, `paused`, `sound`, `className`, `...props` Full docs & usage: https://thrumui.dev/components/ticker-tape.md (or MCP `get_component` for `ticker-tape`). --- ## App shell (`app-shell`) Free · Blocks · v1.0.0 A complete SaaS application frame combining a collapsible left sidebar, workspace switcher, grouped navigation, user footer, top bar with breadcrumbs and search trigger, and a scrolling content canvas. It adapts to its own container width, folding the sidebar into a slide-over drawer below 576 pixels. Use the sidebar alone when you already have your own page chrome. ```bash npx shadcn@latest add https://thrumui.dev/r/app-shell.json ``` Import: `@/components/app-shell` Props (`*required`): `workspace*`, `onWorkspaceClick`, `groups*`, `activeId`, `defaultActiveId`, `onActiveChange`, `collapsed`, `defaultCollapsed`, `onCollapsedChange`, `collapseShortcut`, `breadcrumbs`, `showSearch`, `searchLabel`, `searchShortcut`, `onSearch`, `actions`, `user`, `footer`, `compact`, `navLabel`, `contentAs`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/app-shell.md (or MCP `get_component` for `app-shell`). --- ## Chat thread (`chat-thread`) Pro · Blocks · v1.0.0 A whole conversation view: messages grouped by day and by sender, a typing row, a reply that streams in, and the message box. It follows the newest message unless the reader has scrolled up, and then offers a Jump to latest button with a count. For a single message, use the chat message. ```bash npx shadcn@latest add @thrum-pro/chat-thread ``` Import: `@/components/chat-thread` Props (`*required`): `messages*`, `label`, `header`, `typing`, `onSend`, `onStop`, `onRetry`, `promptLabel`, `placeholder`, `today`, `locale`, `timeZone`, `emptyLabel`, `jumpLabel`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/chat-thread.md (or MCP `get_component` for `chat-thread`). --- ## Finance dashboard (`finance-dashboard`) Pro · Blocks · v1.0.0 A finance page from plain data: cash balance, runway, burn and revenue, the period's cash flow as a waterfall, spend against budget per department, expenses by category, revenue and expenses by month, and recent invoices. Every amount is written in the currency you pass; for product metrics pick the overview dashboard instead. ```bash npx shadcn@latest add @thrum-pro/finance-dashboard ``` Import: `@/components/finance-dashboard` Props (`*required`): `title*`, `data*`, `currency`, `loading`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `titles`, `headingLevel`, `paused`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/finance-dashboard.md (or MCP `get_component` for `finance-dashboard`). --- ## Kanban board (`kanban-board`) Pro · Blocks · v1.0.0 A board of columns whose cards move within and across columns, by mouse, touch or keyboard, with every step read out. Column headings count their cards and mark a column that is over its work-in-progress limit. For one list in order, use the sortable list. ```bash npx shadcn@latest add @thrum-pro/kanban-board ``` Import: `@/components/kanban-board` Props (`*required`): `columns`, `defaultColumns`, `onChange`, `onAddCard`, `addCardLabel`, `label`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/kanban-board.md (or MCP `get_component` for `kanban-board`). --- ## KPI grid (`kpi-grid`) Pro · Blocks · v1.0.0 The row of headline numbers at the top of a dashboard, as one panel. Use it when three to six figures belong together; the tiles share hairlines instead of standing as separate cards. For a single figure, use the stat card. ```bash npx shadcn@latest add @thrum-pro/kpi-grid ``` Import: `@/components/kpi-grid` Props (`*required`): `items*`, `label*`, `locale`, `minTileWidth`, `sound`, `emptyLabel`, `className` Full docs & usage: https://thrumui.dev/components/kpi-grid.md (or MCP `get_component` for `kpi-grid`). --- ## Metric table (`metric-table`) Pro · Blocks · v1.0.0 A table for a set of metrics side by side: each column draws its cells by kind, as a number with its unit, a signed change, a sparkline or a bar to a scale the column shares. Pick it for a comparison by region, plan or product. For paging, selection and column menus over plain values, use the data table. ```bash npx shadcn@latest add @thrum-pro/metric-table ``` Import: `@/components/metric-table` Props (`*required`): `columns*`, `rows*`, `caption*`, `sort`, `defaultSort`, `onSortChange`, `density`, `stickyFirstColumn`, `locale`, `emptyLabel`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/metric-table.md (or MCP `get_component` for `metric-table`). --- ## Onboarding checklist (`onboarding-checklist`) Pro · Blocks · v1.0.0 The setup list a new account sees first: a heading with progress, then the steps, one open at a time with a description and a button. You mark steps done; the list ticks them, opens the next one and says when everything is finished. For steps that must happen in order on one page, use a stepper. ```bash npx shadcn@latest add @thrum-pro/onboarding-checklist ``` Import: `@/components/onboarding-checklist` Props (`*required`): `steps*`, `title`, `description`, `headingLevel`, `onStepAction`, `onDismiss`, `dismissLabel`, `finishedTitle`, `finishedDescription`, `emptyLabel`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/onboarding-checklist.md (or MCP `get_component` for `onboarding-checklist`). --- ## Ops monitoring dashboard (`ops-monitoring-dashboard`) Pro · Blocks · v1.0.0 An operations page from plain data: uptime per service, latency percentiles against a limit, the error rate, requests per second as they arrive, open incidents and capacity. Feed it from your metrics store and drop it into an admin area; for a business overview pick the overview dashboard instead. ```bash npx shadcn@latest add @thrum-pro/ops-monitoring-dashboard ``` Import: `@/components/ops-monitoring-dashboard` Props (`*required`): `title*`, `data*`, `loading`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `titles`, `headingLevel`, `paused`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/ops-monitoring-dashboard.md (or MCP `get_component` for `ops-monitoring-dashboard`). --- ## Overview dashboard (`overview-dashboard`) Pro · Blocks · v1.0.0 A whole overview page from plain data: headline numbers, a multi-series chart beside a breakdown, a bar chart beside a live feed, and a time-range control in the header. Use it as the first screen of an admin area and swap parts out as the product grows; the file is a short composition of other components, written to be edited. ```bash npx shadcn@latest add @thrum-pro/overview-dashboard ``` Import: `@/components/overview-dashboard` Props (`*required`): `title*`, `headingLevel`, `kpis`, `trend`, `breakdown`, `volume`, `activity`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `loading`, `paused`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/overview-dashboard.md (or MCP `get_component` for `overview-dashboard`). --- ## SaaS metrics dashboard (`saas-metrics-dashboard`) Pro · Blocks · v1.0.0 Recurring revenue, churn and retention on one screen: MRR, ARR, net revenue retention, churn rate and active customers as headline numbers, MRR over time, the period's MRR movement as a waterfall, the plan mix, trial to paid and retention by signup cohort. Every section is optional and the layout closes up around a missing one. For deals and quota pick the sales dashboard. ```bash npx shadcn@latest add @thrum-pro/saas-metrics-dashboard ``` Import: `@/components/saas-metrics-dashboard` Props (`*required`): `title*`, `data*`, `headingLevel`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `loading`, `currency`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/saas-metrics-dashboard.md (or MCP `get_component` for `saas-metrics-dashboard`). --- ## Sales dashboard (`sales-dashboard`) Pro · Blocks · v1.0.0 Revenue, pipeline and deals on one screen: headline numbers, revenue against target, quota per team, the pipeline as a funnel, revenue by region and the largest open deals. Every section is optional and the layout closes up around a missing one. For a general first screen pick the overview dashboard; for recurring revenue pick the SaaS metrics dashboard. ```bash npx shadcn@latest add @thrum-pro/sales-dashboard ``` Import: `@/components/sales-dashboard` Props (`*required`): `title*`, `data*`, `headingLevel`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `loading`, `currency`, `breakdownTitle`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/sales-dashboard.md (or MCP `get_component` for `sales-dashboard`). --- ## Sign in form (`sign-in-form`) Free · Blocks · v1.0.0 A complete sign-in card for an app's login page. It checks the fields itself, hands the values to your onSubmit and shows the message you return; it makes no network call. For a passwordless flow that sends a code, use an input OTP in a form of your own. ```bash npx shadcn@latest add https://thrumui.dev/r/sign-in-form.json ``` Import: `@/components/sign-in-form` Props (`*required`): `onSubmit`, `error`, `title`, `description`, `headingLevel`, `defaultEmail`, `rememberMe`, `defaultRemember`, `forgotPasswordHref`, `signUpHref`, `providers`, `labels`, `sound`, `className`, `SignInFormProvider: icon`, `SignInFormProvider: ...props` Full docs & usage: https://thrumui.dev/components/sign-in-form.md (or MCP `get_component` for `sign-in-form`). --- ## Support dashboard (`support-dashboard`) Pro · Blocks · v1.0.0 A support page from plain data: open tickets, first response, resolution time and satisfaction, tickets opened and solved per day, first response against its target, the backlog by priority, load by weekday and hour, an agent table and the tickets waiting longest. Feed it from your help desk; for a business overview pick the overview dashboard instead. ```bash npx shadcn@latest add @thrum-pro/support-dashboard ``` Import: `@/components/support-dashboard` Props (`*required`): `title*`, `data*`, `loading`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `titles`, `headingLevel`, `paused`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/support-dashboard.md (or MCP `get_component` for `support-dashboard`). --- ## Web analytics dashboard (`web-analytics-dashboard`) Pro · Blocks · v1.0.0 Visitors, sources and pages on one screen: visitors, sessions, bounce rate and average time as headline numbers, visitors against the previous period, visitors right now, top pages, traffic sources, visits by weekday and hour, and devices. Every section is optional and the layout closes up around a missing one. For revenue pick the sales or SaaS metrics dashboard. ```bash npx shadcn@latest add @thrum-pro/web-analytics-dashboard ``` Import: `@/components/web-analytics-dashboard` Props (`*required`): `title*`, `data*`, `paused`, `headingLevel`, `periods`, `period`, `defaultPeriod`, `onPeriodChange`, `actions`, `loading`, `locale`, `sound`, `className` Full docs & usage: https://thrumui.dev/components/web-analytics-dashboard.md (or MCP `get_component` for `web-analytics-dashboard`). --- ## Chart foundations (`thrum-chart`) Free · Foundations · v1.0.0 Scales, ticks, smooth paths, colour slots, number formatting, and the size and keyboard-cursor hooks every Thrum chart draws through. No dependencies beyond React. ```bash npx shadcn@latest add https://thrumui.dev/r/thrum-chart.json ``` Import: `@/lib/thrum-chart` Full docs & usage: https://thrumui.dev/components/thrum-chart.md (or MCP `get_component` for `thrum-chart`). --- ## Dashboard foundations (`thrum-dashboard`) Pro · Foundations · v1.0.0 Shared frame, section panels, KPI strip and currency formatters used across the Pro dashboard blocks. ```bash npx shadcn@latest add @thrum-pro/thrum-dashboard ``` Import: `@/lib/thrum-dashboard` Full docs & usage: https://thrumui.dev/components/thrum-dashboard.md (or MCP `get_component` for `thrum-dashboard`). --- ## Motion tokens (`thrum-motion`) Free · Foundations · v1.0.0 Shared durations, easings and springs, plus a reduced-motion hook. Data marks settle without overshoot; only chrome may spring. ```bash npx shadcn@latest add https://thrumui.dev/r/thrum-motion.json ``` Import: `@/lib/thrum-motion` Full docs & usage: https://thrumui.dev/components/thrum-motion.md (or MCP `get_component` for `thrum-motion`). --- ## Sound engine (`thrum-sound`) Free · Foundations · v1.1.0 Sixteen short interface sounds in one key, synthesised in the browser with no audio files, levelled and limited. Off until the visitor turns it on. ```bash npx shadcn@latest add https://thrumui.dev/r/thrum-sound.json ``` Import: `@/lib/thrum-sound` Full docs & usage: https://thrumui.dev/components/thrum-sound.md (or MCP `get_component` for `thrum-sound`). --- ## Thrum materials (`thrum-material`) Free · Foundations · v1.0.0 Crisp frosted glass for every surface in the library. Set data-material="frosted" on the page and menus, dialogs and cards turn translucent, with tunable transparency and blur and accessible solid fallbacks. ```bash npx shadcn@latest add https://thrumui.dev/r/thrum-material.json ``` Import: `@/lib/thrum-material` Full docs & usage: https://thrumui.dev/components/thrum-material.md (or MCP `get_component` for `thrum-material`). --- ## Thrum theme (`thrum-theme`) Free · Foundations · v1.0.0 The Bench palette as a shadcn theme: warm greys, one amber signal colour and six chart colours checked for colour-blind readers, in light and dark. ```bash npx shadcn@latest add https://thrumui.dev/r/thrum-theme.json ``` Adds CSS theme variables to your global stylesheet. Full docs & usage: https://thrumui.dev/components/thrum-theme.md (or MCP `get_component` for `thrum-theme`). --- ## Icons 1,067 MIT stroke icons, free. Browse at https://thrumui.dev/icons or search via MCP `search_icons` at https://thrumui.dev/api/mcp. ```bash npx shadcn@latest add https://thrumui.dev/r/icon-.json ```