Props
| Prop | Type | Description |
|---|---|---|
href | string | URL or anchor reference |
children | ReactNode | Link text |
className | string | Tailwind classes |
External links
http://, https://, mailto:, ftp://.
Internal links
Use# to link to bookmarks within the document:
Styling
Bookmark
Create anchor points that internal links can target.Bookmark props
| Prop | Type | Description |
|---|---|---|
name | string | Anchor identifier (used with #name) |
children | ReactNode | Content to wrap |
Headings as anchors
Headings withid prop automatically create bookmarks:
