Buttons

Anatomy

Navigation buttons anatomy
  1. Label sets the label of the button.
  2. Caret down/up icon shows that there are options. Show the icon only when the parent section has one or more children.
  3. Underline represents the active section on the page. It is present in the active and hover state.

Usage

When to Use

Use only on navigation components: the top hat, site nav, page nav, and nested nav.

When Not to Use

Don’t use as a standard CTA to execute regular actions.

Variants

There is only one type of navigation button, with no variations.

Navigation Button only variant
Variation
Purpose
Icon
Sizes
Colors

Navigation

Use for menu options in the top hat, site nav, page nav, and nested nav.

With icon (parent and child options), no icon (only parent option)

XL, LG, MD, SM

Neutral, white

With Icon

Add a caret-down icon when the parent option has children.

Navigation Button With Icon
Use the caret-down icon when collapsed and caret-up when options are shown.

No Icon

No icon should appear when the parent option has no children.

Navigation Button Without Icon
No icons are used.

Status

All buttons have 6 status that represent specific behaviors from the buttons: default, hover, focus, pressed, active, and disabled.

Default

The default state represents how the button appears when it is rendered on th interface without any user interaction. This is the most neutral presentation of the button, and it sets the foundation for all other states.

Navigation button on its default status

Hover

The hover state communicates interactivity and signals that the button can be clicked. It should provide clear change from the default state without creating confusion with other states.

Navigation button on its hover status

Pressed

The pressed state represents the exact moment when a user clicks or taps the button. It communicates that the interaction is being registered.

Navigation button on its pressed status

Active

The active state communicates which page the user is currently on. Unlike the pressed state (momentary interaction), the active state is persistent — it stays visible as long as the user remains in that page.

Navigation button on its active status

Focused

The focused state indicates that the button is currently the target of user interaction via keyboard, screen reader, or other assistive technology. It ensures that users navigating without a mouse can clearly identify which element is active.

Navigation button on its focused status

Disabled

The disabled state communicates that a button is visible but unavailable for interaction. It should look clearly inactive while still being legible enough to inform users of its purpose.

Navigation button on its disabled status

Container

Spacing

A button container can add standard spacing between buttons. Ensure that proper space is given between each button when placed next to each other. The standard distance between navigation buttons is 24px.

Navigation Button Container Spacing

Alignment

The alignment of the navigation buttons in their container should follow a right-justified pattern. The navigation component and its alignment change for the MD and SM view-ports.

Navigation Button Alignment graphic reference
Navigation Button graphic reference of how to align the buttons well on a container.

Do place the navigation buttons at the right of the navigation bar.

Navigation Button graphic reference of how to align the buttons wrong on a container.

Don’t place the navigation buttons following the logo, left-aligned.

Sizing

Sizing affects text size, icon size, and internal padding. The default size is large, and you can use props to make the button smaller or larger. In case of the primary button in red color, we recommend using it only in the XL and LG sizes for accessibility.

Navigation Button in all the possible sizes

Motion

For the specific status of hover, the arrow changes its color to red, and the red underline appears.

Navigation Button arrow motion

Themes

Navigation button on dark theme
Dark
Navigation button on mid theme
Mid
Navigation buttons on light theme
Light