Style Scope
Renders a subtree in a different style, including overlays opened inside it. Use it for previews, theming a section, or comparing styles.
UtilitiesDumb extras
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
StyleScope
| Prop | Type | Default |
|---|---|---|
| nameextra | "raw" | "vector" | "volume"Style for this subtree. | - |
| ...props | ComponentProps<"div">Native div props. | - |