Utility
AI
Terminal
Installation
pnpm dlx shadcn@latest add https://termcn.dev/r/heading.json
Usage
import { Heading } from "@/components/ui/heading";<Heading level={1}>Getting Started</Heading>API Reference
Heading
| Prop | Type | Default |
|---|---|---|
level | 1 | 2 | 3 | 4 | 1 |
children | ReactNode | required |
color | string | undefined |
prefix1 | string | "██ " |
prefix2 | string | "▌ " |
prefix3 | string | "› " |
uppercase | boolean | true |