Ship faster with goilerplate templUI Pro

Breadcrumb

Navigation component that helps users understand their location within a website's hierarchy.

Source Tailwind CSS

Installation

templui add breadcrumb

Examples

With Icons

Custom Separator

Responsive

API Reference

Required parameter
Hover for description

List

Breadcrumb list container for organizing breadcrumb items.

Name Type Default
ID

Unique identifier for the list element.

string
-
Class

Additional CSS classes to apply to the list.

string
-
Attributes

Additional HTML attributes to apply to the list element.

templ.Attributes
-

Item

Individual breadcrumb item component.

Name Type Default
ID

Unique identifier for the item element.

string
-
Class

Additional CSS classes to apply to the item.

string
-
Attributes

Additional HTML attributes to apply to the item element.

templ.Attributes
-
Current

Whether this item represents the current page.

bool
false

Separator

Visual separator between breadcrumb items.

Name Type Default
ID

Unique identifier for the separator element.

string
-
Class

Additional CSS classes to apply to the separator.

string
-
Attributes

Additional HTML attributes to apply to the separator element.

string
-
UseCustom

Whether to use custom separator content instead of default.

bool
false
Axel Adrian