Hextech UI

Typography

Live example

Typography

Beyond the ordinary

The details make the experience.

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/typography.json

API reference

These are the main Typography options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
ash1–h6 (Heading), p | span | div (Text)h2 / p
sizesm | md | lg | xl (Heading)lg
tonedefault | gold | muted (Heading)default

Semantic text

Choose as for the document hierarchy and size for the visual scale. Do not skip heading levels to get larger text. Associate Label with a control through htmlFor.