<Group>
<Button>Button</Button>
<Button>Another Button</Button>
</Group>npx shadcn@latest add @dotui/groupimport { Group } from "@/components/ui/group";<Group>
<Button>One</Button>
<Button>Two</Button>
</Group>A group represents a set of related UI controls, and supports interactive states for styling.
| Prop | Type | Default | |
|---|---|---|---|
"horizontal" | "vertical" | 'horizontal' | ||
ReactNode | function | — | ||
union | — | ||
string | — | ||
boolean | — | ||
boolean | — | ||
DOMRenderFunction<"div", GroupRenderProps> | — | ||
Last updated on 6/4/2026