Marquee Demo
nyxui/marquee-demoFreeExample
Example showing a marquee.
Live preview
live · rendered by the registry
Rendered by shadcn/ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://nyxui.com/r/marquee-demo.jsonSource
1import { Marquee } from "../ui/marquee";23export const MarqueeDemo = () => {4 return (5 <div className="flex flex-col max-w-4xl mx-auto w-full overflow-hidden">6 <h1 className="text-2xl font-bold mb-10 text-center">Marquee</h1>78 <div className="overflow-hidden flex items-center lg:max-w-xl 2xl:max-w-4xl mx-auto">9 <Marquee10 speed={30}11 direction="horizontal"12 fadeEdges={true}13 pauseOnTap={true}14 speedOnHover={15}15 className="h-40"16 >17 {/* React */}18 <div className="flex items-center justify-center p-6 rounded-lg h-32 w-32">19 <svg20 role="img"21 viewBox="0 0 32 32"22 xmlns="http://www.w3.org/2000/svg"23 aria-label="React"24 className="size-20 text-cyan-400"25 fill="currentColor"26 >27 <title>React</title>28// … truncated
What it pulls in
Other registry items
Files it writes
More from shadcn/ui
All 68 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| 3D Layered Card Demo3d-layered-card-demo | shadcn/ui | Examples | Free | no deps | |
| Animated Code Block Demoanimated-code-block-demo | shadcn/ui | Examples | Free | no deps | |
| Animated Grainy Background Demoanimated-grainy-bg-demo | shadcn/ui | Examples | Free | no deps | |
| Animated Text Demoanimated-text-demo | shadcn/ui | Examples | Free | no deps | |
| Apple Glass Effect Demoapple-glass-effect-demo | shadcn/ui | Examples | Free | no deps | |
| Bubble Background Demobubble-background-demo | shadcn/ui | Examples | Free | no deps | |
| Custom Cursor Democustom-cursor-demo | shadcn/ui | Examples | Free | no deps | |
| Cyberpunk Card Democyberpunk-card-demo | shadcn/ui | Examples | Free | no deps |
