4.2.0
CoreLabel

Label API

Every prop of Label, generated from the package manifest.

import { Label } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Labeltypes: LabelProps
Contract
packages/brand-system/src/components/label.contract.test-d.ts
Demos
2 on the Label page — rendered live, hydrated
Source
packages/brand-system/src/components/label.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Label is for, how it composes and what it looks like, see Label.

Label

A styled <label> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

On this page