mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 22:39:23 -05:00
3684f5961b
* demo: refactor docs * demo: refactor docs * demo: refactor guide docs * chore: workflow add listens to the demo_markdown * demo: refactor mobile docs
38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
# Breadcrumb
|
|
|
|
```rust demo
|
|
view! {
|
|
<Breadcrumb>
|
|
<BreadcrumbItem>"Leptos"</BreadcrumbItem>
|
|
<BreadcrumbItem>"UI"</BreadcrumbItem>
|
|
<BreadcrumbItem>"Thaw"</BreadcrumbItem>
|
|
</Breadcrumb>
|
|
}
|
|
```
|
|
|
|
### Separator
|
|
|
|
```rust demo
|
|
view! {
|
|
<Breadcrumb separator=">">
|
|
<BreadcrumbItem>"Leptos"</BreadcrumbItem>
|
|
<BreadcrumbItem>"UI"</BreadcrumbItem>
|
|
<BreadcrumbItem>"Thaw"</BreadcrumbItem>
|
|
</Breadcrumb>
|
|
}
|
|
```
|
|
|
|
### Breadcrumb Props
|
|
|
|
| Name | Type | Default | Description |
|
|
| --------- | --------------------- | -------------------- | --------------------------------------------- |
|
|
| class | `MaybeSignal<String>` | `Default::default()` | Addtional classes for the breadcrumb element. |
|
|
| separator | `MaybeSignal<String>` | `/` | Breadcrumb separator. |
|
|
| children | `Children` | | Breadcrumb's content. |
|
|
|
|
### BreadcrumbItem Props
|
|
|
|
| Name | Type | Default | Description |
|
|
| -------- | --------------------- | -------------------- | -------------------------------------------------- |
|
|
| class | `MaybeSignal<String>` | `Default::default()` | Addtional classes for the breadcrumb link element. |
|
|
| children | `Children` | | BreadcrumbItem's content. |
|