Features, list


Install
npx shadcn add @klarhimmel/features-listDetailsAbout, usage, props and more
Heading and a link on the left, a vertical list of up to six features with icon, title and description on the right.
Import
Import
- features/list
- 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
A short stacked list of features, with an icon and a longer explanation each, plus a link to learn more. For many features at once use features-grid.
Writing for it
- Items take one to six, and each requires an icon, a title (60) and a description (200). Write the description as one concrete example. - The link field sits beside the intro, so use it to point to the full features page or docs. - The intro is split from the list. Put the claim in the title (120) and keep the description (300) to one sentence on who the list is for.
Watch out for
The icon is required on every item here, unlike in features-grid, so every row in the list needs an icon picked before it is finished.
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 | 'Name the reason' | Text, up to 60 characters. |
title | string | 'Say what the reader gets and what g…' | Text, up to 120 characters. |
description | string | 'Say in one sentence who this is for…' | Text, up to 300 characters. |
link | Link | {…} | See the type. |
items | { icon, title, description }[] | 4 items | List of 1 to 6. Each item: icon ('zap' | 'shield' | 'layers' | 'globe' | 'sparkles' | 'clock' | 'code' | 'palette' | 'lock' | 'chart' | 'users' | 'mail' | 'heart' | 'rocket' | 'search' | 'settings' | 'check' | 'star' | 'book' | 'box' | 'cloud' | 'compass' | 'leaf' | 'gauge'), title, description. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |