Service Carousel
A dark services section: large heading with arrow buttons and cards that snap in a row on phones and form a three-column grid on desktop, with one active card in the accent colour.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/service-carousel.jsonDependencies:
lucide-reactOur service
Usage
service-carousel-example.tsx
"use client";
import { Gamepad2, Glasses, Sparkles } from "lucide-react";
import { ServiceCarousel } from "@dbs/ui";
const ITEMS = [
{ id: "dev", icon: <Glasses className="h-6 w-6" />, title: "Reality development", description: "Custom VR development for immersive digital experiences, from prototype to launch." },
{ id: "assist", icon: <Sparkles className="h-6 w-6" />, title: "Digital assistants", description: "AI-driven virtual assistants that raise engagement and take routine work off your team." },
{ id: "game", icon: <Gamepad2 className="h-6 w-6" />, title: "Gaming solutions", description: "Next-generation VR game development for studios and brands." },
];
export default function ServiceCarouselExample() {
return (
<div className="w-full min-w-0" style={{ "--ui-accent": "#e9e9e9", "--ui-on-accent": "#111" } as React.CSSProperties}>
<ServiceCarousel title="Our service" items={ITEMS} />
</div>
);
}