Skip to content

Commit

Permalink
feat(patterns/breadcrumb): add previews
Browse files Browse the repository at this point in the history
  • Loading branch information
tiloyi committed Jul 23, 2020
1 parent 8384985 commit 6215246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/docs/Components/Breadcrumb/index.mdx
Expand Up @@ -17,25 +17,25 @@ Every breadcrumb size variation is available both in light and dark version. Thi

### Light mode

--light mode preview--
<Preview path="default" nude />

### Dark mode

--dark mode preview--
<Preview path="dark-mode" nude />

## Breakpoint behaviours

### Smaller breakpoints

Breadcrumb can't be fully displayed on smaller breakpoints, that is why this version allows you to go back on the previous level only.

--small breadcrumb preview--
![preferences](breadcrumb-preview--small.png)

### Medium and larger breakpoints

For medium and larger breakpoints, you can display the whole path of the current page. We used some links to inform the user that the breadcrumb is clickable.

--medium 768 breadcrumb preview--
<Preview path="default" nude />

## Do & dont's

Expand Down

0 comments on commit 6215246

Please sign in to comment.