Staaarter

Feature Voting Roadmap

A centered coming-soon screen listing upcoming roadmap features as cards, each with a title, description, and an upvote control. Clicking a feature's upvote button increments that feature's count locally, letting visitors signal what matters most before launch.

By Staaarter Team
Coming Soon
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/feature-voting-roadmap.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/coming-soon/comingsoon39.tsx instead.

Usage

The file also exports comingsoon39Demo, 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 { ComingSoon39, comingsoon39Demo } from "@/components/blocks/coming-soon/comingsoon39";

export default function Page() {
  return <ComingSoon39 {...comingsoon39Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstring"Coming soon"Small label above the heading.
headingstring"Vote on what we build next"Main heading.
descriptionstring"These features are on our roadmap..."Supporting copy under the heading.
featuresRoadmapFeature[]noneUpcoming features to render as votable cards.
classNamestringnoneExtra classes for the outer section element.

Types

export interface RoadmapFeature {
  id: string;
  title: string;
  description: string;
  votes: number;
}

Behavior notes

  • The upvote buttons are real client state: each feature's vote count is seeded from its `votes` prop and increments by one on click, capped to a single increment per feature per session (no un-voting), tracked in local component state only.
  • No network request is made anywhere, votes reset on page reload.