What is Lina and its key features?
mainLina is an adaptive scroll area designed for modern UIs. It is a responsive replacement for shadcn/ui's ScrollArea that focuses on a native feel across different input methods.
Key features include:
- Adaptive mask: Subtle edge fades that appear only when content is scrollable and adapt to scroll position, axis, and container shape.
- Micro-interactions: Hover/press effects for the custom scrollbar on desktop devices.
- Native touch optimization: Uses appropriate
touch-action, momentum scrolling, and passive listeners for a native feel on iOS/Android. - Drop-in replacement: Matches shadcn/ui's
ScrollAreaAPI (props, slots, andclassName). - Primitive variants: Supports both Radix and Base UI primitives while maintaining a consistent API.