Anchors
In-page links to the sections of a long page. Can flag a section with an error or warning state.
Health
Source
Design
Storybook
Playground
No Example
Accessibility
not-compliant
Platform
Web
Accessibility issues
The html semantics misses the `nav` and `<ul>`/`<li>` elements.
- Overview
- Props
- Figma
Anchors props
| Name | Type | Default Value | Description | Usage count |
|---|---|---|---|---|
| children* | ReactNode | Array of `Anchor.Item` elements | ||
| sticky | booleanundefined | false | ||
| stickyOffsetTop | numberundefined | 24 | Offset to adjust the top position when the element becomes sticky |