BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/fulldev/ui/cta-3

cta-3

fulldev-ui/cta-3
FreeBlock

fulldev/ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by fulldev/ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.full.dev/r/cta-3.json

Source

src/components/blocks/cta-3.astroui.full.dev/r/cta-3.json
1---
2import type { ImageMetadata } from "astro"
3
4import { cn } from "@/lib/utils"
5import {
6 Avatar,
7 AvatarFallback,
8 AvatarGroup,
9 AvatarImage,
10} from "@/components/ui/avatar"
11import { Button } from "@/components/ui/button"
12import { Rating } from "@/components/ui/rating"
13import { Section, SectionContainer } from "@/components/ui/section"
14
15type Props = {
16 class?: string
17 title: string
18 description: string
19 buttons?: {
20 label: string
21 href: string
22 variant?: "default" | "outline" | "secondary" | "ghost"
23 }[]
24 socialProof?: {
25 avatars: {
26 image?: ImageMetadata
27 initials: string
28 name?: string
29 }[]
30 rating: number
31 text: string
32 }
33}
34
35const {
36 class: className,
37 title,
38 description,
39 buttons,
40 socialProof,
41} = Astro.props
42---
43
44<Section variant="floating" class={cn("bg-accent/50 shadow-none", className)}>
45 <SectionContainer
46 class="grid gap-8 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-center"
47 >
48 <div class="flex flex-col gap-5">
49 <h2
50 class="text-foreground text-3xl leading-[1.1] font-semibold tracking-tight text-balance sm:text-4xl"
51 >
52 {title}
53 </h2>
54 <p class="text-muted-foreground max-w-2xl text-lg leading-relaxed">
55 {description}
56 </p>
57 </div>
58 <div class="flex flex-col gap-6 lg:items-end">
59 {
60 buttons?.length && (
61 <div class="flex flex-wrap gap-3">
62 {buttons.map(({ href, label, ...button }, index) => (
63 <Button
64 as="a"
65 href={href}
66 size="lg"
67 variant={
68 button.variant ?? (index === 0 ? "default" : "secondary")
69 }
70 {...button}
71 >
72 {label}
73 </Button>
74 ))}
75 </div>
76 )
77 }
78 {
79 socialProof && (
80 <div class="flex items-center gap-3">
81 <AvatarGroup>
82 {socialProof.avatars.map((avatar) => (
83 <Avatar class="ring-background size-11 ring">
84 <AvatarImage
85 src={avatar.image}
86 alt={avatar.name ?? avatar.initials}
87 />
88 <AvatarFallback>{avatar.initials}</AvatarFallback>
89 </Avatar>
90 ))}
91 </AvatarGroup>
92 <div class="flex flex-col gap-0.5">
93 <Rating value={socialProof.rating} />
94// … truncated

What it pulls in

Other registry items

  • @fulldev/avatar
  • @fulldev/button
  • @fulldev/rating
  • @fulldev/section

Files it writes

  • src/components/blocks/cta-3.astro

Facts

Registry
fulldev/ui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on fulldev/ui ui.full.dev fulldotdev/ui on GitHub Raw registry item This item as JSON

More from fulldev/ui

All 144 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
article-1article-1fulldev/uiBlocksFreeno deps
article-2article-2fulldev/uiBlocksFreeno deps
articles-1articles-1fulldev/uiBlocksFreeno deps
articles-2articles-2fulldev/uiBlocksFreeno deps
articles-3articles-3fulldev/uiBlocksFreeno deps
articles-4articles-4fulldev/uiBlocksFreeno deps
banner-1banner-1fulldev/uiBlocksFreeno deps
banner-2banner-2fulldev/uiBlocksFreeno deps
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