Lina: A shadcn/ui ScrollArea replacement that actually adapts to your input method.
Key features:
π― Detects touch vs pointer and switches between native scrolling and custom scrollbars
π«οΈ Edge masks that appear only when content overflows
π±οΈ Hover and press effects for desktop scrollbars
π± Proper momentum scrolling and touch action on mobile
π Drop-in replacement for existing ScrollArea components
π§© Works with both Radix UI and Base UI
Install through shadcn CLI in one command. No config changes needed if you're already using ScrollArea. Just swap the import and you're done.
π Blog Post
π GitHub Repo
π Live Demo
Top comments (0)