EEnterUI
DocsComponentsThemesDonation
Get Started
  • Component onboarding
    • Text
    • List
    • DescriptionList
    • Alert
    • Avatar
    • AvatarGroup
    • Separator
EnterUIDocsFoundationsContentText
FoundationsUpdated 6 May 2026

Text

Token-driven body text for calm product interfaces.

Text provides consistent body copy, tone, weight, alignment, and truncation while keeping the rendered element explicit.

#Default usage

Default text

Text renders a paragraph by default.

EnterUI typography stays calm by default, with enough hierarchy for dense product interfaces.

Code
<Text>EnterUI typography stays calm by default, with enough hierarchy for dense product interfaces.</Text>

#Import

Code
import { Text } from "@froggdesign/enter-ui-react";

#Variants

Element variants

Choose the semantic element that matches the surrounding content.

Paragraph text for normal content blocks.

Inline muted textSmall supporting textStrong emphasisEmphasized copy

#Size

Sizes

Use larger text sparingly inside component surfaces.

Extra small metadata

Small product copy

Default body text

Large supporting copy

#Tone

Tones

Semantic tones should support text, not replace it.

Default message

Muted secondary message

Subtle metadata

Sync completed

Quota approaching

Build failed

New docs are available

#States

Weights

Weights map to FroggDesign typography tokens where available.

Regular

Medium

Semibold

Bold

#Accessibility

Text renders native text elements. Pick as for document meaning: use p for paragraphs, span for inline text, strong for strong importance, and em for stress emphasis. Do not rely on tone alone for critical status.

#API

  • as: p, span, div, small, strong, or em.
  • size: xs, sm, md, or lg.
  • weight: regular, medium, semibold, or bold.
  • tone: default, muted, subtle, success, warning, error, or info.
  • align: left, center, or right.
  • truncate: applies single-line overflow truncation.
  • Extends native props for the rendered element and supports className.

#Styling

Text uses .eui-text with data-size, data-weight, data-tone, data-align, and data-truncate. Override spacing or color through className and FroggDesign variables instead of inline styles.

PreviousRating
NextList

On this page

  1. Default usage
  2. Import
  3. Variants
  4. Size
  5. Tone
  6. States
  7. Accessibility
  8. API
  9. Styling