# Component Cookbook Comprehensive examples for all vapora-leptos-ui components. ## Table of Contents - [Primitives](#primitives) - [Button](#button) - [Input](#input) - [Badge](#badge) - [Spinner](#spinner) - [Layout](#layout) - [Card](#card) - [Modal](#modal) - [Data](#data) - [Table](#table) - [Pagination](#pagination) - [StatCard](#statcard) - [Forms](#forms) - [FormField](#formfield) - [Validation](#validation) - [Feedback](#feedback) - [Toast](#toast) - [Navigation](#navigation) - [SpaLink](#spalink) - [Patterns](#patterns) - [Modal with Form](#modal-with-form) - [Table with Sorting and Pagination](#table-with-sorting-and-pagination) - [Dashboard with Stats](#dashboard-with-stats) --- ## Primitives ### Button ```rust use leptos::prelude::*; use vapora_leptos_ui::{Button, Variant, Size}; #[component] fn ButtonExamples() -> impl IntoView { let (count, set_count) = signal(0); view! {
"Simple glassmorphism card"
"Hover for effect"
"Multi-agent development platform"
"Are you sure you want to proceed?"
"This is a large modal with more content."
"Modal features:"