Primitives

Scroll area

The system's own thin scrollbar over the content; edges fade while there is more.

vertical · fade at the edges with more

DHA-GA 10-43218:00
DHA-KHA 11-43588:07
DHA-THA 12-43958:14
DHA-GA 13-44329:21
DHA-KHA 14-44699:28
DHA-THA 15-45069:35
DHA-GA 16-454310:42
DHA-KHA 17-458010:49
DHA-THA 18-461710:56
DHA-GA 19-465411:03
DHA-KHA 20-469111:10
DHA-THA 21-472811:17
DHA-GA 22-476512:24
DHA-KHA 23-480212:31
DHA-THA 24-483912:38
DHA-GA 25-487613:45
DHA-KHA 26-491313:52
DHA-THA 27-495013:59
DHA-GA 28-498714:06
DHA-KHA 29-502414:13
DHA-THA 30-506114:20
DHA-GA 31-509815:27
DHA-KHA 32-513515:34
DHA-THA 33-517215:41

horizontal

Gulshan

29% full

Banani

12% full

Dhanmondi

63% full

Uttara

12% full

Mirpur

12% full

Motijheel

63% full

Bashundhara

7% full

Import#

Everything comes from the package root. The example above uses:

your-component.tsx
import { ScrollArea } from "@waveinno/ui";

Props#

Read from the source of this version, so they match the code exactly.

<ScrollArea>

src/components/ui/scroll-area.tsx
PropTypeDefaultDescription
orientation"vertical" | "horizontal" | "both""vertical"
fadebooleanfalse
viewportClassNamestring—Class for the scrolling viewport (padding goes here).

Also takes ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>.

Install#

If the project does not have the package yet, add it, then follow the setup for Next.js or Vite once.

$ npm install @waveinno/ui