> For the complete documentation index, see [llms.txt](https://2600hz.gitbook.io/sds/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://2600hz.gitbook.io/sds/sds-3.0/sds-components/components/label.md).

# Label

A Label component is a user interface element used to provide descriptive text or titles for other UI elements in an application. It helps users understand the purpose of it.

### Use Cases:

✅ Providing descriptive text for form fields or input elements (e.g., "Email", "Password").

✅ Displaying titles or headings for sections or modules (e.g., "Contact Information").

✅ Labeling buttons or actions for clarity (e.g., "Save", "Submit").

✅ Providing additional information or context for UI elements (e.g., "Required field", "Optional").

### Not to Use Cases:

❌ Using labels as the sole means of conveying important instructions or guidance - Labels should supplement other UI elements, such as tooltips or inline help, to provide comprehensive instructions.

❌ Overloading labels with excessive text or complex explanations - Labels should be concise and clear to quickly convey their purpose.

❌ Using labels for interactive elements that require user input or action - Labels should describe UI elements rather than act as interactive components themselves.

❌ Using labels inconsistently or inaccurately, leading to confusion or ambiguity - Labels should be used consistently and accurately to maintain a clear and intuitive user interface.

<br>
