DaisyUIComponents.Join (DaisyUIComponents v0.8.6)

View Source

Button Group component

https://daisyui.com/components/join/

Summary

Functions

Returns all the possible directions in the join component.

Join elements

Functions

directions()

Returns all the possible directions in the join component.

join(assigns)

Join elements

Examples

<.join>
  <.button class="join-item" active>Button</.button>
  <.button class="join-item">Button</.button>
  <.button class="join-item">Button</.button>
</.join>

Attributes

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

Slots

  • inner_block (required)