MastheadTabButtons

How to get MastheadTabButtons

import { MastheadTabButtons } from 'fds/components';

Type: Component

A layout container which should contain Button components, handling the horizontal spacing. Should be used as a direct child of a MastheadContent component.

When the child Button components overflow the horizontal size of the MastheadTabButtons component, it will also handle the overflow behavior. This will result in a horizontal slider, allowing the user to navigate between buttons using arrow buttons.

Props

# Name Type Description
1. children ReactNode

Related links

Was this page helpful?