Infinite Moving Cards
A horizontal scrolling marquee for testimonials or logos.
Preview
It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair.
Charles DickensA Tale of Two CitiesTo be, or not to be, that is the question: Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles And by opposing end them?
William ShakespeareHamletAll that we see or seem is but a dream within a dream.
Edgar Allan PoeA Dream Within a DreamIt is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife.
Jane AustenPride and PrejudiceCall me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world.
Herman MelvilleMoby-DickIt was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair.
Charles DickensA Tale of Two CitiesTo be, or not to be, that is the question: Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles And by opposing end them?
William ShakespeareHamletAll that we see or seem is but a dream within a dream.
Edgar Allan PoeA Dream Within a DreamIt is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife.
Jane AustenPride and PrejudiceCall me Ishmael. Some years ago—never mind how long precisely—having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world.
Herman MelvilleMoby-Dick
Customize
Installation & Usage
tsx
import { InfiniteMovingCards } from "@/components/ui/infinite-moving-cards";
export function InfiniteMovingCardsDemo() {
return (
<div className="h-[40rem] rounded-md flex flex-col antialiased bg-white dark:bg-black dark:bg-grid-white/[0.05] items-center justify-center relative overflow-hidden">
<InfiniteMovingCards
items={[{ quote: "To be, or not to be", name: "Shakespeare", title: "Hamlet" }]}
direction="left"
speed="normal"
gap="normal"
backgroundColor="#09090b"
textColor="#ffffff"
subTextColor="#a1a1aa"
/>
</div>
);
}