Join
Join is a container for grouping multiple items together. It applies border radius to the first and last item, creating a visually connected group of buttons, inputs, or other elements.
Import
import { Join, Button, Input, Select } from '@sigx/daisyui';
Basic Usage
Group buttons together horizontally.
Loading preview...
Vertical
Stack items vertically.
Loading preview...
Horizontal (explicit)
Explicitly set horizontal direction. Useful for responsive overrides.
Loading preview...
Responsive
Use Tailwind responsive classes to switch direction at different breakpoints.
Loading preview...
With Inputs and Buttons
Mix different form elements inside a join.
Loading preview...
With Select and Button
Combine selects with buttons in a group.
Loading preview...
ButtonGroup
ButtonGroup is a convenience wrapper specifically for grouping buttons. It uses the same underlying join classes.
Loading preview...
ButtonGroup Vertical
Loading preview...
Props
Join Props
| Prop | Type | Default | Description |
|---|---|---|---|
vertical | boolean | false | Stack items vertically |
horizontal | boolean | false | Explicitly set horizontal direction |
class | string | undefined | Additional CSS classes |
Join.Item Props
| Prop | Type | Default | Description |
|---|---|---|---|
class | string | undefined | Additional CSS classes |
ButtonGroup Props
| Prop | Type | Default | Description |
|---|---|---|---|
vertical | boolean | false | Stack buttons vertically |
horizontal | boolean | false | Explicitly set horizontal direction |
class | string | undefined | Additional CSS classes |