Documentation
Feedback
Guides
Storefront Development

Storefront Development
Label

Labels describe the meaning of input fields.

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


_10
<Label>Label</Label>


Import

Import the component from @faststore/ui

_10
import { Label } from '@faststore/ui'


Usage


_10
<Label>Label</Label>


Props

NameTypeDescriptionDefault
testIdstringID 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
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page