Group

A group visually groups related UI elements together.

<Group>
  <Button>Button 1</Button>
  <Button>Button 2</Button>
  <Button>Button 3</Button>
</Group>

Installation

npx shadcn@latest add @dotui/group

Usage

import { Group } from "@/components/ui/group";
<Group>
  <Button>One</Button>
  <Button>Two</Button>
</Group>

API Reference

A group represents a set of related UI controls, and supports interactive states for styling.

PropType
"horizontal" | "vertical"
boolean
boolean
union
string
string
ReactNode | function

Last updated on 1/13/2026

Built with passion by @mehdibha.