Skip to main content

Module components

Module components 

Source
Expand description

Strict-CSP typed UI primitives (Card, Badge, Toolbar, Form with automatic CSRF, EmptyState, StatCard, Alert) emitting zero inline style="..." or on*= attributes.

Structs§

Alert
Contextual notice banner (role="status").
Badge
Pill badge (<span class="badge ...">).
Card
Framed card with header, optional right-aligned actions, and body slot.
EmptyState
Standard empty-state notice inside a card or table.
Form
Strict-CSP HTML form that automatically injects <input type="hidden" name="_csrf"> on POST forms whenever a browser session is active — eliminating post-render <form string mutation.
StatCard
KPI stat card for dashboards (Insights, Security, Admin, Agents).
TextInput
Text input primitive with optional value, placeholder, CSS class, and required.
Toolbar
Horizontal toolbar with left/right action groups.

Enums§

BadgeTone
Semantic visual tone for Badge and Alert.
FormMethod
Form HTTP submission method.