Label
Renders an accessible label associated with controls.
Was this example helpful?
Usage
import { Label } from "@medusajs/ui"
<Label>Label</Label>
API Reference
This component is based on the Radix UI Label primitive.
Prop | Type | Default |
---|---|---|
size | enum | "base" |
weight | enum | "regular" |
Was this section 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?