managarten/apps/picture/packages/mobile-ui/components/ui/Text/README.md
Wuesteon d36b321d9d style: auto-format codebase with Prettier
Applied formatting to 1487+ files using pnpm format:write
  - TypeScript/JavaScript files
  - Svelte components
  - Astro pages
  - JSON configs
  - Markdown docs

  13 files still need manual review (Astro JSX comments)
2025-11-27 18:33:16 +01:00

758 B

Text

Typography component with predefined text variants.

Installation

```bash npx @memoro/ui add text ```

Usage

```tsx import { Text } from '@/components/ui/Text';

Heading Body text Caption ```

Variants

  • `title` - 44px, extra bold
  • `h1` - 32px, bold
  • `h2` - 28px, bold
  • `h3` - 24px, semibold
  • `h4` - 20px, semibold
  • `bodyLarge` - 18px
  • `body` (default) - 16px
  • `bodySmall` - 14px
  • `caption` - 12px
  • `label` - 14px, medium
  • `button` - 16px, semibold

Weights

  • `regular` - 400
  • `medium` - 500
  • `semibold` - 600
  • `bold` - 700

See full documentation in component file.