Back to components
Components

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
titleFeature titlestring
descriptionFeature descriptionstring
icon — string
containedIconShapeIconContainerShape.CIRCLEIconContainerShape
containedIconStyleTypeIconContainerStyleType.FILLEDIconContainerStyleType
containedIconColorColorAccent.SECONDARY_BRANDColorAccent
alignAlign.LEFTAlign

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>
 
  • Type: string
  • Default: 'Feature title'

description

Sets the description of the feature.

 <template>
    <FeatureCard 
        description="Feature description"
    />
</template>
 
  • Type: string
  • Default: 'Feature description'

icon

Sets the icon of the feature. If not provided, the icon will not appear at all.

 <template>
    <FeatureCard 
        icon="mdi:help"
    />
</template>
 
  • Type: string

containedIconShape

Stablishes the shape of the contained icon. Uses the IconContainerShape enum.

 <template>
    <FeatureCard 
        :containedIconShape="IconContainerShape.CIRCLE"
    />
</template>
 
  • Type: IconContainerShape
  • Default: IconContainerShape.CIRCLE

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>
 
  • Type: IconContainerStyleType
  • Default: IconContainerStyleType.FILLED

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>
 
  • Type: ColorAccent
  • Default: ColorAccent.SECONDARY_BRAND

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>
 
  • Type: Align
  • Default: Align.LEFT

Options

Value Description
LEFT

Content aligns to the left side of the card.

CENTER

Content aligns to the center of the card.