Editing components
Edit shadcn/ui components in DS Manager. Select a part or an icon on the canvas, change its layout, typography, colors and transform, add Tailwind utilities and reset a rule.
Every shadcn/ui component in your system has its own page in DS Manager. You pick a part of the component on the canvas, change it in the right rail and see the result on every specimen at once.

Components table
All components at the top of the Default Components group in the left nav opens a table of every component in the system. Each row has the name, an Edited marker if your system has changed it, and an Open link.
- All, Edited, With variants and Custom filter the table.
- Search components matches names and shadcn/ui's one-line description, so "one-time password" finds Input OTP.
You can also skip the table and pick a component straight from the left nav, or press ⌘K and type its name.
Component page
The canvas has two views, switched with Demo and Matrix in the top bar:
- Demo is the designed composition, the way shadcn/ui's create flow shows the component.
- Matrix shows every value of every axis, generated from the component's variants and sizes. A component without a demo opens on the matrix, and Demo is greyed out.
DS Manager remembers the view you picked as you move between components. Under the page title, a line counts the component's rules and how many of them are yours (for example "6 rules, 2 yours").
Overlays in the matrix
Thirteen components only appear after an interaction: tooltip, popover, hover card, dropdown menu, context menu, menubar, select, combobox, navigation menu, dialog, alert dialog, sheet and drawer. In the matrix they render open, inside their cell, so you can select the panel or menu and edit it. Their close buttons stay visible but do nothing there. To try the real open and close behavior, switch to Demo.
Selecting a part
The Style tab edits one part of the component at a time. There are three ways to pick it:
- ⌘-click (Ctrl-click on Windows) any element on the canvas. A plain click works the component as usual: it presses the button or opens the menu.
- In the matrix, a plain click on a cell selects that specimen and sets the Variant and Size menus to match it.
- Pick a row in Component Layers, the tree pinned under the left nav. It lists each part once, even when the matrix draws forty buttons, and reaches parts that are off screen or inside a closed menu. Drag its top edge to make it taller.
The selected part gets a ring on the canvas, and its name becomes the title of the right rail. A dot at the end of a layer row means your system has changed that part.
An icon inside a component is a part too. ⌘-click the icon, double-click a selected component to step into its icon, or pick the icon's row under its component in Component Layers. See Icons inside components.
Style tab
The top of the Style tab says which specimen you are editing: a Variant menu, a Size menu and a State menu, depending on what the component has. The controls below show what that specimen renders, base plus variant plus size. An edit changes only the variant, size and state you have picked. Look properties such as color, border and radius go to the picked variant, and sizing properties such as height, padding and text size go to the picked size. You can learn more about the menus in Variants and states.
Each field shows the value the canvas paints, also at a state, in dark mode or at a breakpoint. When a class sets a property in a form the field can't express, the field shows that class as a custom value, and an edit replaces it.
Below the menus, the controls are grouped in sections. A part drawn with ::before or ::after, such as a tab underline, gets Text color, Border color and Border width.
Layout
- Flow: Inline, Flex V, Flex H, Grid, Hidden and the other display options.
- Size: width and height. On Button, Input, Input Group, Combobox, Select, Native Select, Toggle and Toggle Group, the height comes from the Controls page and shows as a badge. Click the badge to give that control its own height.
- Max size: Max width and Max height, in Tailwind steps or as words such as
prose,7xl,noneandscreen. It sits under Size and disappears with it when Flow is Inline or Hidden. - Min size: Min width and Min height, the same way, under Max size.
- Grid: columns and rows, for a grid.
- Alignment and Gap, for flex and grid.
- Padding, with all sides or each side.
- Margin, with both axes or each side. It takes
autoand negative steps, such as-mx-1.
On Pro Blocks block pages, Layout also has Icon size for the icons in the block. On component pages, icons have their own Icon section.

Typography
Text color, Size, Font family, Weight, Line height, Tracking, Text align and Text transform. The pickers list your system's variables first, and raw values still work. Size and Line height show the pixel value after the step, such as "sm 14px". The number comes from your own type scale, so it changes when you edit it.
Text align has Left, Center, Right and Justify. Text transform is a menu: None, Uppercase, Lowercase and Capitalize. The button at the end of that row, More type options, opens Type options:
- Wrap: Wrap, No wrap, Balance or Pretty.
- Max lines: 1 to 6, or None. 1 writes
truncate, and 2 to 6 writeline-clamp-*. - Decoration: None, Underline or Strike.
- Offset and Thickness of the underline, each Auto until you set it.
- Decoration color.
A dot on the button means a value inside differs from the style's.

Appearance
Opacity, Radius (with a toggle for each corner), Background, Border color, Border width and Border style (Solid, Dashed, Dotted, Double or None). Radius shows the pixel value after the step, such as "lg 10px", worked out from your system's radius. Color fields open the color picker, which also builds gradients on Background.
Effects
Shadow, Backdrop blur, Ring color, Ring width, Ring offset color and Ring offset width.
Transform
- Move: Move X and Move Y. Negative values work.
- Rotate: 0° to 180° in steps, or Custom…, such as
30degor0.25turn. - Scale: 50% to 150% in steps, or Custom…, such as
1.2or120%.

