MindeesUI
ComponentsTypography

Label

Short emphatic text for field labels and tags — tight line-height by default for compact UI.

Label is a preset of Text that defaults to the label step of the modular type scale, which uses a tight line-height. Reach for it when labelling form fields, badges, tabs, or any short emphatic snippet that should sit close to its target.

Import

import { Label } from '@mindees/ui';

Usage

<Label weight="semibold">Email address</Label>

Props

PropTypeDefaultDescription
variantTextStyleName'label'Named text style from the modular type scale.
toneTextTone'primary'Semantic colour token.
weightFontWeightTokenOverrides the variant's default font weight.
alignTextStyle['textAlign']Horizontal text alignment.
italicbooleanfalseRenders italic.
underlinebooleanfalseAdds an underline decoration.
strikethroughbooleanfalseAdds a line-through decoration.
fontFamilystringtheme system fontOverrides the font family.

Any remaining RN TextProps are forwarded to the underlying Text.

Accessibility

Inherits accessibility from the underlying RN Text — pass accessibilityLabel, accessibilityRole, etc. via props. For form labels, prefer wiring up the input's accessibilityLabelledBy to a nativeID on the label.

On this page