What is dnd-timeline?
maindnd-timeline is a headless-UI library designed for creating timelines, built on top of @dnd-kit.
Key characteristics include:
- Headless: Contains 0 styling, except for functional styling like position and z-index. You are responsible for the visual design.
- Hook-based: Provides hooks such as
useItemanduseRowto integrate timeline logic into your existing component architecture. - Flexible: Exposes utility functions and positional styling that can be used with any styling library.
- Performant: Uses CSS transformations for intermediate states and animations to ensure 0 re-renders during these transitions.
- RTL Support: Natively supports Right-to-Left layouts; simply add
dir="rtl"to a parent container. - Touch Support: Works with touch devices by default and allows for sensor configuration via
@dnd-kitsensors.