thaw/demo_markdown/docs/breadcrumb/mod.md
2024-06-04 10:13:37 +08:00

1 KiB

Breadcrumb

view! {
    <Breadcrumb>
        <BreadcrumbItem>
            <BreadcrumbButton>"Leptos"</BreadcrumbButton>
        </BreadcrumbItem>
        <BreadcrumbDivider />
        <BreadcrumbItem>
            <BreadcrumbButton>"UI"</BreadcrumbButton>
        </BreadcrumbItem>
        <BreadcrumbDivider />
        <BreadcrumbItem>
            <BreadcrumbButton current=true>"Thaw"</BreadcrumbButton>
        </BreadcrumbItem>
    </Breadcrumb>
}

Breadcrumb Props

Name Type Default Description
class OptionalProp<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 OptionalProp<MaybeSignal<String>> Default::default() Addtional classes for the breadcrumb link element.
children Children BreadcrumbItem's content.