Skip to content
Navigation drawer with utility tabs, light
Light
Navigation drawer with utility tabs, dark
Dark

Every state

  • Navigation drawer with utility tabs, default, light
    Navigation drawer with utility tabs, default, dark

    default

  • Navigation drawer with utility tabs, focus, light
    Navigation drawer with utility tabs, focus, dark

    focus

  • Navigation drawer with utility tabs, open, light
    Navigation drawer with utility tabs, open, dark

    open

  • Navigation drawer with utility tabs, hover-row, light
    Navigation drawer with utility tabs, hover-row, dark

    hover-row

  • Navigation drawer with utility tabs, focus-row, light
    Navigation drawer with utility tabs, focus-row, dark

    focus-row

  • Navigation drawer with utility tabs, search, light
    Navigation drawer with utility tabs, search, dark

    search

  • Navigation drawer with utility tabs, settings, light
    Navigation drawer with utility tabs, settings, dark

    settings

Props

PropTypeDefaultWhat it does
idstring"drawer-nav"Id prefix.
brandstring"Veldpost"Wordmark text, also the dialog name.
openLabelstring"Menu"Trigger text.
closeLabelstring"Close menu"Close button text.
searchLabelstring"Search"Search tab text.
searchPlaceholderstring–Placeholder of the search field.
settingsLabelstring"Settings"Settings tab text.
settingsBadgenumber2Count on the Settings tab; 0 hides it.
settings{ id; label; description; defaultChecked? }[]two switchesSwitches in the Settings panel.
itemsDrawerNavItem[]six sectionsIcon rows: label, href, icon, more (chevron), current.
secondaryDrawerNavLink[]three linksLinks in the grey group.
defaultTab"search" | "settings" | nullnullWhich tab starts open.
onSearch(query: string) => void–Called when the search is submitted.
onSettingChange(id: string, on: boolean) => void–Called when a switch is toggled.
openboolean–The drawer is open (controlled).
defaultOpenboolean–Opens the drawer on mount (previews and sheets).
onOpenChange(open: boolean) => void–Called when the drawer opens or closes.
containedboolean–Draws the panel inside the nearest relative parent instead of fixed over the page. For previews and sheets; leave off on a real page.
classNamestring–Extra classes on the wrapper.

More drawers

All 4
drawer-03 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans