2.0.6 • Published 6 months ago

@visual-framework/vf-breadcrumbs v2.0.6

Weekly downloads
175
License
Apache 2.0
Repository
-
Last release
6 months ago

Breadcrumbs component

npm version

About

The vf-breadcrumb component is a navigational item that can identify to the site visitor their location on the website. They are a visual representation of the site's hierarchy.

Usage

The vf-breadcrumb component should follow the vf-global-header in the page layout.

Each link in the component is separated by a > chevron. The page you are on should display an 'active' state in the breadcrumbs which is bold with no underline.

Ensure that the complete navigational path is displayed in the breadcrumbs on the desktop, exceptions can be made in the case where the related items component is used with the breadcrumbs, in this case it should list no more than three items, including the current page.

Related breadcrumbs

The "Related" variant allows you to indicate related items as additional navigation to the page the site visitor is on. They should be placed inside the vf-breadcrumbs <nav> element and be a seperate unordered list.

When to use

Use the breadcrumb when users would need to understand their current location in a website’s navigation structure

When not to use

Breadcrumbs should not be used for websites that have a single level of hierarchy. The breadcrumb nodes should not include parent categories which do not have separate pages. The only inactive link should be the current page’s node.

Responsive

On smaller screens it is recommended that the paths of the breadcrumbs shown should be shortened. Configure the breadcrumbs to show only the direct parent node in the information architecture. This allows the user to see and navigate one step above in the website's hierarchy. The breaking point for the responsive breadcrumb is implemented at width below 768px.

Accessibility

This component targets WCAG 2.1 AA accessibility.

Install

This component is distributed with npm. After installing npm, you can install the vf-breadcrumbs with this command.

$ yarn add --dev @visual-framework/vf-breadcrumbs

Sass/CSS

The source files included are written in Sass(scss). You can point your Sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/vf-breadcrumbs/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help

2.0.6

6 months ago

2.0.5

1 year ago

2.0.4

3 years ago

2.0.3

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago

1.0.0-rc.1

5 years ago

1.0.0-beta.9

5 years ago

1.0.0-beta.8

5 years ago

1.0.0-beta.7

5 years ago

1.0.0-beta.6

5 years ago

1.0.0-beta.5

5 years ago

1.0.0-beta.4

5 years ago

1.0.0-beta.3

5 years ago

1.0.0-beta.2

5 years ago

1.0.0-beta.1

5 years ago

0.0.39

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago