Skip to content
OTF Kit logoOTF Kit

Roles Menu

Input

Role assignment dropdown with descriptions and current-role check.

View in Storybook
Roles Menu
Loading Storybook preview…

Installation

bun add @otfdashkit/ui

Usage

Import Roles Menu from @otfdashkit/ui.

Code
// Roles Menu — Role assignment dropdown with descriptions and current-role check.
//
// Install:
//   bun add @otfdashkit/ui

import { RolesMenu } from '@otfdashkit/ui'

export function Example() {
  return (
    <RolesMenu>
      {/* your content */}
    </RolesMenu>
  )
}

Props

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

PropTypeDefaultDescription
classNamestring
onChange(role: string) => void
valuestring'member'

Related