Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
React Native docs
FoundationsReact Native

Text

Render native text with shared typography variants and semantic color tones.

Public APILumenTextReact Native

Native example

Use Text

Use the title and label roles for hierarchy, not as substitutes for application navigation semantics. Prefer the muted and soft tones for supporting copy.

View verified React Native runtime capture
Text rendered in the Expo web renderer Lumen playground
Verified runtime captureExpo web renderer
tsx
<LumenText variant="title" tone="default">
  Welcome back
</LumenText>

Reference

Public API

The primary shared and platform-specific options exposed by LumenText.

APIValues or typeDefaultDescription
childrenString / native text contentRequiredThe text content.
variantbody · caption · label · titlebodySelects the shared typography role.
tonedefault · soft · muted · success · warning · dangerdefaultSelects a semantic foreground role.
styleNative layout or text stylingAdds platform-native layout and presentation overrides.

Native behavior

Design and accessibility

When to use it

Use the title and label roles for hierarchy, not as substitutes for application navigation semantics. Prefer the muted and soft tones for supporting copy.

Accessibility

Text remains native text, supports platform font scaling, and preserves the semantic meaning supplied by its surrounding view.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose
React Native docsNative primitives