Some checks failed
Documentation Lint & Validation / Markdown Linting (push) Has been cancelled
Documentation Lint & Validation / Validate mdBook Configuration (push) Has been cancelled
Documentation Lint & Validation / Content & Structure Validation (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Documentation Lint & Validation / Lint & Validation Summary (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
52 lines
1.4 KiB
Rust
52 lines
1.4 KiB
Rust
//! VAPORA Leptos UI - Glassmorphism component library
|
|
//!
|
|
//! CSR/SSR agnostic components with glassmorphism design.
|
|
//!
|
|
//! # Features
|
|
//!
|
|
//! - 🎨 Glassmorphism design (cyan/purple/pink gradients)
|
|
//! - 🔄 CSR/SSR agnostic (works in both contexts)
|
|
//! - ♿ Accessible (ARIA labels, keyboard navigation)
|
|
//! - 📱 Mobile responsive
|
|
//! - 🎯 UnoCSS integration
|
|
//!
|
|
//! # Quick Start
|
|
//!
|
|
//! ```rust
|
|
//! use leptos::prelude::*;
|
|
//! use vapora_leptos_ui::{Button, Variant, Size};
|
|
//!
|
|
//! #[component]
|
|
//! fn App() -> impl IntoView {
|
|
//! view! {
|
|
//! <Button variant=Variant::Primary size=Size::Large>
|
|
//! "Click Me"
|
|
//! </Button>
|
|
//! }
|
|
//! }
|
|
//! ```
|
|
|
|
pub mod data;
|
|
pub mod feedback;
|
|
pub mod forms;
|
|
pub mod layout;
|
|
pub mod navigation;
|
|
pub mod primitives;
|
|
pub mod theme;
|
|
mod utils;
|
|
|
|
// Re-export theme tokens
|
|
// Re-export data types
|
|
pub use data::table::unified::TableColumn;
|
|
// Re-export components (all fully functional as of v1.2.0)
|
|
pub use data::{Pagination, StatCard, Table};
|
|
pub use feedback::{use_toast, ToastContext, ToastMessage, ToastProvider, ToastType};
|
|
pub use forms::{
|
|
validate_email, validate_max_length, validate_min_length, validate_required, FormField,
|
|
};
|
|
pub use layout::{Card, Modal};
|
|
pub use navigation::SpaLink;
|
|
pub use primitives::{Badge, Button, Input, Spinner};
|
|
pub use theme::{BlurLevel, GlowColor, Size, Variant};
|
|
pub use utils::Portal;
|