Skip to main content

Starwind UI v3.0 is now available! Migration guide

Breadcrumb

Installation

Usage

Separator

The BreadcrumbSeparator component is used to visually separate items in the breadcrumb trail. By default, it displays a chevron-right icon, but you can provide your own custom separator.

Interactive Ellipsis

Use BreadcrumbEllipsis as a Dropdown trigger to reveal hidden path segments. Runtime owns focus, keyboard navigation, outside-click and Escape dismissal, and the popup’s entry and exit animations.

API Reference

Styled Component API

These props are added or materially changed by the installed styled component. Standard HTML attributes remain available through the inherited interfaces noted below. Expand a prop to see named type definitions and framework-specific imports. Follow the Primitive and Runtime links for lower-level behavior props.

Inherits a attributes.

Contains the following additional props:

Prop Type Default Toggle details
asChild boolean false
Description
Delegates markup and visual ownership to the child rather than preserving the native link recipe.
Classification
Wrapper prop

Changelog

v1.2.1

  • Named the generated aggregate default export so React and Astro tooling can identify the installed component cleanly.

v1.2.0

  • Added contract-generated Astro and React implementations while preserving the component’s existing public API and styling.

v1.1.3

  • Refactor tailwind variants functions into separate variants.ts file

v1.1.1

  • Add named slot “icon” to BreadcrumbEllipsis to enable easy icon swapping, and a default slot for the sr-only label

v1.1.0

  • Add a data-slot attribute to all components to enable global styling updates

v1.0.0

  • Initial component release with starwind v1.5.0