A2UI.Demo.StatusBadge (A2UI v0.3.0)

Copy Markdown View Source

Custom StatusBadge component demonstrating the pluggable component system.

Renders a colored pill badge based on a status prop. Supports data binding for both status and label.

Props

  • status — status string ("confirmed", "pending", etc.). Data-bindable.
  • label — display text. Defaults to the resolved status value. Data-bindable.

Summary

Functions

render(assigns)

Attributes

  • component (:any) (required)
  • ctx (:any) (required)