BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/uifoundry/features-3

Features 3

uifoundry/features-3
FreeBlock

Features block with card decorator grid background, icons, and three-column layout

Live preview

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

Install it

npx shadcn@latest add https://uifoundry.dev/r/features-3.json

Source

registry/payload/blocks/features/features-3/index.tsxuifoundry.dev/r/features-3.json
1import type { ComponentPropsWithRef } from "react";
2
3import type { Features_3_Block } from "~/payload-types";
4
5import { Card, CardContent, CardHeader } from "@/registry/ui/card";
6import { Icon } from "@/registry/ui/icon";
7
8export * from "./config";
9
10export default function Features_3({
11 features,
12 header,
13 subheader,
14}: Features_3_Block) {
15 return (
16 <section className="bg-zinc-50 py-16 md:py-32 dark:bg-transparent">
17 <div className="@container mx-auto max-w-5xl px-6">
18 <div className="text-center">
19 <h2 className="text-4xl font-semibold text-balance lg:text-5xl">
20 {header}
21 </h2>
22 <p className="mt-4">{subheader}</p>
23 </div>
24 <Card className="mx-auto mt-8 grid max-w-sm overflow-hidden *:text-center md:mt-16 @min-4xl:max-w-full @min-4xl:grid-cols-3">
25 {features.map((feature, index) => (
26 <div className="group" key={`feature-${index}`}>
27 <CardHeader className="pb-3">
28 {feature.icon && (
29 <CardDecorator>
30 <Icon icon={feature.icon} />
31 </CardDecorator>
32 )}
33
34 <h3 className="mt-6 font-medium">{feature.title}</h3>
35 </CardHeader>
36
37 <CardContent>
38 <p className="text-sm">{feature.description}</p>
39 </CardContent>
40 </div>
41 ))}
42 </Card>
43 </div>
44 </section>
45 );
46}
47
48function CardDecorator({
49 children,
50 ...divProps
51}: ComponentPropsWithRef<"div">) {
52 return (
53 <div
54 className="relative mx-auto size-36 duration-200 dark:group-hover:bg-white/5"
55 {...divProps}
56 >
57 <div
58 aria-hidden
59 className="absolute inset-0 bg-[linear-gradient(to_right,var(--color-border)_1px,transparent_1px),linear-gradient(to_bottom,var(--color-border)_1px,transparent_1px)] bg-[size:24px_24px]"
60 />
61 <div
62 aria-hidden
63 className="absolute inset-0 bg-[linear-gradient(to_left,var(--color-border)_1px,transparent_1px),linear-gradient(to_top,var(--color-border)_1px,transparent_1px)] bg-[size:24px_24px]"
64 />
65 <div
66 aria-hidden
67 className="to-white absolute inset-0 bg-radial from-transparent to-75%"
68 />
69 <div className="bg-transparent absolute inset-0 m-auto flex size-12 items-center justify-center border-t border-l">
70 {children}
71 </div>
72 </div>
73 );
74}

What it pulls in

npm packages

  • react
  • next
  • payload
  • lucide-react

Other registry items

  • card
  • @uifoundry/icon
  • @uifoundry/icon-field
  • @uifoundry/block-constants

Files it writes

  • registry/payload/blocks/features/features-3/index.tsx
  • registry/payload/blocks/features/features-3/config.ts

Facts

Registry
uifoundry
Type
registry:block
Access
Free
Files written
2
Licence
NOASSERTION
First indexed
2026-08-01
Last confirmed
2 days ago

Go to the source

Docs on uifoundry uifoundry.dev UIFoundry/uifoundry on GitHub Raw registry item This item as JSON

More from uifoundry

All 54 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Color Fieldcolor-fielduifoundryBlocksFree4 deps · 2 files
Coming Soon 1coming-soon-1uifoundryBlocksFree3 deps · 2 files
CTA 1cta-1uifoundryBlocksFree3 deps · 2 files
CTA 2cta-2uifoundryBlocksFree3 deps · 2 files
CTA 3cta-3uifoundryBlocksFree3 deps · 2 files
Custom Headercustom-headeruifoundryBlocksFree4 deps · 3 files
Features 1features-1uifoundryBlocksFree3 deps · 2 files
Features 2features-2uifoundryBlocksFree4 deps · 2 files
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