smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Membership and permissions

RoleBadge

Role label component.

Public export

typescript
import { RoleBadge } from '@happyvertical/smrt-ui';
Import path
@happyvertical/smrt-ui
Props
2
Props described
2 of 2
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
roleRoleYesThe role object whose name is displayed.
size'sm' | 'md' | 'lg'NoVisual size of the badge.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation