Skip to content

Breadcrumb component #39

@mwarman

Description

@mwarman

Describe the story

Provide a clear description of the new feature or improvement to existing functionality.

Create a Breadcrumb component. The the component(s) should be loosely based on the shadcn/ui Breadcrumb for composition and design. However, do not use any of the radix-ui packages.

Acceptance criteria

Provide clear acceptance criteria to validate the story is complete.

WHEN the Breadcrumbs component is shown
THEN the elements of the path are displayed separated by the defined "separator"

WHEN the Breadcrumbs contain more than 4 elements
THEN the Breadcrumbs are shortened to show the first, followed by '...', and the final 2 breadcrumbs

WHEN a Breadcrumb is clicked
THEN the app navigates to the associated link

WHEN a Breadcrumb is wider than the maximum width
THEN it is truncated with '...'

Additional context

Add any other context about the story here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions