Skip to Content
🎉 Coral x Panda has been released 🎉 Read the Migration Guide
DocumentationOrganismsHeaderHeaderMenuToggleButton

HeaderMenuToggleButton

HeaderMenuToggleButton is a sub-component of the Header organism.

It is used to allow the user to toggle the menu.

Basic Usage

import { HeaderMenuToggleButton } from '@krakentech/coral-organisms'; <HeaderMenuToggleButton closedText="Menu" openText="Back" />

Full API

NameTypeDefault
closedTextstring

The label displayed inside the button when the menu is closed.

openTextstring

The label displayed inside the button when the menu is open.

Last updated on