Empty State
A feature section framed like any other (badge, heading, description) that leads into a dashed-border empty-state panel: an icon in a rounded tile, a title, a short description, and a single call-to-action button.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/empty-state-feature.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature93.tsx instead.
Usage
The file also exports feature93Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Feature93, feature93Demo } from "@/components/blocks/feature/feature93"; export default function Page() { return <Feature93 {...feature93Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Badge label above the heading. |
| heading | ReactNode | none | Section heading. |
| description | string | none | Supporting copy under the heading. |
| emptyIcon | LucideIcon | none | Icon shown in the empty-state panel's rounded tile. |
| emptyTitle | string | none | Title inside the empty-state panel. |
| emptyDescription | string | none | Short supporting copy inside the empty-state panel. |
| cta | { label: string; href: string } | none | Single call-to-action button inside the panel. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- Fully static server component, no client-side state.
- The CTA renders as a real link via `Button`'s `render` prop (`render={<Link href={cta.href} />}`), not a functional submit action.
- The empty-state panel uses a dashed border to visually distinguish it from the solid-border cards used elsewhere in the category.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Day Timeline Rows
Hairline rows walking through one working day, stamped with time and a live approval card inline.