Feature Card
A card with an icon, a heading and a short description, for feature grids on landing pages.
<arc-feature-card>Overview
FeatureCard shows an icon, a heading and a description stacked in a card, for feature grids on landing pages and marketing sections. The border is the card's own background, --border-subtle, showing through a 1px gap around the inner panel. On hover the border turns into an accent gradient, the icon lifts with an --accent-primary-glow shadow, the card gets the --glow-card-hover glow, and an accent rule grows along the bottom.
With an href, the whole card is a link, and action adds a label with an arrow at the bottom, such as "Read the guide". Without an href it's a plain <div> and action isn't shown. The heading renders as an <h3>.
The icon slot takes an SVG or other markup. Without it, the icon property is shown as text, which suits an emoji.
Guidelines
Do
- Put several in a 2- or 3-column grid for a landing page section
- Set an `href` when the card leads to a detail or docs page
- Keep descriptions to one or two sentences
- Use the icon slot for SVG icons when you need control over size and color
Don't
- Don't put buttons or links inside a card that has an `href`. The whole card is already a link
- Don't mix feature cards and value cards in one grid
- Don't set `background` on `::part(card)`. That background is the border, and your value also replaces the hover gradient
- Don't use it to show data. Use ValueCard or Stat
Features
- Fills the height of its grid cell, so cards in a row match
- Padding shrinks below 768px
- CSS parts: `card`, `inner`, `icon`, `title`, `description`, `action`
Preview
Automations
Run a task when someone submits a form.
Set up automationsSettings
Change your workspace name, logo and time zone.
Open settingsBilling
See your invoices and change your plan.
Usage
Feature Card is in the marketing group, so the default @arclux/arc-ui entry point doesn't include it. Import it from@arclux/arc-ui/marketing or from its own subpath,@arclux/arc-ui/feature-card.
<arc-feature-card
heading="Performance"
description="Optimized builds for lightning-fast load times."
></arc-feature-card>import { FeatureCard } from '@arclux/arc-ui-react';
export default function Example() {
return (
<FeatureCard
heading="Performance"
description="Optimized builds for lightning-fast load times."
/>
);
}<script setup>
import { FeatureCard } from '@arclux/arc-ui-vue';
</script>
<template>
<FeatureCard
heading="Performance"
description="Optimized builds for lightning-fast load times." />
</template><script>
import { FeatureCard } from '@arclux/arc-ui-svelte';
</script>
<FeatureCard
heading="Performance"
description="Optimized builds for lightning-fast load times." />import { Component } from '@angular/core';
import { FeatureCard } from '@arclux/arc-ui-angular';
@Component({
imports: [FeatureCard],
template: `
<arc-feature-card
heading="Performance"
description="Optimized builds for lightning-fast load times."
></arc-feature-card>
`,
})
export class MyComponent {}import { FeatureCard } from '@arclux/arc-ui-solid';
export default function Example() {
return (
<FeatureCard
heading="Performance"
description="Optimized builds for lightning-fast load times." />
);
}import { FeatureCard } from '@arclux/arc-ui-preact';
export default function Example() {
return (
<FeatureCard
heading="Performance"
description="Optimized builds for lightning-fast load times." />
);
}<!-- Auto-generated by @arclux/prism — do not edit manually -->
<!-- arc-feature-card — requires feature-card.css + base.css (or arc-ui.css) -->
<div class="arc-feature-card">
<a class="card" href="#">
<div class="card__inner">
<div class="card__icon">★</div>
<h3 class="card__title">Heading</h3>
<p class="card__desc">Description text goes here</p>
<span class="card__rule"></span>
</div>
</a>
</div><!-- Auto-generated by @arclux/prism — do not edit manually -->
<!-- arc-feature-card — self-contained, no external CSS needed -->
<style>
@media (max-width: 768px) {
.arc-feature-card .card__inner { padding: 24px 16px; }
}
.arc-feature-card .card:hover { background: linear-gradient(135deg, rgba(77, 126, 247,0.3), rgba(139, 92, 246,0.15), rgb(34, 34, 41)); }
.arc-feature-card .card:hover .card__inner { box-shadow: inset 0 1px 0 rgba(255, 255, 255,0.04), 0 4px 24px rgba(0,0,0,0.2); }
.arc-feature-card .card:hover .card__icon { border-color: rgba(77, 126, 247,0.3);
box-shadow: 0 0 20px rgba(77, 126, 247, 0.2), 0 0 6px rgba(77, 126, 247, 0.12);
transform: translateY(-2px); }
.arc-feature-card .card:hover .card__title { color: #fff; }
.arc-feature-card .card:hover .card__rule { opacity: 0.5; width: 48px; }
.arc-feature-card .card:focus-visible { outline: none; box-shadow: 0 0 0 2px rgb(3, 3, 7), 0 0 0 4px rgb(77, 126, 247), 0 0 16px rgba(77,126,247,0.3); border-radius: 14px; }
</style>
<div class="arc-feature-card" style="display: block; height: 100%">
<a class="card" style="position: relative; border-radius: 14px; height: 100%; padding: 1px; background: rgb(24, 24, 30); text-decoration: none; display: flex; flex-direction: column" href="#">
<div class="card__inner" style="position: relative; background: rgb(13, 13, 18); border-radius: calc(14px - 1px); padding: 40px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; z-index: 1">
<div class="card__icon" style="width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(77, 126, 247, 0.06); border: 1px solid rgba(77, 126, 247, 0.12); color: rgb(77, 126, 247); font-size: 20px">★</div>
<h3 class="card__title" style="font-size: 17px; font-weight: 600; color: rgb(232, 232, 236); margin: 0">Heading</h3>
<p style="color: rgb(138, 138, 150); font-family: 'Host Grotesk', system-ui, sans-serif; font-size: 14px; line-height: 1.7; flex: 1; margin: 0">Description text goes here</p>
<span class="card__rule" style="width: 32px; height: 1px; background: linear-gradient(90deg, rgb(77, 126, 247), transparent); opacity: 0"></span>
</div>
</a>
</div>API
iconstring''- Icon text or emoji displayed in the icon box
headingstring''- Card title
descriptionstring''- Card body text
hrefstring''- Makes the card a link
actionstring''- Action label (e.g. "Learn more") shown at the bottom of the card when href is set. Hidden when empty or when no href is provided.
See also
- CardContent container with a border and hover effects. When it links somewhere, the whole surface is the link and the border turns to a gradient on hover.
- Value CardHorizontal card with icon and text, for values or features lists.
- CTA BannerA centered block that ends a landing page with a gradient headline and one or two buttons.