You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,7 +48,7 @@ Primer comes with several navigation components. Some were designed with singula
48
48
49
49
The menu is a vertical list of navigational links. **A menu's width and placement must be set by you.** If you like, just use our grid columns as a parent. Otherwise, apply a custom `width`.
@@ -83,7 +83,7 @@ There are a few subcomponents and add-ons that work well with the menu, includin
83
83
84
84
You can also add optional headings to a menu. Feel free to use nearly any semantic element with the `.menu-heading` class, including inline elements, headings, and more.
@@ -93,12 +93,118 @@ You can also add optional headings to a menu. Feel free to use nearly any semant
93
93
</nav>
94
94
```
95
95
96
+
## Underline nav
97
+
98
+
Use `.UnderlineNav` to style navigation with a minimal underlined selected state, typically used for navigation placed at the top of the page. This component comes with variations to accommodate icons, containers and other content.
@@ -121,7 +227,7 @@ Use `.float-right` to align additional elements in the `.tabnav`:
121
227
122
228
Additional bits of text and links can be styled for optimal placement with `.tabnav-extra`:
123
229
124
-
```html
230
+
```html title="tabnav-extra"
125
231
<divclass="tabnav">
126
232
<divclass="tabnav-extra float-right">
127
233
Tabnav widget text here.
@@ -133,7 +239,7 @@ Additional bits of text and links can be styled for optimal placement with `.tab
133
239
</div>
134
240
```
135
241
136
-
```html
242
+
```html title="tabnav with everything"
137
243
<divclass="tabnav">
138
244
<divclass="float-right">
139
245
<aclass="tabnav-extra"href="#url">
@@ -154,7 +260,7 @@ Additional bits of text and links can be styled for optimal placement with `.tab
154
260
155
261
A vertical list of filters. Grey text on white background. Selecting a filter from the list will fill its background with blue and make the text white.
@@ -180,7 +286,7 @@ A vertical list of filters. Grey text on white background. Selecting a filter fr
180
286
181
287
`.subnav` is navigation that is typically used when on a dashboard type interface with another set of navigation above it. This helps distinguish navigation hierarchy.
0 commit comments