Label
A label allows the user to understand a single element. It is often in the form of information, and can have an implied instruction. Usually used to describe the meaning of input fields.
Overview
<Label>Label</Label>Import
Import the component from @faststore/ui
import { Label } from '@faststore/ui'Usage
<Label>Label</Label>Props
| Name | Type | Description | Default |
|---|---|---|---|
| testId | string | ID to find this component in testing tools (e.g.: cypress, testing library, and jest). | fs-label |
Customization
For further customization, you can use the following data attributes:
data-fs-label