TrademarkTrademarkDocs
Ctrl k
Search docs...
Modules

HeadingLink

Updated: June 15, 2025
View on GitHub
The HeadingLink component creates linkable section headings that automatically integrate with the HeadingNav component to provide a smooth navigation experience throughout your content. Use the HeadingLink component to create section headings throughout your content. When used with the HeadingNav component, these headings will automatically appear in the navigation. The HeadingLink component can be customized with the standard Heading styling props. The HeadingLink component works seamlessly with the HeadingNav component to create an automatic table of contents.
  • Creates linkable section headings with anchor IDs
  • Automatically integrates with HeadingNav for table of contents
  • Supports all heading levels (h1-h6)
  • Provides hover link indicators for easy navigation
  • Fully accessible with proper heading semantics
Prop
Type
Default
idrequired
Anchor target, and what the copied link points at.
string—
asrequired
Which heading level to render.
h1h2h3h4h5h6
—
children
React.ReactNode—
style
React.CSSProperties—
…and every FlexProps propinherited—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club