Trusted by innovative teams
Command
Globe
Activity
Cloud
logo-carousel-demo.tsx
logo-carousel.tsx
prompt.md
Collapse
Reset
Copy Code
Download
Run
1
"use client"
2
3
import * as React from "react"
4
import { LogoCarousel } from "@/components/ui/logo-carousel"
5
import { Command, Figma, Framer, Github, Hexagon, Layers, Triangle, Boxes } from "lucide-react"
6
7
const LOGOS = [
8
{ id: 1, name: "Command", icon: <Command className="w-6 h-6" /> },
9
{ id: 2, name: "Figma", icon: <Figma className="w-6 h-6" /> },
10
{ id: 3, name: "Framer", icon: <Framer className="w-6 h-6" /> },
11
{ id: 4, name: "Github", icon: <Github className="w-6 h-6" /> },
12
{ id: 5, name: "Hexagon", icon: <Hexagon className="w-6 h-6" /> },
13
{ id: 6, name: "Layers", icon: <Layers className="w-6 h-6" /> },
14
{ id: 7, name: "Triangle", icon: <Triangle className="w-6 h-6" /> },
15
{ id: 8, name: "Boxes", icon: <Boxes className="w-6 h-6" /> },
16
]
17
18
export default function LogoCarouselDemo() {
19
return (
20
<div className="w-full h-full min-h-[500px] flex items-center justify-center bg-white dark:bg-[#1C1C1C]">
21
<div className="w-full max-w-4xl mx-auto px-4 py-20 flex flex-col items-center">
22
<h3 className="text-sm font-medium text-zinc-400 dark:text-zinc-500 mb-12 tracking-wide uppercase">
23
Trusted by innovative teams
24
</h3>
25
26
{/* We use a mask to fade out the edges for a polished look */}
27
<div className="w-full relative [mask-image:linear-gradient(to_right,transparent,black_15%,black_85%,transparent)]">
28
<LogoCarousel logos={LOGOS} columnCount={4} interval={3000} />
29
</div>
30
</div>
31
</div>
32
)
33
}
34

