Loading...
Loading...
Loading...
Top navigation bar with mobile menu toggle, search trigger, and action slots.
Install
npx bouncekit@latest add topbarImport
import { Topbar } from "@/components/dashboard/topbar"API Reference
| Prop | Type | Required | Description |
|---|---|---|---|
children | ReactNode | — | Primary content — breadcrumb or page title. |
actions | ReactNode | — | Right-side action items. |
onMenuClick | () => void | — | Mobile sidebar toggle handler. |
onSearchClick | () => void | — | Search trigger handler. |
Source
src/components/dashboard/topbar.tsx