- Android
- iOS
- Web
Badge
Add a short status label to an interface.
Engine API NBadgenayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| children | ReactNode | Optional | |
| color | string | default | Use default, accent, success, warning, or danger. |
| variant | string | soft | Use primary, secondary, or soft. |
| size | string | number | md | Use sm, md, or lg. |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| role | string | Optional |