features-3
fulldev-ui/features-3FreeBlock
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-3.jsonSource
1---2import type { ImageMetadata } from "astro"3import { Image } from "astro:assets"45import { cn } from "@/lib/utils"6import { Section, SectionContainer } from "@/components/ui/section"78type Props = {9 class?: string10 title: string11 description: string12 features: {13 title: string14 description: string15 image: {16 src: ImageMetadata17 alt: string18 }19 }[]20}2122const { class: className, title, description, features } = Astro.props23---2425<Section class={cn("", className)}>26 <SectionContainer class="items-center gap-6 text-center">27 <div class="flex max-w-2xl flex-col items-center gap-4">28 <h229 class="text-foreground text-3xl font-semibold tracking-tight text-balance sm:text-4xl"30 >31 {title}32 </h2>33 <p34 class="text-muted-foreground max-w-2xl text-lg leading-relaxed text-balance"35 >36 {description}37 </p>38 </div>39 </SectionContainer>40 <SectionContainer>41 <div class="grid gap-6 sm:grid-cols-2">42 {43 features.map((feature) => (44 <div class="group/feature hover:bg-muted/40 flex items-center gap-5 rounded-xl border p-4 transition-colors">45 <Image46 src={feature.image.src}47 alt={feature.image.alt}48 class="size-20 shrink-0 rounded-lg object-cover"49 widths={[160, 320]}50 sizes="80px"51 />52 <div class="flex flex-col gap-1.5">53 <h3 class="text-foreground text-base font-medium">54 {feature.title}55 </h3>56 <p class="text-muted-foreground text-sm leading-relaxed">57 {feature.description}58 </p>59 </div>60 </div>61 ))62 }63 </div>64 </SectionContainer>65</Section>
What it pulls in
Other registry items
Files it writes
More from fulldev/ui
All 144 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| article-1article-1 | fulldev/ui | Blocks | Free | no deps | |
| article-2article-2 | fulldev/ui | Blocks | Free | no deps | |
| articles-1articles-1 | fulldev/ui | Blocks | Free | no deps | |
| articles-2articles-2 | fulldev/ui | Blocks | Free | no deps | |
| articles-3articles-3 | fulldev/ui | Blocks | Free | no deps | |
| articles-4articles-4 | fulldev/ui | Blocks | Free | no deps | |
| banner-1banner-1 | fulldev/ui | Blocks | Free | no deps | |
| banner-2banner-2 | fulldev/ui | Blocks | Free | no deps |
