Breadcrumb

A navigation aid that allows users to keep track of their location within programs, documents, or websites.

Samples

Breadcrumb Samples

A navigation aid that allows users to keep track of their location within programs, documents, or websites.

1. Basic Breadcrumb

Standard breadcrumb with default separator.

0

<script>

1

  import { Breadcrumb } from 'fluid-ui-svelte/components';

2

3

  const items = [

4

    { label: 'Home', href: '/' },

5

    { label: 'Components', href: '/documentation/components' },

6

    { label: 'Breadcrumb', href: '/documentation/components/breadcrumb' }

7

  ];

8

</script>

9

10

<Breadcrumb {items} />

2. Custom Separator

You can provide a custom string or snippet as a separator.

0

<script>

1

  import { Breadcrumb } from 'fluid-ui-svelte/components';

2

</script>

3

4

<Breadcrumb 

5

  {items} 

6

  separator=">" 

7

/>