Heading
Titles and section headers with optional terminal-style box-drawing decorations.
Import
Usage
The Heading component renders semantic heading elements with optional terminal-style decorations using box-drawing characters.
Section Heading
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| level | 1 | 2 | 3 | 4 | 5 | 6 | 2 | Heading level (maps to h1-h6) |
| decorated | boolean | false | Add terminal-style box-drawing decorations |
| decorationStyle | 'double' | 'single' | 'arrow' | 'double' | Decoration style |
| align | 'left' | 'center' | 'right' | - | Text alignment |
| transform | 'uppercase' | 'lowercase' | 'capitalize' | 'none' | 'uppercase' | Text transform |
| hero | boolean | false | Use hero styling with wide letter spacing |
| children | React.ReactNode | - | Heading content |
| className | string | - | Additional CSS class names |