Like the rest of the tab, each row works per variant, size and state, and per breakpoint on Pro Blocks. A value a field can't take is refused under the field with a line that starts "Not applied:" and says what the field takes.
Under the sections, a line counts the rules an edit can land on. See Utilities opens the Utilities tab on the most specific of them.
When the canvas is dark, a Dark tag appears in the rail and edits write
dark: values. Press D or use the sun in the top bar to go back to the
light values.
Behaviour
On Select, Popover, Dropdown Menu, Tooltip, Combobox, Dialog and Sheet, the last section of the Style tab, Behaviour, sets what the component does when your code passes nothing. The canvas draws with these defaults, and the installed component takes each one as the default value of its prop, so code that passes its own value still wins.
| Component | Rows |
|---|---|
| Select | Over trigger, Side |
| Popover | Side, Alignment |
| Dropdown Menu | Block page, Side, Alignment |
| Tooltip | Side |
| Combobox | Highlight first, Clear button |
| Dialog | Close button |
| Sheet | Close button |
A switch row turns a prop on or off, and a menu row picks a value, with the kit's own value marked "default". Each row's hint names the part and prop it sets, such as "(SelectContent side)". A row that depends on another is turned off with a tooltip, for example "Turn Over trigger off to use Side." The dot on a row puts the kit's default back.
These rows apply to the whole component. Unlike the other sections, they don't change per variant, size or state. Other components and custom components have no Behaviour section.
Component variables
Some kit components set their spacing or radius through a variable: Card's --card-spacing, and Calendar's --cell-size and --cell-radius. A field that reads one shows the variable as a badge with its value.
Changing the Button's radius also changes Calendar's --cell-radius while the two match, so the Calendar's day cells keep the Button's corners. A cell radius you set apart is left alone.
- Click the badge. A popover opens with the variable's name, such as Card spacing
--card-spacing. - Pick a step in Spacing (or Radius). Every field that reads the variable follows.
- To give one field a value of its own, click Detach. The field keeps the variable's current value as its own class, and its reset dot puts the variable back.
Resetting a change
A property you changed shows a dot next to its label. Click the dot to put that property back to the style's default (the tooltip says, for example, "Reset radius to the style default").
To undo a whole rule, open Reset a rule (the circular arrow in the rail's title row). It lists every rule in play with its edit count, such as "Reset Variant: outline, 2 edits". ⌘Z undoes any single edit, and ⇧⌘Z redoes it.
Utilities tab
The Utilities tab (key 3) lists every Tailwind class on the component, rule by rule, grouped by state. The Style tab's controls are a view of these classes.
- Chips you added or changed have a darker fill. Classes the component's code puts on the element are dashed. Editing one of those writes an override into the rule, and the original shows struck through.
- Click a chip to edit it. Enter commits, Escape cancels.
- Search utilities matches class text and plain words like color, radius or padding. The filter next to it narrows the list to All, Yours or one state, each with a count.
Adding a utility
- Click + Add at the end of a group. In a state group, the field already shows the prefix, such as
hover:. - Type the class. Suggestions come from your style's own classes.
- Press Enter. The field stays open for the next class. Click Done or press Escape on an empty field to stop.
The field refuses a class that would break the rule, and says why under the field:
- "A utility is one class, with no white space."
- "A class cannot hold {, }, ; or a comment (/* or */)."
- "A class can be at most 256 characters long."
- "That utility is already on this rule. Edit its chip instead."
- "hover is a variant: write
hover:<class>, likehover:bg-muted." when a state prefix comes with no class.
It also refuses a class that would take the rule past 400 classes. If a class passes those checks but is not a real Tailwind class, the chip turns red and its tooltip says so, for example "bg-brnad is not a Tailwind class, so the canvas leaves it out."
Icons inside components
The icons inside a component, such as the icon in an Alert or a Button, are parts you can style. Select one with ⌘-click, by double-clicking a selected component, or from its row in Component Layers. Its name follows the part it sits in, such as "Alert icon".
With an icon selected, the Style tab shows one Icon section in place of the usual ones:
- Size: 3 to 8 in Tailwind steps, with the pixel value, or Not set.
- Color. Unset, the icon follows the text color.
- Stroke: 1 to 2.5 in steps of 0.25. Unset, it follows the system's stroke on the Icons page, shown as System in the menu. On Phosphor this row is Weight, which is set for the whole system on the Icons page. Remix Icon has no stroke row.
- Opacity.
- Offset: Offset X and Offset Y, to nudge the icon. Negative values work.

Each row works per variant, size, state and dark mode, and an edit changes only the icons of that component. Every icon style you set this way is listed in the Overrides panel on the Icons page.