Label

Renders an accessible label associated with controls.

Was this example helpful?

Usage#


Code
import { Label } from "@medusajs/ui"
Code
<Label>Label</Label>

API Reference#


This component is based on the Radix UI Label primitive.

PropTypeDefault
size
"xsmall"
|"small"
|"base"
|"large"
"base"
weight
"regular"
|"plus"
"regular"
Was this page helpful?

Examples#


Base Regular#

Was this example helpful?

Base Plus#

Was this example helpful?

Large Regular#

Was this example helpful?

Large Plus#

Was this example helpful?

Small Regular#

Was this example helpful?

Small Plus#

Was this example helpful?

X-Small Regular#

Was this example helpful?

X-Small Plus#

Was this example helpful?