
Stylish call-to-action block featuring bordered layout, decorative icons, and clear buttons for contacting sales or getting started.
@efferd
registry/blocks/cta/3/cta.tsx
import { Button } from "@/components/ui/button";
import { DecorIcon } from "@/components/decor-icon";
export function CallToAction() {
return (
<div className="relative mx-auto flex w-full max-w-3xl flex-col justify-between gap-y-4 border-y px-4 py-8 dark:bg-[radial-gradient(35%_80%_at_25%_0%,--theme(--color-foreground/.08),transparent)]">
<DecorIcon className="size-4" position="top-left" />
<DecorIcon className="size-4" position="top-right" />
<DecorIcon className="size-4" position="bottom-left" />
<DecorIcon className="size-4" position="bottom-right" />
<div className="pointer-events-none absolute -inset-y-6 -left-px w-px border-l" />
<div className="pointer-events-none absolute -inset-y-6 -right-px w-px border-r" />
<div className="absolute top-0 left-1/2 -z-10 h-full border-l border-dashed" />
<h2 className="font-heading text-center font-semibold text-xl md:text-3xl">
Start for Free Today!
</h2>
<p className="text-balance text-center font-medium text-muted-foreground text-sm md:text-base">
Begin your 6-day free trial today to fully explore and experience all
the features and benefits we offer.
</p>
<div className="flex items-center justify-center gap-2">
<Button variant="outline">Contact Sales</Button>
<Button>
Get Started{" "}
<IconPlaceholder
data-icon="inline-end"
hugeicons="ArrowRight02Icon"
lucide="ArrowRightIcon"
phosphor="ArrowRightIcon"
remixicon="RiArrowRightLine"
tabler="IconArrowRight"
/>
</Button>
</div>
</div>
);
}





























