Nav
Navigation bits in Bootstrap all share a general Nav
component and styles. Swap variant
s to switch between each style. The base Nav
component is built with flexbox and provide a strong foundation for building all types of navigation components.
This is a pass through component from React-Bootstrap.
See React-Bootstrap for additional documentation.
Basic Usage
Show editable code example
Any Paragon component or export may be added to the code example.
Theme Variables (SCSS)#
$nav-link-padding-y: .5rem !default;$nav-link-padding-x: 1rem !default;$nav-link-color: $gray-700 !default;$nav-link-disabled-color: $gray-300 !default;$nav-link-font-weight: 500 !default;$nav-tabs-border-color: $light-400 !default;$nav-tabs-border-width: 2px !default;$nav-tabs-border-radius: 0 !default;$nav-tabs-link-hover-border-color: transparent transparent $nav-tabs-border-color !default;$nav-tabs-link-hover-bg: $light-400 !default;$nav-tabs-link-active-color: $primary-500 !default;$nav-tabs-link-active-bg: $body-bg !default;$nav-tabs-link-active-border-color: transparent transparent $primary-500 !default;$nav-pills-border-radius: $border-radius !default;$nav-pills-link-active-color: $component-active-color !default;$nav-pills-link-active-bg: $component-active-bg !default;$nav-divider-color: theme-color("gray", "background") !default;$nav-divider-margin-y: calc($spacer / 2) !default;
Props API#
Usage Insights#
Nav
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 20.26.3 | 2 | |
frontend-app-communications | 20.30.1 | 1 | |
frontend-app-discussions | 20.15.0 | 1 |
NavItem
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-communications | 20.30.1 | 1 | |
frontend-app-discussions | 20.15.0 | 1 |
NavLink
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 20.26.3 | 1 | |
frontend-app-communications | 20.30.1 | 1 | |
frontend-app-discussions | 20.15.0 | 1 |