Beacon.LiveAdmin.StationUI.HTML.Tag (Beacon LiveAdmin v0.4.0)

View Source

For bordered tags, add "border-2"

For rounded tags, add "rounded-full py-1"

Summary

Functions

Attributes

  • as (:string)
  • class (:any) - Defaults to "gap-x-1.5 px-2.5 rounded py-1".
  • on_click (Phoenix.LiveView.JS) - Defaults to nil.
  • on_delete (Phoenix.LiveView.JS) - Defaults to nil.
  • tabindex (:string)
  • Global attributes are accepted. Supports all globals plus: ["disabled"].

Slots

  • inner_block (required)

Functions

tag(assigns)

Attributes

  • as (:string)
  • class (:any) - Defaults to "gap-x-1.5 px-2.5 rounded py-1".
  • on_click (Phoenix.LiveView.JS) - Defaults to nil.
  • on_delete (Phoenix.LiveView.JS) - Defaults to nil.
  • tabindex (:string)
  • Global attributes are accepted. Supports all globals plus: ["disabled"].

Slots

  • inner_block (required)