Staaarter

Command Search Spotlight

A centered feature with an eyebrow, a light-weight heading, and a paragraph sitting above a wide image tile. A command search bar floats over the bottom edge of the tile, and a row of quick-filter chips sits below the whole visual.

By Staaarter Team
Feature
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/command-search-spotlight.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature25.tsx instead.

Usage

The file also exports feature25Demo, 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 { Feature25, feature25Demo } from "@/components/blocks/feature/feature25";

export default function Page() {
  return <Feature25 {...feature25Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading.
headingReactNodenoneSection heading, rendered with a lighter font weight than most other blocks.
descriptionstringundefinedSupporting paragraph under the heading.
searchPlaceholderstring"Search anything..."Static text shown inside the decorative search bar.
quickFiltersstring[][]Chip labels shown in the row under the image tile.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • The image tile is an abstract placeholder (a centered dashboard icon on a tinted background), not a real screenshot; swap in a real photo or product capture via your own image if you copy this block.
  • The command search bar and the quick-filter chips are entirely decorative: the input is read-only with a fixed value and there is no real search logic behind it.
  • This is a plain Server Component with no client-side state; every element you see is static markup, nothing responds to interaction.