cta-2
freddy/cta-2FreeBlock
Minimal call-to-action section with headline, short description, and dual buttons for sales contact and getting started.
Install it
npx shadcn@latest add https://ui.arkcabin.com/r/cta-2.jsonSource
1import { ArrowRightIcon } from "lucide-react";2import { Button } from "@/components/ui/button";34export function CallToAction() {5 return (6 <div className="relative mx-auto flex w-full max-w-3xl flex-col justify-between border-x">7 <div className="-translate-x-1/2 -top-px pointer-events-none absolute left-1/2 w-screen border-t" />8 <div className="border-b px-2 py-8">9 <h2 className="text-center font-semibold text-lg md:text-2xl">10 Plan the present. Build the future.11 </h2>12 <p className="text-balance text-center text-muted-foreground text-sm md:text-base">13 Start your journey today by clicking the button below.14 </p>15 </div>16 <div className="flex items-center justify-center gap-2 bg-secondary/80 p-4 dark:bg-secondary/40">17 <Button variant="outline">Contact Sales</Button>18 <Button>19 Get Started <ArrowRightIcon />20 </Button>21 </div>22 <div className="-translate-x-1/2 -bottom-px pointer-events-none absolute left-1/2 w-screen border-b" />23 </div>24 );25}
What it pulls in
Other registry items
Files it writes
More from freddy
All 60 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| announcement-1announcement-1 | freddy | Blocks | Free | 1 dep | |
| announcement-2announcement-2 | freddy | Blocks | Free | 1 dep | |
| announcement-3announcement-3 | freddy | Blocks | Free | 1 dep | |
| auth-1auth-1 | freddy | Blocks | Free | no deps · 2 files | |
| auth-10auth-10 | freddy | Blocks | Free | no deps | |
| auth-11auth-11 | freddy | Blocks | Free | no deps | |
| auth-12auth-12 | freddy | Blocks | Free | no deps | |
| auth-2auth-2 | freddy | Blocks | Free | 1 dep · 3 files |
