Button Group Orientation

PreviousNext

button-group-orientation-demo

Docs
intentuipage

Preview

Loading preview…
components/docs/buttons/button-group/button-group-orientation-demo.tsx
"use client"

import { SpeakerWaveIcon, SpeakerXMarkIcon } from "@heroicons/react/24/outline"
import { Button } from "@/components/ui/button"
import { ButtonGroup } from "@/components/ui/button-group"

export default function ButtonGroupOrientationDemo() {
  return (
    <ButtonGroup orientation="vertical">
      <Button intent="secondary">
        <SpeakerWaveIcon />
      </Button>
      <Button intent="secondary">
        <SpeakerXMarkIcon />
      </Button>
    </ButtonGroup>
  )
}

Installation

npx shadcn@latest add @intentui/button-group-orientation-demo

Usage

Usage varies by registry entry. Refer to the registry docs or source files below for details.