LiveUiKit.UI.Badge (LiveUIKit v0.1.3)
Badges are used to inform user of the status of specific data.
Link to this section Summary
Functions
Badge component
Link to this section Functions
Link to this function
badge(assigns)
Badge component:
examples
Examples
<.badge>
Default alert
</.badge>
<.badge variant="success">
Success badge
</.badge>
<.badge variant="warning">
Warning!!
</.badge>
options
Options
variant
- The variant of the badge Possible options are 'info', 'success', 'warning' and 'error'. Default is 'primary'.extended_class
- The class or classes that will be appended to the default class attribute.
All further assigns will be passed to the alert tag.