Replies: 1 comment
-
@Xelson Whipped this up few hours ago: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🚀 Feature request
Add a component to track the currently visible sections like
On this page
block on https://zagjs.com/ or https://ark-ui.com/🧱 Problem Statement / Justification
There is no unified solution for creating components like TOC, the implementation approaches vary and the complexity is quite high: even on the above-mentioned sites, TOC does not work clearly and reliably enough.
✅ Proposed solution or API
the component may consist of
ScrollSpy.Root
andScrollSpy.Section
parts, we may need more parts to support nesting.my react version in ark style
↩️ Alternatives
bootstrap
mantine TOC
Beta Was this translation helpful? Give feedback.
All reactions