## Components
Optional pieces for forms, status and feedback, in mydear::components. Below is the gallery example running live: the same C++ as on the desktop, compiled to WebAssembly and drawn by Dear ImGui on a WebGL 2 canvas. Type in the fields, press the buttons, switch the theme.
> examples/gallery
## The list
Link mydear::components, include mydear/components.hpp; everything is in namespace mydear::ui. More in the components doc.
- * Text field
TextField: label above, placeholder, a hint or an error below, password masking - * Card
BeginCard / EndCard: a bordered panel that grows with its content, with an optional title - * Badge
Badge: a pill with a word or a count, in one of five tones - * Callout
Callout: an inline message with an accent stripe; the text wraps - * Progress
Progress: a bar with its percentage, or an indeterminate sweep - * Skeleton
Skeleton: a pulsing placeholder while content loads - * Avatar
Avatar: initials in a circle, coloured by the name - * Metric
Metric: a card with a large value and a green or red change - * Empty state
EmptyState: a centred title, text and an action button - * Chips
Chips: toggle chips that wrap onto new rows - * Toast
Toast / RenderToasts: short messages stacked in a corner that fade out