Veil UI
Components

Feature Showcase

Alternating feature rows with copy, bullets and media.

Installation

$ npx veil-ui@latest add feature-showcase

Usage

import { FeatureShowcase } from "@/components/ui/feature-showcase";

<FeatureShowcase
  features={[
    {
      title: "Design tokens that travel",
      description: "One source of truth for every component.",
      bullets: ["Light and dark themes", "CSS variables"],
    },
  ]}
/>;

Examples

Basic

Feature 1

Design tokens that travel

Colors, spacing and radii live in one place and reach every component.

  • Light and dark themes
  • CSS variables
  • Tailwind v4 ready
Design tokens that travel preview
Feature 2

A CLI that respects your code

Add components directly into your project and own the source.

  • No lock-in
  • Diff friendly
  • Works with monorepos
A CLI that respects your code preview

Single

Feature 1

Built for product teams

Start with primitives and grow into full page templates without rewrites.

API reference

The package exports feature-showcase along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.

Accessibility

  • Pages keep a single h1 in the hero and use h2/h3 for section hierarchy.
  • Call-to-action elements are real links or buttons with discernible labels.
  • Decorative icons are aria-hidden and meaningful images require alt text.

Vue and plain HTML

This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add feature-showcase --framework vue or switch the framework in components.json.

<template>
<div data-slot="feature-showcase" class="grid gap-14 w-full max-w-5xl"><div class="grid items-center gap-8 md:grid-cols-2"><div class="flex flex-col gap-3"><span class="text-xs font-semibold uppercase tracking-wider text-primary">Feature 1</span><h3 class="text-2xl font-semibold tracking-tight">Design tokens that travel</h3><p class="text-sm text-muted-foreground">Colors, spacing and radii live in one place and reach every component.</p><ul class="mt-1 grid gap-2 text-sm"><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>Light and dark themes</li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>CSS variables</li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>Tailwind v4 ready</li></ul></div><div class="grid min-h-48 place-items-center overflow-hidden rounded-xl border bg-gradient-to-br from-muted/50 to-background p-4"><span class="text-sm text-muted-foreground">Design tokens that travel preview</span></div></div><div class="grid items-center gap-8 md:grid-cols-2 md:[&amp;&gt;*:first-child]:order-2"><div class="flex flex-col gap-3"><span class="text-xs font-semibold uppercase tracking-wider text-primary">Feature 2</span><h3 class="text-2xl font-semibold tracking-tight">A CLI that respects your code</h3><p class="text-sm text-muted-foreground">Add components directly into your project and own the source.</p><ul class="mt-1 grid gap-2 text-sm"><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>No lock-in</li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>Diff friendly</li><li class="flex items-start gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 text-primary" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>Works with monorepos</li></ul></div><div class="grid min-h-48 place-items-center overflow-hidden rounded-xl border bg-gradient-to-br from-muted/50 to-background p-4"><span class="text-sm text-muted-foreground">A CLI that respects your code preview</span></div></div></div>
</template>

On this page