Ferrox Front UI (ferrox-front-ui)
Enterprise-grade Glassmorphism Design System, Advanced Typed DataGrid, Reactive Form Validation Engine, and Overlays in 100% pure Rust WebAssembly. Completely independent of JavaScript, React, and npm.
1. Architectural Highlights
ferrox-front-ui reaches and exceeds AG-Grid, React Hook Form, Zod, Radix UI, and Shadcn feature parity compiled to native WebAssembly:
- 100% Rust Wasm: Generates surgical DOM mutations through
ferrox-front-core::DomBuilderandSignal<T>with zero JavaScript runtime frameworks or node_modules. - Enterprise DataGrid Pro (AG-Grid Parity): Typed
ColumnDef<T>, multi-column sorting, column filters, checkbox row selection with batch actions, and in-memory WebAssembly RFC 4180 CSV export with native browserBlobdownload. - Form Reactive Validation Engine (Zod + React Hook Form Parity):
FormField<T>signals (value,error,touched,dirty,is_valid), chainableRuleBuilder<T>(required,email,min_length,max_length,numeric_range,regex,custom), accessible WCAG 2.1 AA:focus-visiblestyling with alert icons, and multi-stepFormWizard. - Advanced Enterprise Overlays:
- Command Palette (
Cmd+K/Ctrl+K): Spotlight-style modal search with global window keyboard shortcut, fuzzy matching, and keyboard navigation. - Pure Vector DatePicker: Monthly interactive calendar generated in pure Rust Wasm with single and range (
DateRange) picking, month/year navigation, and quick shortcuts ("Oggi", "7 Giorni", "30 Giorni", "Mese"). - TreeView Explorer: Deep hierarchical tree navigator for files, directories, and role permissions with smooth chevron expansion and multi-select.
- A11y Modal Focus Trap: Cyclic Tab and Shift-Tab focus management conforming to WCAG 2.1 AA.
- Command Palette (
- 60+ Native Vector SVG Icons: Module
ferrox_front_ui::iconsrenders icons directly as SVG DOM elements with zero font files or external CDNs. - Real-time Theming Engine: Dynamic switching between Glassmorphism Dark, Zinc Light, Cyberpunk Neon, and Ocean Breeze.
2. Component Inventory
๐ Enterprise DataGrid (ferrox_front_ui::ferrox_datagrid)
use ;
let columns = vec!;
let datagrid = new;
let table_element = datagrid.render;
// Native Wasm RFC 4180 CSV Download:
let csv_text = generate_rfc4180_csv;
trigger_csv_download;
๐ Reactive Form Validation Engine (ferrox_front_ui::form_engine)
use ;
// Reactive FormField with chainable validation rules
let email_field = new.with_input_type.with_placeholder;
let input_dom = email_field.render;
// Multi-step FormWizard with step-gated validation
let wizard_state = new;
let wizard_dom = form_wizard;
โ Spotlight Command Palette (ferrox_front_ui::overlays)
use ;
let actions = vec!;
let palette_state = new;
// Opens via Cmd+K / Ctrl+K automatically or manually:
palette_state.open;
let overlay_dom = command_palette;
๐
Pure Vector DatePicker (ferrox_front_ui::overlays)
use ;
let date_state = new;
let picker_dom = date_picker;
๐ Hierarchical TreeView (ferrox_front_ui::overlays)
use ;
let nodes = vec!;
let tree_dom = tree_view;
3. Full Storybook Reference
Consult COMPONENT_CATALOG.md for the exhaustive documentation and API specifications of every component.