Learn how to use the Document Navigator component for creating table of contents with automatic scroll tracking and hierarchical navigation.
Integrate the component into your Next.js project to unlock seamless sidebar experiences. No custom configuration is required.
Simply drop <TtpDocumentNavigator /> into your layout.
The Document Navigator is designed for flexibility and intuitive navigation. Explore the rich set of features available:
Group related pages and content together with simple, interactive section toggles.
Supports unlimited navigation depth for even the most complex information hierarchies.
Easily match the component styling to your app’s theme using Tailwind CSS utility classes.
Yes, you can swap out the default icons for custom ones by providing your own React elements.
Absolutely! The component fully supports dark mode using Tailwind’s dark variant classes.