Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

Breadcrumb

Breadcrumb is a component that helps users understand the hierarchy of a website.

Source@yamada-ui/breadcrumb

Breadcrumb follows the WAI-ARIA - Breadcrumb Pattern for accessibility.

When using Breadcrumb, set the aria-label for Breadcrumb.

<Breadcrumb aria-label="Breadcrumb">
<BreadcrumbItem>
<BreadcrumbLink href="/">サイヤ人編</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbItem>
<BreadcrumbLink href="/">ナメック星編</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbItem>
<BreadcrumbLink href="/">人造人間編</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbItem isCurrentPage>
<BreadcrumbLink href="/">魔人ブウ編</BreadcrumbLink>
</BreadcrumbItem>
</Breadcrumb>
Copied!

ARIA Roles and Attributes

ComponentRole and AttributesUsage
Breadcrumbaria-label="Breadcrumb"If aria-label is not set, "Breadcrumb" will be set by default.
BreadcrumbLinkaria-current="page"Set when isCurrentPage for BreadcrumbItem or BreadcrumbLink is true.

Edit this page on GitHub

PreviousLinkBoxNextPagination