# P scroll area 4

> Scroll area with fading edges

A shadcn/ui block from the [@coss](https://coss.com/ui) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/coss/p-scroll-area-4).

- Page, with a live preview: https://shadcn.exchange/r/coss/p-scroll-area-4
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/coss/p-scroll-area-4-light-96856d70d68be142.png
- Registry item: https://coss.com/ui/r/p-scroll-area-4.json
- Categories: scroll area
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://coss.com/ui/r/p-scroll-area-4.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@coss/scroll-area`

## Files

### `registry/default/particles/p-scroll-area-4.tsx`

```tsx
import { ScrollArea } from "@/registry/default/ui/scroll-area";

const tags = Array.from({ length: 50 }, (_, i) => `v1.0.0-alpha.${i}`);

export default function Particle() {
  return (
    <ScrollArea className="h-64 rounded-lg border" scrollFade>
      <div className="px-4 py-2">
        <h4 className="mb-2 font-medium text-sm">Tags</h4>
        <div className="flex flex-col gap-1">
          {tags.map((tag) => (
            <div className="text-sm" key={tag}>
              {tag}
            </div>
          ))}
        </div>
      </div>
    </ScrollArea>
  );
}
```
