Features, showcase


Install
npx shadcn add https://ui.klarhimmel.com/r/features-showcase.jsonDetailsAbout, usage, props and more
A centred stack in one column: heading, a sentence and up to two buttons, then one wide picture under them. For a product or plan shown whole, mid-page.
Import
Import
- features/showcase
- Category
- What it does, as a grid, a list, tabs or alternating rows. New project? Set it up once: /get-started/installation.
Notes
When to use it
Mid-page, one product, plan or feature shown whole: a centred heading, a sentence and a button over one wide picture. For several features side by side use features-grid, and to open the page use hero-centered.
Writing for it
- Eyebrow: a few words or empty, 60 characters at most. - Title: name what the picture shows, 120 characters at most and best in one or two lines. - Description: one or two sentences, 300 at most. Primary is one clear action; fill secondary only when a second path really exists, else leave its label empty.
Watch out for
The picture carries the section, so give it a real product screen or photo with its own alt text: the empty placeholder reads as unfinished on a real page. Keep the description short, because the text is centred and long centred lines are hard to read. Two showcases in a row look like a slideshow, so set another block between them. Use titleSize heading when the section opens on a quiet one-line heading with no lead; keep title for a section that carries a lead.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | '' | Text, up to 60 characters. |
title | string | 'Name the product or plan this secti…' | Text, up to 120 characters. |
description | string | 'Say in one or two sentences what it…' | Text, up to 300 characters. |
primary | Link | {…} | See the type. |
secondary | Link | {…} | See the type. |
media | Media | {…} | See the type. |
titleSize | 'title' | 'heading' | 'title' | One of 'title', 'heading'. Optional; empty is not rendered. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |