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/features-1

features-1

fulldev-ui/features-1
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/features-1.json

Source

src/components/blocks/features-1.astroui.full.dev/r/features-1.json
1---
2import { cn } from "@/lib/utils"
3import { Button } from "@/components/ui/button"
4import { Icon } from "@/components/ui/icon"
5import { Section, SectionContainer } from "@/components/ui/section"
6
7type Props = {
8 class?: string
9 title: string
10 description: string
11 buttons?: {
12 label: string
13 href: string
14 variant?: "default" | "outline" | "secondary" | "ghost"
15 }[]
16 features: {
17 title: string
18 description: string
19 icon: string
20 href?: string
21 linkText?: string
22 }[]
23}
24
25const { class: className, title, description, buttons, features } = Astro.props
26---
27
28<Section class={cn("", className)}>
29 <SectionContainer class="items-center gap-6 text-center">
30 <div class="flex max-w-2xl flex-col items-center gap-4">
31 <h2
32 class="text-foreground text-3xl font-semibold tracking-tight text-balance sm:text-4xl"
33 >
34 {title}
35 </h2>
36 <p
37 class="text-muted-foreground max-w-2xl text-lg leading-relaxed text-balance"
38 >
39 {description}
40 </p>
41 </div>
42 {
43 buttons?.length && (
44 <div class="flex flex-wrap justify-center gap-3">
45 {buttons.map(({ href, label, ...button }, index) => (
46 <Button
47 as="a"
48 href={href}
49 variant={button.variant ?? (index === 0 ? "default" : "outline")}
50 {...button}
51 >
52 {label}
53 </Button>
54 ))}
55 </div>
56 )
57 }
58 </SectionContainer>
59 <SectionContainer>
60 <div class="grid gap-6 sm:grid-cols-2">
61 {
62 features.map((feature) => (
63 <div class="group/feature hover:bg-muted/40 flex flex-col gap-4 rounded-xl border p-6 transition-colors">
64 <div class="bg-primary/10 text-primary flex size-10 items-center justify-center rounded-lg">
65 <Icon name={feature.icon} class="size-5" />
66 </div>
67 <div class="flex flex-col gap-1.5">
68 <h3 class="text-foreground text-base font-medium">
69 {feature.title}
70 </h3>
71 <p class="text-muted-foreground text-sm leading-relaxed">
72 {feature.description}
73 </p>
74 </div>
75 {feature.href && feature.linkText && (
76 <a
77 href={feature.href}
78 class="text-primary mt-auto inline-flex items-center gap-1 text-sm font-medium hover:underline"
79 >
80 {feature.linkText}
81// … truncated

What it pulls in

Other registry items

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

Files it writes

  • src/components/blocks/features-1.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