PrenixComponents.Badge (prenix_components v0.1.3)
Summary
Functions
Attributes
class
(:string
) - Defaults tonil
.content_text
(:string
) - Defaults tonil
.content_class
(:string
) - Defaults tonil
.shape
(:string
) - Defaults to"rectangle"
.color
(:string
) - Defaults to"default"
.dot
(:boolean
) - Defaults tofalse
.variant
(:string
) - Defaults to"with-content"
.placement
(:string
) - Defaults to"top-right"
.
Slots
content
inner_block
Functions
Link to this function
badge(assigns)
Attributes
class
(:string
) - Defaults tonil
.content_text
(:string
) - Defaults tonil
.content_class
(:string
) - Defaults tonil
.shape
(:string
) - Defaults to"rectangle"
.color
(:string
) - Defaults to"default"
.dot
(:boolean
) - Defaults tofalse
.variant
(:string
) - Defaults to"with-content"
.placement
(:string
) - Defaults to"top-right"
.
Slots
content
inner_block