> For the complete documentation index, see [llms.txt](https://apcom.gitbook.io/altrone-ui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apcom.gitbook.io/altrone-ui/utils/enums/role.md).

# Role

The `Role` enumeration is what role of the component plays on the page. If the component does something very dangerous, then you need to use the `danger` role. If components show the successful state then you should use `success` role.&#x20;

```typescript
enum Role {
    default = 'default',
    primary = 'primary',
    success = 'success',
    danger = 'danger'    
}
```
