// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page FeatureCardDetail {
layout = "showcase"
state playground_icon = ctx.url.searchParams.get("pg_icon") ?? ""
state playground_title = ctx.url.searchParams.get("pg_title") ?? "Feature Card example"
state playground_description = ctx.url.searchParams.get("pg_description") ?? "A polished default feature card for a modern application."
state playground_href = ctx.url.searchParams.get("pg_href") ?? "#feature-card-demo"
state playground_actionLabel = ctx.url.searchParams.get("pg_actionLabel") ?? "Feature Card"
state playground_actionIcon = ctx.url.searchParams.get("pg_actionIcon") ?? ""
state playground_badge = ctx.url.searchParams.get("pg_badge") ?? ""
state playground_badgeColor = ctx.url.searchParams.get("pg_badgeColor") ?? "primary"
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_hover = ctx.url.searchParams.get("pg_hover") ?? "lift"
state playground_align = ctx.url.searchParams.get("pg_align") ?? "start"
state playground_disabled = ctx.url.searchParams.get("pg_disabled") ?? "false"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Feature Card"
description = "Reusable linked feature or service card with icon, badge, description, and action."
}
view {
Blocks component
Feature Card
Reusable linked feature or service card with icon, badge, description, and action.
15 props3 slots0 eventsTheme readyResponsive
Interactive playground
Configure Feature Card
Change any prop and inspect the server-rendered component immediately.
Live preview
icon slot
footer slot
Component code
<FeatureCard
title="Feature Card example"
description="A polished default feature card for a modern application."
href="#feature-card-demo"
actionLabel="Feature Card"
align="start">
<!-- Add icon, default, footer slot content here -->
</FeatureCard>
Live examples
Designed for real product surfaces
Compare configurations and resize the browser to check responsive behavior.
Recommended
Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
01
Live preview
icon slot
footer slot
Component usage.wrn
<FeatureCard
title="Feature Card example"
description="A polished default feature card for a modern application."
href="#feature-card-demo"
actionLabel="Feature Card"
align="start">
<!-- Add icon, default, footer slot content here -->
</FeatureCard>
Dense UI
Compact application
A tighter variation for dashboards, side panels, tables, and operational interfaces.
02
Live preview
icon slot
footer slot
Component usage.wrn
<FeatureCard
icon="icon-[lucide--arrow-right]"
title="Compact Feature Card"
description="A compact configuration for dashboards and dense product surfaces."
href="#feature-card-demo"
actionLabel="Compact example"
size="sm"
variant="secondary"
align="center">
<!-- Add icon, default, footer slot content here -->
</FeatureCard>
Extended
Rich configuration
A more expressive variation using additional data, stronger emphasis, and optional states.