PrenixComponents.Button (prenix_components v0.1.1)
Summary
Functions
Attributes
type
(:string
) - Defaults to"button"
.color
(:string
) - Defaults to"default"
.variant
(:string
) - Defaults to"solid"
.size
(:string
) - Defaults to"md"
.icon
(:boolean
) - Defaults tofalse
.radius
(:string
) - Defaults to"lg"
.loading
(:boolean
) - Defaults tofalse
.disabled
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults tonil
.content_class
(:string
) - Defaults tonil
.spinner_class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
Functions
Link to this function
button(assigns)
Attributes
type
(:string
) - Defaults to"button"
.color
(:string
) - Defaults to"default"
.variant
(:string
) - Defaults to"solid"
.size
(:string
) - Defaults to"md"
.icon
(:boolean
) - Defaults tofalse
.radius
(:string
) - Defaults to"lg"
.loading
(:boolean
) - Defaults tofalse
.disabled
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults tonil
.content_class
(:string
) - Defaults tonil
.spinner_class
(:string
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block