# Marquee Fade 1 - Edge fade

> Marquee with left and right gradient fades at the scroll edges.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/marquee-marquee-fade-1).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/marquee-marquee-fade-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/marquee-marquee-fade-1-light-2f0d2217b74ee3b7.png
- Registry item: https://shadcnblocks.com/r/marquee-marquee-fade-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/marquee-marquee-fade-1.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: `https://www.kibo-ui.com/r/marquee.json`

## Files

### `example/marquee/marquee-fade-1.tsx`

```tsx
import {
  Marquee,
  MarqueeContent,
  MarqueeFade,
  MarqueeItem,
} from "@/components/kibo-ui/marquee";

export const title = "Edge fade";

const items = ["Analytics", "Automation", "Collaboration", "Integrations"];

const Example = () => (
  <div className="w-full max-w-md">
    <Marquee>
      <MarqueeContent>
        {items.map((item) => (
          <MarqueeItem key={item}>
            <span className="px-4 text-sm font-medium">{item}</span>
          </MarqueeItem>
        ))}
      </MarqueeContent>
      <MarqueeFade side="left" />
      <MarqueeFade side="right" />
    </Marquee>
  </div>
);

export default Example;
```
