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/content-4

content-4

fulldev-ui/content-4
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/content-4.json

Source

src/components/blocks/content-4.astroui.full.dev/r/content-4.json
1---
2import type { ImageMetadata } from "astro"
3import { Image } from "astro:assets"
4
5import { cn } from "@/lib/utils"
6import { Button } from "@/components/ui/button"
7import { Icon } from "@/components/ui/icon"
8import { Section, SectionContainer } from "@/components/ui/section"
9
10type Props = {
11 class?: string
12 title: string
13 description: string
14 features?: string[]
15 buttons?: {
16 label: string
17 href: string
18 variant?: "default" | "outline" | "secondary" | "ghost"
19 }[]
20 image: {
21 src: ImageMetadata
22 alt: string
23 }
24}
25
26const {
27 class: className,
28 title,
29 description,
30 features,
31 buttons,
32 image,
33} = Astro.props
34---
35
36<Section class={cn("", className)}>
37 <SectionContainer>
38 <div class="grid gap-12 lg:grid-cols-[1fr_2fr] lg:items-center">
39 <div class="flex flex-col gap-6">
40 <div class="flex flex-col gap-4">
41 <h2
42 class="text-foreground text-3xl font-semibold tracking-tight text-balance sm:text-4xl"
43 >
44 {title}
45 </h2>
46 <p class="text-muted-foreground text-lg leading-relaxed text-balance">
47 {description}
48 </p>
49 </div>
50 {
51 features?.length && (
52 <ul class="flex flex-col gap-3">
53 {features.map((feature) => (
54 <li class="flex items-center gap-3 text-sm">
55 <Icon name="check" class="text-primary size-4 shrink-0" />
56 {feature}
57 </li>
58 ))}
59 </ul>
60 )
61 }
62 {
63 buttons?.length && (
64 <div class="flex flex-wrap gap-3">
65 {buttons.map(({ href, label, ...button }, index) => (
66 <Button
67 as="a"
68 href={href}
69 size="lg"
70 variant={
71 button.variant ?? (index === 0 ? "default" : "secondary")
72 }
73 {...button}
74 >
75 {label}
76 </Button>
77 ))}
78 </div>
79 )
80 }
81 </div>
82 <Image
83 src={image.src}
84 alt={image.alt}
85 class="aspect-4/3 w-full rounded-xl border object-cover"
86 widths={[640, 960, 1280]}
87 sizes="(min-width: 1024px) 66vw, 100vw"
88 />
89 </div>
90 </SectionContainer>
91</Section>

What it pulls in

Other registry items

  • @fulldev/button
  • @fulldev/section
  • @fulldev/icon

Files it writes

  • src/components/blocks/content-4.astro

Facts

Registry
fulldev/ui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
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