View Source Badge (LiveViewUI v0.0.3)

A simple badge component.

Summary

Functions

Attributes

  • cva_class (:string) - Defaults to nil.
  • variant (:string) - Defaults to "default".
  • as (:string) - Defaults to "span".
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block (required)

Functions

Attributes

  • cva_class (:string) - Defaults to nil.
  • variant (:string) - Defaults to "default".
  • as (:string) - Defaults to "span".
  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block (required)