Documentation
Feedback
Guides
Storefront Development

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.
Example
Code

Usage

Import the component


_10
import { Label } from "@faststore/ui";


Data attributes

You can target and override Label styles using the following data attributes:
data-fs-label

Props

NameTypeDescriptionDefault
testIdstringID to find this component in testing tools (e.g.: cypress, testing library, and jest).fs-label
Contributors
2
Photo of the contributor
Photo of the contributor
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
On this page