View Source ControlGroup

<ControlGroup>

Visual grouping of control elements.

Overview

Provide the content and label children to create a control group.

<ControlGroup>
    <Text template={:label}>Edit Actions</Text>
    <Group template={:content}>
        <Button phx-click="arrange">Arrange</Button>
        <Button phx-click="update">Update</Button>
        <Button phx-click="remove">Remove</Button>
    </Group>
</ControlGroup>

Attributes

  • style

Children

  • label - Describes the content of the control group.
  • content - Controls to be grouped together.