Scroll Area
Neumorphic scroll area on the Radix primitive. Stock structure with a soft rounded thumb tinted from the text token; focus is the outline ring.
Installation
bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-scroll-area.jsonUsage
import { ScrollArea, ScrollBar } from "@/components/ui/neu/scroll-area"<ScrollArea className="neu-pressed h-48 w-64 p-4">
Long content that scrolls inside a carved well.
</ScrollArea>Horizontal
Add a ScrollBar with orientation="horizontal" inside the area.
<ScrollArea className="w-96 whitespace-nowrap">
<div className="flex w-max gap-4 p-4">{/* wide content */}</div>
<ScrollBar orientation="horizontal" />
</ScrollArea>