> 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/types/option.md).

# Option

Some components used Option type to make a list of `label`-`value` pair objects. Also this type has generic through which you can set `value` type.&#x20;

```typescript
interface Option<T extends unknown> {
  label: string;
  value: T;
  disabled?: boolean; // not working in all components
  parent?: string; // can be used for grouping. Not working in all components
}
```
