The BurgerMenu
is a simple dropdown menu that can be used for navigation.
npm i @anakin-gbit/burger-menu
<Section theme="theme1">
<div style={{ display: 'flex', justifyContent: 'flex-end' }}>
<BurgerMenu
links={[
{ id: '1', href: '/docs', label: '← Back to index' },
{ id: '2', href: '#', label: 'Profile' },
{ id: '3', href: '#', label: 'Settings' },
]}
/>
</div>
<p>
The Burger menu will inherit pallet colours from the gbit-styles, or
fallback to locally defined defaults.
</p>
</Section>
The Burger menu will inherit pallet colours from the gbit-styles, or fallback to locally defined defaults.