A client-safe React hook that parks a selected item at a fixed anchor point in a scroll container, with a configurable easing and duration — the click-to-scroll behavior for navigation panels, command palettes, and step lists.
pnpm dlx shadcn@latest add "https://ui.ericts.com/r/use-scroll-anchor.json"