HEEx
<ConnieUI.Buttons.fab icon="icon-plus" fixed={false} />
Variant matrix
Every combination of one or two attributes, side by side.
Controls
Set by the example
icon_class click
Docs
No @doc for this component.
| Attribute | Type | Default | Description |
|---|---|---|---|
| No data found. | |||
| id | :string | nil |
|
| icon * | :string |
|
|
| icon_class | :any | nil |
|
| click | {:struct, Phoenix.LiveView.JS} | nil |
|
| size | :string | "lg" |
sm | md | lg
|
| fixed | :boolean | true |
|
| rest | :global |
e.g. `aria-label`, `aria-expanded`, `aria-controls`
|
|
| Slot | Slot attributes | Description |
|---|---|---|
| No data found. | ||
| inner_block | drawn over the button after the icon, e.g. a corner badge | |