BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/SmoothUI Registry/cta-2

Cta 2

smoothui-registry/cta-2
FreeBlock

Split layout CTA block with text and illustration

Install it

npx shadcn@latest add https://www.smoothui.dev/r/cta-2.json

Source

index.tsxwww.smoothui.dev/r/cta-2.json
1"use client";
2
3import SmoothButton from "@/components/smoothui/smooth-button";
4import { getImageKitUrl } from "@/lib/smoothui-data";
5import { motion, useReducedMotion } from "motion/react";
6
7const SPRING = {
8 bounce: 0.1,
9 duration: 0.25,
10 type: "spring" as const,
11};
12
13export function CtaSplit() {
14 const shouldReduceMotion = useReducedMotion();
15
16 return (
17 <section aria-labelledby="cta-split-heading">
18 <div className="py-24 md:py-32">
19 <div className="mx-auto grid max-w-6xl items-center gap-12 px-6 md:grid-cols-2">
20 <motion.div
21 initial={
22 shouldReduceMotion ? { opacity: 1 } : { opacity: 0, x: -24 }
23 }
24 transition={shouldReduceMotion ? { duration: 0 } : SPRING}
25 viewport={{ once: true }}
26 whileInView={
27 shouldReduceMotion ? { opacity: 1 } : { opacity: 1, x: 0 }
28 }
29 >
30 <h2
31 className="text-balance font-bold text-3xl tracking-tight md:text-4xl"
32 id="cta-split-heading"
33 >
34 Ship faster with animated components
35 </h2>
36 <p className="mt-4 text-foreground/70 text-lg leading-relaxed">
37 Stop building UI from scratch. Use production-ready, beautifully
38 animated components that work with your existing design system.
39 </p>
40 <div className="mt-8 flex flex-wrap gap-4">
41 <SmoothButton size="lg" variant="candy">
42 Browse Components
43 </SmoothButton>
44 <SmoothButton size="lg" variant="outline">
45 View on GitHub
46 </SmoothButton>
47 </div>
48 </motion.div>
49
50 <motion.div
51 className="relative"
52 initial={
53 shouldReduceMotion ? { opacity: 1 } : { opacity: 0, x: 24 }
54 }
55 transition={shouldReduceMotion ? { duration: 0 } : SPRING}
56 viewport={{ once: true }}
57 whileInView={
58 shouldReduceMotion ? { opacity: 1 } : { opacity: 1, x: 0 }
59 }
60 >
61 <div className="overflow-hidden rounded-2xl border shadow-lg">
62 <img
63 alt="Product preview showing animated UI components"
64 className="h-auto w-full object-cover"
65 draggable={false}
66 src={getImageKitUrl("/images/hero-smoothui.png", {
67 format: "auto",
68 quality: 85,
69// … truncated

What it pulls in

npm packages

  • motion

Other registry items

  • https://smoothui.dev/r/smooth-button.json
  • https://smoothui.dev/r/data.json

Files it writes

  • index.tsx

Facts

Registry
SmoothUI Registry
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

www.smoothui.dev educlopez/smoothui on GitHub Raw registry item This item as JSON

More from SmoothUI Registry

All 177 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Chat Templatechat-templateSmoothUI RegistryBlocksFree2 deps · 4 files
Cta 1cta-1SmoothUI RegistryBlocksFree1 dep
Cta 3cta-3SmoothUI RegistryBlocksFree1 dep
Faq 1faq-1SmoothUI RegistryBlocksFree2 deps
Faq 2faq-2SmoothUI RegistryBlocksFree1 dep
Faq 3faq-3SmoothUI RegistryBlocksFree2 deps
Faq 4faq-4SmoothUI RegistryBlocksFree2 deps
Features 1features-1SmoothUI RegistryBlocksFree1 dep
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex