View Source DaisyUIComponents.ButtonGroup (DaisyUIComponents v0.1.1)

Button Group component

https://daisyui.com/components/button-group/

Summary

Functions

Renders a button group.

Functions

Renders a button group.

Examples

<.button_group>
  <.button active>Button</.button>
  <.button>Button</.button>
  <.button>Button</.button>
</.button_group>

Attributes

  • class (:string) - Defaults to nil.
  • direction (:string) - Must be one of "horizontal", or "vertical".
  • Global attributes are accepted.

Slots

  • inner_block (required)