class
|
:any
|
Extend existing styles applied to the component.
|
|
|
color
|
:string
|
The color of the component.
|
"blue"
|
|
element
|
:string
|
The HTML element to use, such as `div`.
|
"button"
|
|
full_width
|
:boolean
|
Determines if will take up full width of container.
|
|
|
rest
|
:global
|
Arbitrary HTML or phx attributes.
|
|
|
size
|
:string
|
The button size.
|
"md"
|
|
square
|
:boolean
|
If true, rounded corners are disabled.
|
false
|
|
type
|
:string
|
|
"button"
|
|
variant
|
:string
|
|
"solid"
|
|
Required
inner_block
*
|
:slot
|
|
[Multiple values]
|