managarten/apps/picture/packages/mobile-ui/components/ui/Text
Wuesteon ff80aeec1f refactor: restructure
monorepo with apps/ and services/
  directories
2025-11-26 03:03:24 +01:00
..
index.ts refactor: restructure 2025-11-26 03:03:24 +01:00
README.md refactor: restructure 2025-11-26 03:03:24 +01:00
Text.tsx refactor: restructure 2025-11-26 03:03:24 +01:00

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.