Bento CTA
Showcases multiple value props in a visually dynamic grid: an asymmetric bento layout puts a larger, bordered call-to-action tile (heading, description, button) at the center-left, surrounded by smaller icon-and-text value-prop tiles filling the remaining cells.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/bento-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta40.tsx instead.
Usage
The file also exports cta40Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Cta40, cta40Demo } from "@/components/blocks/cta/cta40"; export default function Page() { return <Cta40 {...cta40Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Heading inside the central call-to-action tile. |
| description | string | none | Supporting text inside the central call-to-action tile. |
| buttonLabel | string | "Get started free" | Label for the central tile's button. |
| buttonHref | string | "/signup" | Link for the central tile's button. |
| tiles | BentoTile[] | none | Smaller value-prop tiles surrounding the central call-to-action. |
| className | string | none | Extra classes for the outer section element. |
Types
interface BentoTile { title: string; description: string; }
Behavior notes
- Fully static: the grid layout is a fixed `grid-cols-4 grid-rows-2`-style bento (central tile spans 2 columns and 2 rows), icons are drawn from a fixed, hardcoded array assigned by array position.
- The button inside the central tile is a real link to a placeholder route; the surrounding tiles are purely decorative value props.
More CTA Blocks
View all →centered-newsletter-cta
Centered Newsletter CTA
Minimal centered call-to-action with heading, description, and action buttons.
split-layout-newsletter-cta
Split Layout Newsletter CTA
Two-column call-to-action with a decorative image on one side and a feature list plus subscribe form on the other.
newsletter-social-proof-cta
Newsletter CTA with Social Proof
Newsletter call-to-action with an avatar stack, subscriber count, and a testimonial quote.
banner-cta
Banner CTA
Horizontal banner call-to-action with heading and action buttons side by side.
stats-cta
Stats CTA
Call-to-action section with impressive statistics and trust indicators above action buttons.
multi-card-cta
Multi-Card CTA
Three action cards side by side, each offering a different path to conversion.