Docs

Cinder UI

Forms.input_group_button

Server-rendered

Compact action button for use inside input_group_addon/1.

This is intentionally smaller than the general button/1 API. Use it for short text actions and icon-only utility actions embedded in an input group.

Input group button

  <.input_group>
  <.input placeholder="Search" />
  <.input_group_addon>
    <.input_group_button>Search</.input_group_button>
  </.input_group_addon>
</.input_group>

Attributes

Name Type Default Values Global Includes
class :string
rest :global disabled , name , value , form , id , aria-label , aria-expanded , aria-controls , aria-haspopup , title
size :atom :xs :xs , :icon_xs
type :string "button"
variant :atom :ghost :default , :destructive , :outline , :secondary , :ghost , :link

Slots

Slot Slot Attributes
inner_block Required