Skip to content

Roles Menu

Team and settingsMIT
View in Storybook

Role assignment dropdown with descriptions and current-role check.

bun add @otfdashkit/ui

Preview

Roles Menu

Code

import { RolesMenu } from '@otfdashkit/ui'

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

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

Props

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

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