diff --git a/demo/src/pages/avatar/mod.rs b/demo/src/pages/avatar/mod.rs
index df81c49..9c7aa64 100644
--- a/demo/src/pages/avatar/mod.rs
+++ b/demo/src/pages/avatar/mod.rs
@@ -1,7 +1,7 @@
use crate::components::{Demo, DemoCode};
use leptos::*;
-use thaw::*;
use prisms::highlight_str;
+use thaw::*;
#[component]
pub fn AvatarPage() -> impl IntoView {
@@ -11,7 +11,7 @@ pub fn AvatarPage() -> impl IntoView {
-
+
impl IntoView {
r#"
-
+
"#,
@@ -31,6 +31,37 @@ pub fn AvatarPage() -> impl IntoView {
""
+
"Avatar Props"
+
+
+
+ "Name" |
+ "Type" |
+ "Default" |
+ "Description" |
+
+
+
+
+ "src" |
+ "MaybeSignal" |
+ r#""""# |
+ "Avatar's image source." |
+
+
+ "round" |
+ "MaybeSignal" |
+ "false" |
+ "Whether to display a rounded avatar." |
+
+
+ "size" |
+ "MaybeSignal" |
+ "30" |
+ "Avatar's size." |
+
+
+
}
}
diff --git a/demo/src/pages/badge/mod.rs b/demo/src/pages/badge/mod.rs
index f6d67fc..6fb07ad 100644
--- a/demo/src/pages/badge/mod.rs
+++ b/demo/src/pages/badge/mod.rs
@@ -94,7 +94,7 @@ pub fn BadgePage() -> impl IntoView {
"variant" |
"MaybeSignal" |
- "BadgeVariant::" |
+ "BadgeVariant::Error" |
"Badge variant." |
@@ -103,6 +103,12 @@ pub fn BadgePage() -> impl IntoView {
"false" |
"Show badge as dot." |
+
+ "children" |
+ "Children" |
+ |
+ "Badge's content." |
+
diff --git a/demo/src/pages/breadcrumb/mod.rs b/demo/src/pages/breadcrumb/mod.rs
index 0a737a8..56e5596 100644
--- a/demo/src/pages/breadcrumb/mod.rs
+++ b/demo/src/pages/breadcrumb/mod.rs
@@ -67,6 +67,50 @@ pub fn BreadcrumbPage() -> impl IntoView {
""
+ "Breadcrumb Props"
+
+
+
+ "Name" |
+ "Type" |
+ "Default" |
+ "Description" |
+
+
+
+
+ "separator" |
+ "MaybeSignal" |
+ r#""/""# |
+ "Breadcrumb separator." |
+
+
+ "children" |
+ "Children" |
+ |
+ "Breadcrumb's content." |
+
+
+
+ "BreadcrumbItem Props"
+
+
+
+ "Name" |
+ "Type" |
+ "Default" |
+ "Description" |
+
+
+
+
+ "children" |
+ "Children" |
+ |
+ "BreadcrumbItem's content." |
+
+
+
}
}
diff --git a/demo/src/pages/button/mod.rs b/demo/src/pages/button/mod.rs
index fbc396f..63bb7b8 100644
--- a/demo/src/pages/button/mod.rs
+++ b/demo/src/pages/button/mod.rs
@@ -1,7 +1,7 @@
use crate::components::{Demo, DemoCode};
use leptos::*;
-use thaw::*;
use prisms::highlight_str;
+use thaw::*;
#[component]
pub fn ButtonPage() -> impl IntoView {
@@ -121,6 +121,73 @@ pub fn ButtonPage() -> impl IntoView {
""
+ "Button Props"
+
+
+
+ "Name" |
+ "Type" |
+ "Default" |
+ "Description" |
+
+
+
+
+ "style" |
+ "MaybeSignal" |
+ r#""""# |
+ "Button's style." |
+
+
+ "variant" |
+ "MaybeSignal" |
+ "ButtonVariant::Primary" |
+ "Button's variant." |
+
+
+ "color" |
+ "MaybeSignal" |
+ "ButtonColor::Primary" |
+ "Button's color." |
+
+
+ "round" |
+ "MaybeSignal" |
+ "false" |
+ "Whether the button shows rounded corners." |
+
+
+ "icon" |
+ "Option" |
+ "None" |
+ "The icon of the button." |
+
+
+ "loading" |
+ "MaybeSignal" |
+ "false" |
+ "Whether the button shows the loading status." |
+
+
+ "disabled" |
+ "MaybeSignal" |
+ "false" |
+ "Whether the button is disabled." |
+
+
+ "on_click" |
+ "Option>" |
+ "None" |
+ "Listen for button click events." |
+
+
+ "children" |
+ "Children" |
+ |
+ "Button's content." |
+
+
+
}
}
diff --git a/demo/src/pages/divider/mod.rs b/demo/src/pages/divider/mod.rs
index d8ffeaa..80169de 100644
--- a/demo/src/pages/divider/mod.rs
+++ b/demo/src/pages/divider/mod.rs
@@ -1,13 +1,13 @@
use crate::components::{Demo, DemoCode};
use leptos::*;
-use thaw::*;
use prisms::highlight_str;
+use thaw::*;
#[component]
pub fn DividerPage() -> impl IntoView {
view! {
-
"Checkbox"
+
"Divider"
"top"