Site color

Choose your site’s color palette.

Saved on this device.

FeatureCard

FeatureCardFeature story

Present one capability with a recognizable icon, short explanation and an optional next step.

Landing & pricing

A feature with a next step

FeatureCard gives one capability a clear introduction: an icon and optional badge, a short heading, and a readable explanation. Content follows a consistent start alignment, with room between each part of the story.

Use the actions slot for a next step. Cards stretch to fill their grid row, keeping actions aligned even when one card has more content than another.

Two features, one clear rhythmCOMPOSITION
Native MDX

CONTENT, CONNECTED

A good story starts here.

Bring your words and components together. Write pages that are a pleasure to read and easy to make your own.

Explore the guides
Made to compose

MAKE ROOM FOR THE DETAILS

Small pieces. A complete experience.

Build on a shared set of components, then add the details that make your site feel like yours.

One design language, from the first heading to the final link.
Browse components

An icon introduces each feature, a badge adds context, and the actions share a baseline.

<Grid columns="1" columnsMd="2" alignItems="stretch" class="gap-5">
  <FeatureCard
    eyebrow="CONTENT, CONNECTED"
    title="A good story starts here."
    summary="Bring your words and components together. Write pages that are a pleasure to read and easy to make your own."
    icon="lucide:file-code"
    badge="Native MDX"
    tone="accent"
  >
    <template #actions>
      <BtnLink
        href="/guides/"
        tone="accent"
        icon="lucide:arrow-right"
        iconPosition="end"
      >
        Explore the guides
      </BtnLink>
    </template>
  </FeatureCard>
  <FeatureCard
    eyebrow="MAKE ROOM FOR THE DETAILS"
    title="Small pieces. A complete experience."
    summary="Build on a shared set of components, then add the details that make your site feel like yours."
    icon="lucide:layers"
    badge="Made to compose"
    tone="neutral"
  >
    <Flex align="start" class="gap-2 fs-body lh-6">
      <Icon name="lucide:check" aria-hidden="true"/>
      <span
        >One design language, from the first heading to the final link.</span>
    </Flex>
    <template #actions>
      <BtnLink
        href="/components/"
        tone="neutral"
        variant="outline"
        icon="lucide:arrow-right"
        iconPosition="end"
      >
        Browse components
      </BtnLink>
    </template>
  </FeatureCard>
</Grid>

A coherent feature set

Use a consistent heading level and content structure across a set. The cards below share spacing and typography while their tones distinguish each step. The layout stacks on smaller screens.

A connected feature setCOMPOSITION

01 / WRITE

Start with your story

Give your ideas a home with readable content and a clear page structure.

Start writing

02 / COMPOSE

Find a shared rhythm

Use familiar components to connect every part of the experience.

Explore layouts

03 / INTERACT

Make the details count

Add focused interactions that help visitors take their next step.

Add interaction

The same card structure works across different tones, copy lengths, and destinations.

<Grid
  columns="1"
  columnsMd="2"
  columnsLg="3"
  alignItems="stretch"
  class="gap-5"
>
  <FeatureCard
    eyebrow="01 / WRITE"
    title="Start with your story"
    summary="Give your ideas a home with readable content and a clear page structure."
    icon="lucide:file-code"
    tone="accent"
    variant="surface"
  >
    <template #actions>
      <BtnLink
        href="/guides/"
        tone="accent"
        variant="link"
        icon="lucide:arrow-up-right"
        iconPosition="end"
      >
        Start writing
      </BtnLink>
    </template>
  </FeatureCard>
  <FeatureCard
    eyebrow="02 / COMPOSE"
    title="Find a shared rhythm"
    summary="Use familiar components to connect every part of the experience."
    icon="lucide:blocks"
    tone="secondary"
    variant="surface"
  >
    <template #actions>
      <BtnLink
        href="/components/layout/"
        tone="secondary"
        variant="link"
        icon="lucide:arrow-up-right"
        iconPosition="end"
      >
        Explore layouts
      </BtnLink>
    </template>
  </FeatureCard>
  <FeatureCard
    eyebrow="03 / INTERACT"
    title="Make the details count"
    summary="Add focused interactions that help visitors take their next step."
    icon="lucide:mouse-pointer-2"
    tone="info"
    variant="surface"
  >
    <template #actions>
      <BtnLink
        href="/components/runtime/regor-app/"
        tone="info"
        variant="link"
        icon="lucide:arrow-up-right"
        iconPosition="end"
      >
        Add interaction
      </BtnLink>
    </template>
  </FeatureCard>
</Grid>

All ten semantic tones

The same composition in every semantic tone. Child tones are explicit where the composition owns them, including navigation actions.

All ten semantic tonesCOMPOSITION

Switch the site theme to compare the same samples in both palettes.

All eighteen visual variants

Every supported variant is shown in accent, including none. The variant controls the card's outer treatment. The icon keeps its own surface treatment so it stays recognizable across the set.

All eighteen visual variantsCOMPOSITION

Switch the site theme to compare the same samples in both palettes.

Optional content and both slots

A card can be brief or completeCOMPOSITION
Text only

Clear by default

A compact feature statement.

Icon only

Shared patterns

Badge only
New

NEW THIS WEEK

Ready to use

Both slots
Included

WORKFLOW

From idea to interface

One small composition.

Extend the summary with lists or rich text.

See layouts See forms

The default slot extends the story; actions holds navigation. Each optional text and decoration can be omitted independently.

Feature map

Public feature Visible example
tone, variant Complete galleries above, with all supported values visible together.
eyebrow, title, summary Compare the text-only card and the complete workflow card.
icon, badge Icon-only, badge-only, and combined decoration are visible together.
Default slot The complete workflow card adds rich supporting text below the summary.
actions slot Actions sit at the bottom of equal-height cards. Compare one destination with two destinations in Both slots.
Native attributes and events Pass attributes through the root; keyboard behavior belongs to the composed native controls.

This component exposes tone and variant, but no variantMode. Style individual child components explicitly when their appearance should match.

Behavior and accessibility

The generated title is h3. Place feature cards under an h2 section heading. The icon is decorative; the heading and summary describe the feature. The card is a content container, and links or buttons in actions provide interaction.

FeatureCard uses built-in layout, spacing, and typography utilities and adds no component-specific stylesheet. Use its feature-card class for any additional styling your site needs.

API reference

FeatureCard contract

Props below are the public template API. RefOrValue accepts a literal or a reactive ref; bind refs with a colon-prefixed attribute. Native attributes and events can be passed through the component root.

eyebrow

RefOrValue<string>
Default
not set

Short context above the heading, such as a category or release label.

title

RefOrValue<string>
Default
not set

Visible heading. Choose a short title that identifies the content or task.

summary

RefOrValue<string>
Default
not set

A concise explanation beneath the heading.

badge

RefOrValue<string>
Default
not set

Optional compact label rendered with Badge.

icon

RefOrValue<string>
Default
not set

Registered SVG icon name. In browser apps, include the icon in the resolver passed to defineIconComponents.

tone

RefOrValue<SemanticTone>
Default
inherited

Semantic intent: neutral, accent, secondary, info, success, warning, danger, feature, custom or ghost. The active skin supplies the colors.

variant

RefOrValue<ComponentVariant>
Default
surface

Visual treatment. Accepts solid, surface, surfaceAlt, spotlight, glass, flat, flatAlt, flatSolid, outlineFill, outline, subtle, subtleBtn, link, sheen, underline, rail, bracket or none.

Composition

Default slot: extra content after the summary. actions: links or buttons at the bottom. Register defineFeatureCardComponent with Panel, Flex, Icon, IconFrame and Badge.