stratum-components
Purpose
Styled, accessible component library (50+ components) built on primitives, theme tokens, and the styling subsystem.
Position in Pipeline
primitives theme tailwind css icons motion security
| | | | | | |
+--------+-------+-------+-----+------+--------+
|
stratum-components
|
+----------+----------+
| | |
stratum- stratum- stratum-sdk
leptos dioxus
Depends on: stratum-primitives, stratum-theme, stratum-tailwind, stratum-css, stratum-icons, stratum-motion, optionally stratum-security
Used by: stratum-leptos, stratum-dioxus, stratum-sdk
Key Public API
| Item | Description |
|---|---|
Button |
Button with variants (solid, outline, ghost, link) and sizes |
Input |
Text input with validation, prefix/suffix slots |
Dialog |
Modal dialog with focus trap and backdrop |
Select |
Dropdown select with search, multi-select support |
Tabs |
Tabbed interface with lazy and eager panel rendering |
Card, Badge, Avatar, Tooltip, ... |
50+ additional components |
Usage Example
use ;
// Button
let btn = new
.variant
.size
.label;
// Input
let input = new
.placeholder
.input_type
.required;
// Dialog
let dialog = new
.title
.description
.body
.on_confirm;
How to Run Tests