// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page FeatureIconCardDetail {
layout = "showcase"
state playground_icon = ctx.url.searchParams.get("pg_icon") ?? ""
state playground_iconSize = ctx.url.searchParams.get("pg_iconSize") ?? "md"
state playground_iconVariant = ctx.url.searchParams.get("pg_iconVariant") ?? "soft"
state playground_title = ctx.url.searchParams.get("pg_title") ?? "Feature Icon Card example"
state playground_description = ctx.url.searchParams.get("pg_description") ?? "A polished default feature icon card for a modern application."
state playground_href = ctx.url.searchParams.get("pg_href") ?? "#feature-icon-card-demo"
state playground_actionLabel = ctx.url.searchParams.get("pg_actionLabel") ?? "Feature Icon Card"
state playground_badge = ctx.url.searchParams.get("pg_badge") ?? ""
state playground_size = ctx.url.searchParams.get("pg_size") ?? "default"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_variant = ctx.url.searchParams.get("pg_variant") ?? "default"
state playground_align = ctx.url.searchParams.get("pg_align") ?? "start"
state playground_hover = ctx.url.searchParams.get("pg_hover") ?? "lift"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Feature Icon Card"
description = "Present a compact feature or benefit with a styled icon, title, description, badge, and optional link."
}
view {
Interactive playgroundConfigure Feature Icon Card
Change any prop and inspect the server-rendered component immediately.
Live preview
<FeatureIconCard
title="Feature Icon Card example"
description="A polished default feature icon card for a modern application."
href="#feature-icon-card-demo"
actionLabel="Feature Icon Card"
align="start">
<div data-slot="footer">
<div class="showcase-slot">footer slot</div>
</div>
</FeatureIconCard>
Live examplesDesigned for real product surfaces
Compare configurations and resize the browser to check responsive behavior.
<FeatureIconCard
icon="icon-[lucide--shield-check]"
title="Secure by design"
description="Build with consistent validation, accessibility, and theme support."
href="#security"
actionLabel="Review security"
badge="Core"
align="start">
<div data-slot="footer">
<div class="showcase-slot">footer slot</div>
</div>
</FeatureIconCard>
<FeatureIconCard
icon="icon-[lucide--gauge]"
iconVariant="solid"
title="Fast rendering"
description="Server-first output with focused client behavior."
href="#feature-icon-card-demo"
actionLabel="Compact example"
size="compact"
color="info"
variant="secondary"
align="center">
<div data-slot="footer">
<div class="showcase-slot">footer slot</div>
</div>
</FeatureIconCard>
<FeatureIconCard
icon="icon-[lucide--workflow]"
title="Composable workflows"
description="Connect forms, services, data, and actions without duplicating UI."
href="#workflows"
actionLabel="Explore workflows"
size="lg"
color="success"
variant="raised"
align="end">
<div data-slot="footer">
<div class="showcase-slot">footer slot</div>
</div>
</FeatureIconCard>
Component APIProps and configuration
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|
icon | string | "icon-[lucide--sparkles]" | No |
iconSize | string | "md" | No |
iconVariant | string | "soft" | No |
title | string | "Feature" | No |
description | string | "" | No |
href | string | "" | No |
actionLabel | string | "Explore" | No |
badge | string | "" | No |
size | string | "default" | No |
color | string | "primary" | No |
variant | string | "default" | No |
align | string | "left" | No |
hover | string | "lift" | No |
class | string | "" | No |
}
}