JumarWeb.BadgeComponents (Jumar v0.1.0)
View SourceProvides badge components.
Summary
Functions
Attributes
color(:string) - Defaults to"zinc". Must be one of"amber","blue","cyan","emerald","fuchsia","green","indigo","lime","orange","pink","purple","red","rose","sky","teal","violet","yellow", or"zinc".class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)
Attributes
color(:string) - Defaults to"zinc". Must be one of"amber","blue","cyan","emerald","fuchsia","green","indigo","lime","orange","pink","purple","red","rose","sky","teal","violet","yellow", or"zinc".class(:string) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["href", "navigate", "patch", "method"].
Slots
inner_block(required)