Skip to main content

Text

Status: No dedicated documentation exists in design-system-docs (checked main + all open PRs, verified 2026-08-19). This is a factual scaffold, not real guidance — every qualitative section below is an explicit placeholder for a human writer. Nothing has been invented.

Source: DTSL/design-systempackages/product/@dtsl-react/src/components/atomic/Text/Text.tsx (package @dtsl/react, exported as Text)

Props (verbatim from source)

export interface TextProps extends React.HTMLAttributes<HTMLElement> {
className?: string
children: React.ReactNode
tag?: 'span' | 'p' | 'div'
size?: 'sm' | 'md' | 'lg'
fontFamily?: 'regular' | 'interactive' | 'bold'
color?: string
style?: React.CSSProperties
}

When to Use

TODO — no existing UX/product guidance found in source, Storybook, or docs. Needs input from design/PM.

When NOT to Use

TODO — needs UX/product input. Name the alternative component if one exists (e.g. Heading for semantic headings).

Decision Logic

TODO — needs UX/product input on tag/size/fontFamily selection.

Accessibility

TODO — needs UX/product input.

Common Mistakes

TODO — needs UX/product input.