Beacon.LiveAdmin.StationUI.HTML.StatusBadge (Beacon LiveAdmin v0.4.0)
View SourceSummary
Functions
The status badge component renders different-colored circles to represent different statuses.
Functions
The status badge component renders different-colored circles to represent different statuses.
Suggested classes for various sizes:
- xs -> "w-2 [&>span]:w-0.5"
- sm -> "w-2.5 [&>span]:w-0.5"
- md -> "w-3 [&>span]:w-0.5" (default)
- lg -> "w-4 [&>span]:w-0.5"
- xl -> "w-5 [&>span]:w-1"
Attributes
status
(:string
) - Defaults to"active"
.class
(:any
) - Defaults to"w-3 [&>span]:w-0.5"
.