tigran tumasov

Scroller

Component 10

About

Display an overflowing list of items.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Scroller to your project and fits it to your theme.

Code

How Scroller is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Scroller } from "@/components/ui/scroller-1";

export default function FreeDemo() {
  return (
      <div className="w-3/4">
        <Scroller height={220} overflow="both" width="100%">
          <div className="grid grid-flow-col grid-rows-2 gap-4">
            {...Array.from({ length: 6 }, (_, i) => (
              <div className="bg-[#171717] dark:bg-[#ededed] h-96 w-96" key={i} />
            ))}
          </div>
        </Scroller>
      </div>
  );
}

Dependencies

More by tigran tumasov

View all
  • Product Hunt Badge

    Product Hunt Badge

    1.8K
  • Book

    Book

    162
  • Calendar

    Calendar

    152
  • Theme Switcher

    Theme Switcher

    135
  • Snippet

    Snippet

    124
  • Table

    Table

    123
  • Toggle

    Toggle

    89
  • Feedback

    Feedback

    88