Feature card
Highlights a product feature or service benefit, often used in marketing sections or landing pages.
Component
Feature title
Feature description
Props
| Props | Default | Type |
|---|---|---|
title | Feature title | string |
description | Feature description | string |
icon | — | string |
containedIconShape | IconContainerShape.CIRCLE | IconContainerShape |
containedIconStyleType | IconContainerStyleType.FILLED | IconContainerStyleType |
containedIconColor | ColorAccent.SECONDARY_BRAND | ColorAccent |
align | Align.LEFT | Align |
Slots
| Name | Description |
|---|---|
footer | Template to render footer content. Typically used for action buttons. |
<template>
<FeatureCard>
<template #footer>
<!-- Insert content here -->
</template>
</FeatureCard>
</template>
Usage
title
Sets the title of the feature.
<template>
<FeatureCard
title="Feature title"
/>
</template>
description
Sets the description of the feature.
<template>
<FeatureCard
description="Feature description"
/>
</template>
icon
Sets the icon of the feature. If not provided, the icon will not appear at all.
<template>
<FeatureCard
icon="mdi:help"
/>
</template>
containedIconShape
Stablishes the shape of the contained icon. Uses the IconContainerShape enum.
<template>
<FeatureCard
:containedIconShape="IconContainerShape.CIRCLE"
/>
</template>
Options
| Value | Description |
|---|---|
CIRCLE | Rounded icon container shape |
SQUARE | Square icon container shape |
containedIconStyleType
Configures the style type of the contained icon. Uses the IconContainerStyleType enum.
<template>
<FeatureCard
:containedIconStyleType="IconContainerStyleType.FILLED"
/>
</template>
Options
| Value | Description |
|---|---|
FLAT | Uses a soft background for the icon container |
FILLED | Uses a bold background for the icon container |
containedIconColor
Configures the color of the contained icon. Uses the ColorAccent enum.
<template>
<FeatureCard
:containedIconColor="ColorAccent.SECONDARY_BRAND"
/>
</template>
Options
| Value | Description |
|---|---|
neutral | Neutral |
success | Success |
warning | Warning |
danger | Danger |
info | Info |
primary-brand | Primary Brand |
secondary-brand | Secondary Brand |
align
Sets the horizontal alignment of the content. Uses the Align enum.
<template>
<FeatureCard
:align="Align.LEFT"
/>
</template>
Options
| Value | Description |
|---|---|
LEFT | Content aligns to the left side of the card. |
CENTER | Content aligns to the center of the card. |