A joined row of square service cards in a carousel, five across on wide screens. Each card centers an icon or a small image, a title and a Details link. The cards can be inverted, use the primary color, sit on the card surface, or take any custom background and text color. Previous and next arrows sit under the cards at the bottom right.
A joined row of square service cards in a carousel, five across on wide screens, each with an icon or a small image, a title and a Details link. The cards can be inverted, use the primary color, sit on the card surface or take any background and text color you pass, and the previous and next buttons sit under the row at the bottom right.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://beste.dev/r/feature333?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/feature333?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/feature333.tsx plus the shadcn carousel primitive and embla-carousel-react.
The installed file exports feature333Demo alongside the block: the exact props behind the preview above. Spread it to get a working section in one line.
import { Feature333, feature333Demo } from "@/components/beste/block/feature333";
export default function Page() {
return <Feature333 {...feature333Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { HeartPulse, Signpost, Truck } from "lucide-react";
import { Feature333 } from "@/components/beste/block/feature333";
export default function Page() {
return (
<Feature333
items={[
{ title: "Car insurance", href: "/products/car", icon: Signpost },
{ title: "Health insurance", href: "/products/health", icon: HeartPulse },
{ title: "Cargo insurance", href: "/products/cargo", icon: Truck },
{ title: "Home insurance", href: "/products/home", image: { src: "/icons/home.png", alt: "A house" } },
]}
linkLabel="Details"
colors={{ background: "#1f2340", foreground: "#ffffff" }}
labels={{ previous: "Previous", next: "Next" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
items | ServiceItem[] | [] | One card per service |
linkLabel | string | – | Text of the link at the foot of every card |
tone | "inverse" | "primary" | "card" | "inverse" | Card colors from the theme |
colors | { background?: string; foreground?: string } | {} | Any CSS colors for the cards; overrides tone when set |
labels | { previous?: string; next?: string } | {} | Accessible names for the arrow buttons |
className | string | – | Extra classes for the outer section |
type ServiceItem = {
title: string;
href: string;
icon?: LucideIcon;
image?: { src: string; alt: string };
};inverse uses bg-foreground text-background, so the cards flip with the theme, primary uses the primary color pair and card sits on bg-card with a border.colors is applied as inline styles and wins over tone. Dividers between cards and the icons follow the text color, so they stay visible on any background you pass.image when it has one and falls back to icon; the image is a 64 pixel square with object-cover.sm, 3 from lg and 5 from xl. The arrow buttons scroll one card at a time and are disabled at either end, since the carousel does not loop.