# EclFormLabelComponent

**Type:** component



The `EclFormLabelComponent` is used to render a form label with optional or required state.

It supports ECL design system styling and applies relevant classes or attributes
based on the input flags.


**Selector:** `[eclFormLabel]`

## Inputs
- **isOptional**: `boolean` - Marks the form label as optional. When `true`, the label can display additional styling or indicators for optional fields.  Defaults to `false`.
- **isRequired**: `boolean` - Marks the form label as required. When `true`, the label can display styling or indicators for required fields.  Defaults to `false`.
- **class**: `string` - 
- **e2eAttr**: `any` - 
- **tabindex**: `number` - 
