// 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 = "Feature card with a prominent themed icon treatment."
}
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">
<!-- Add default, footer slot content here -->
</FeatureIconCard>
Live examplesDesigned for real product surfaces
Compare configurations and resize the browser to check responsive behavior.
<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">
<!-- Add default, footer slot content here -->
</FeatureIconCard>
<FeatureIconCard
icon="icon-[lucide--arrow-right]"
title="Compact Feature Icon Card"
description="A compact configuration for dashboards and dense product surfaces."
href="#feature-icon-card-demo"
actionLabel="Compact example"
size="sm"
variant="secondary"
align="center">
<!-- Add default, footer slot content here -->
</FeatureIconCard>
<FeatureIconCard
icon="icon-[lucide--trash-2]"
title="Advanced Feature Icon Card"
description="A richer configuration demonstrating additional content and hierarchy."
href="#feature-icon-card-demo"
actionLabel="Advanced example"
size="lg"
variant="success"
align="end">
<!-- Add default, footer slot content here -->
</FeatureIconCard>
Component eventsEvents
Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.
No public component events.
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 |
}
}