Skip to content

Commit

Permalink
Add docs for side navigation with icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Mar 18, 2020
1 parent a004970 commit 1806c6a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions templates/docs/patterns/navigation.md
Expand Up @@ -77,6 +77,18 @@ Use `p-side-navigation__status` inside `p-side-navigation__link` elements to add
View example of the side navigation pattern
</a>

To add icons on the left side of the items in side navigation use the `.p-side-navigation--items` class.

<div class="p-notification--information">
<p class="p-notification__response">
<span class="p-notification__status">Note:</span>Icons should only be used on the items in the first level of side navigation.
</p>
</div>

<a href="/docs/examples/patterns/side-navigation/icons" class="js-example">
View example of the side navigation pattern with icons
</a>

### Import

To import just navigation or sub-navigation component into your project, copy snippets below and include it in your main Sass file.
Expand Down

0 comments on commit 1806c6a

Please sign in to comment.