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.
- Empty
State - Standard empty-state notice inside a card or table.
- Form
- Strict-CSP HTML form that automatically injects
<input type="hidden" name="_csrf">onPOSTforms whenever a browser session is active — eliminating post-render<formstring mutation. - Stat
Card - KPI stat card for dashboards (
Insights,Security,Admin,Agents). - Text
Input - Text input primitive with optional value, placeholder, CSS class, and
required. - Toolbar
- Horizontal toolbar with left/right action groups.
Enums§
- Badge
Tone - Semantic visual tone for
BadgeandAlert. - Form
Method - Form HTTP submission method.