Menu
Installing
Install the component
npm install @supabase/ui
Getting started
Import the component
import { Menu } from '@supabase/ui'
Basic
The Menu component is made up of a parent component and then subcomponents that dictate menu items and group labels. Dividers can be used to split up items.
LoadingGroups
Use Group subcomponent to split up the menu with group labels
LoadingActive state
An active state can be shown with active
and, additionally a border can be shown with showActiveBar
.
API reference
Menu
Coming soon
Menu.Item
coming soon
Menu.Group
coming soon
Menu.Misc
coming soon