Skip to content

User Menu

Menus and commandsMIT
View in Storybook

Authenticated user dropdown with profile, settings, and sign-out.

bun add @otfdashkit/ui

Preview

User Menu

Code

import { UserMenu } from '@otfdashkit/ui'

export function Example() {
  return (
    <div className="p-4"><UserMenu /></div>
  )
}

Free with the SDK. This block ships in @otfdashkit/ui under the MIT license.

Props

Props declared in the UserMenu source. Inherited HTML attributes are not listed.

PropTypeDefaultDescription
classNamestring
emailstring'jane@acme.com'
initialsstring'JD'
namestring'Jane Doe'
onBilling() => void
onProfile() => void
onSettings() => void
onSignOut() => void