Vertical Scroll Area Base Demo
lina/vertical-scroll-demo-baseFreeComponent
A demo showcasing the vertical scroll area component using Lina's Base UI
Install it
npx shadcn@latest add https://lina.sameer.sh/r/vertical-scroll-demo-base.jsonSource
1import * as React from "react";2import { ScrollArea } from "@/registry/base-ui/scroll-area";34import { Separator } from "@/components/ui/separator";56const tags = Array.from({ length: 50 }).map((_, i, a) => `v1.2.0-beta.${a.length - i}`);78export function ScrollAreaDemo() {9 return (10 <ScrollArea className="bg-background h-72 w-48 rounded-md border">11 <div className="p-4">12 <h4 className="mb-4 text-sm leading-none font-medium">Tags</h4>13 {tags.map((tag) => (14 <React.Fragment key={tag}>15 <div className="text-sm">{tag}</div>16 <Separator className="my-2" />17 </React.Fragment>18 ))}19 </div>20 </ScrollArea>21 );22}
What it pulls in
Other registry items
Files it writes
More from lina
All 10 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Command based on Lina's Base UI variantcommand-base | lina | Components | Free | 2 deps | |
| Command based on Lina's Radix UI variantcommand-radix | lina | Components | Free | 2 deps | |
| Horizontal Scroll Area Base Demohorizontal-scroll-demo-base | lina | Components | Free | no deps | |
| Horizontal Scroll Area Radix Demohorizontal-scroll-demo-radix | lina | Components | Free | no deps | |
| Base UI Adaptive Scroll Arealina-base | lina | Components | Free | 1 dep · 2 files | |
| Radix Adaptive Scroll Arealina-radix | lina | Components | Free | 1 dep · 2 files | |
| Timezone Select Base UI Demotimezone-select-demo-base | lina | Components | Free | 1 dep | |
| Timezone Select Radix Demotimezone-select-demo-radix | lina | Components | Free | 1 dep |
