# Roadmap board

A public product roadmap with status sections, filters, voting requests and modal details.

Access: pro. Category: Blocks. Kind: composite.

## When to use

- Use it when a page needs a public product roadmap with status sections, filters, voting requests and modal details.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.

## Alternatives

- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than roadmap board.

## Setup for agents

Use React 19 and TypeScript. Initialize shadcn for your framework, then merge this exact entry into components.json:

```json
{
  "registries": {
    "@tidal-pro": {
      "url": "https://tidalui.com/r/pro/{name}.json",
      "headers": {
        "Authorization": "Bearer ${TIDALUI_TOKEN}"
      }
    }
  }
}
```

The namespace must be named **@tidal-pro** because transitive Pro dependencies use that namespace. Obtain an agent key from your active Pro account at https://tidalui.com/account. Keep TIDALUI_TOKEN in your local environment, never in components.json, client code, Git or logs.

```sh
export TIDALUI_TOKEN='your-private-agent-key'
npx shadcn@latest add @tidal-pro/waitlist-form
npx shadcn@latest add https://tidalui.com/r/tidal-button.json
```

Free command: `npx shadcn@latest add https://tidalui.com/r/<name>.json`.
Pro command: `npx shadcn@latest add @tidal-pro/<name>`.

Import the base stylesheet and every stylesheet listed on the installed item's metadata. For example:

```tsx
import "./components/ui/tidal.css";
import "./components/ui/hero-section.css";
// Place installed components inside this wrapper:
<div className="tidal-scope" data-theme="dark">...</div>
```

Omit data-theme for the default light theme. Put the attribute on the same tidal-scope element for dark mode. Every component installs the shared free tidal-base dependency. After upgrading, run `npx shadcn@latest add https://tidalui.com/r/tidal-base.json --overwrite` to receive current tokens. Review local modifications before overwriting.

Vite: Use React + TypeScript. Map @/* to ./src/* in paths and Vite resolve.alias. Import tidal.css and each component stylesheet in your application entry.

Next.js 15 App Router: Next.js App Router: import tidal.css and component CSS in app/layout.tsx. Interactive examples belong in a client component with "use client". Map @/* to ./* or ./src/* to match your project.

TypeScript 6: use paths without baseUrl:

```json
{
  "compilerOptions": {
    "paths": {
      "@/*": [
        "./src/*"
      ]
    }
  }
}
```

Pro registry requests are server/CLI-only. Use the same-origin account interface in a browser; cross-origin Authorization preflights are intentionally unsupported.


## Install Roadmap board

```sh
npx shadcn@latest add @tidal-pro/roadmap-board
```

Stylesheets: `components/ui/tidal.css`, `components/ui/roadmap-board.css`.

## Minimal example

```tsx
import"./components/ui/tidal.css";
import"./components/ui/roadmap-board.css";
import{TidalRoadmapBoard}from"./components/ui/roadmap-board";
export default(p:Parameters<typeof TidalRoadmapBoard>[0])=><div className="tidal-scope"><TidalRoadmapBoard {...p}/></div>;
```

## Structured props

- `TidalRoadmapBoard.filters: ReadonlyArray<TidalRoadmapFilter>`: Required filters value accepted by this exported component.
- `TidalRoadmapBoard.filterValue: string`: Required filter value value accepted by this exported component.
- `TidalRoadmapBoard.initiatives: ReadonlyArray<TidalRoadmapInitiative>`: Required initiatives value accepted by this exported component.
- `TidalRoadmapBoard.onFilterChange: (filterId: string, event: MouseEvent<HTMLButtonElement>) => void`: Callback invoked when the filter change interaction is proposed.
- `TidalRoadmapBoard.stages: ReadonlyArray<TidalRoadmapStage>`: Required stages value accepted by this exported component.
- `TidalRoadmapBoard.title: ReactNode`: Required title value accepted by this exported component.
- `TidalRoadmapBoard.description?: ReactNode`: Optional description value accepted by this exported component.
- `TidalRoadmapBoard.detailButtonLabel?: ReactNode` (default "Details"): Optional detail button label value accepted by this exported component.
- `TidalRoadmapBoard.detailHeadingLevel?: "h2" | "h3" | "h4" | undefined` (default "h2"): Optional detail heading level value accepted by this exported component.
- `TidalRoadmapBoard.detailInitiativeId?: string | null | undefined`: Optional detail initiative id value accepted by this exported component.
- `TidalRoadmapBoard.detailSheetProps?: DetailSheetProps | undefined`: Optional detail sheet props value accepted by this exported component.
- `TidalRoadmapBoard.direction?: "ltr" | "rtl" | undefined`: Optional direction value accepted by this exported component.
- `TidalRoadmapBoard.disabled?: boolean | undefined` (default false): Optional disabled value accepted by this exported component.
- `TidalRoadmapBoard.emptyMessage?: ReactNode`: Optional empty message value accepted by this exported component.
- `TidalRoadmapBoard.headingLevel?: "h2" | "h3" | "h4" | undefined` (default "h2"): Optional heading level value accepted by this exported component.
- `TidalRoadmapBoard.labels?: Partial<TidalRoadmapBoardLabels> | undefined`: Optional labels value accepted by this exported component.
- `TidalRoadmapBoard.loading?: boolean | undefined` (default false): Optional loading value accepted by this exported component.
- `TidalRoadmapBoard.onDetailOpenChange?: ((initiativeId: string | null, initiative: TidalRoadmapInitiative | null) => void) | undefined`: Callback invoked when the detail open change interaction is proposed.
- `TidalRoadmapBoard.onVoteRequest?: ((initiative: TidalRoadmapInitiative, voted: boolean, event: MouseEvent<HTMLButtonElement>) => void) | undefined`: Callback invoked when the vote request interaction is proposed.
- `TidalRoadmapBoard.theme?: "light" | "dark" | undefined` (default "light"): Optional theme value accepted by this exported component.

## Complete usage example

[Source](https://tidalui.com/examples/roadmap-board.tsx) | [Manifest](https://tidalui.com/examples/roadmap-board.json). Install the listed additional dependencies. Consumer fixture: TypeScript pass; Vite pass. This fixture check is distinct from the actual shadcn install receipt.

```tsx
"use client";

import "./components/ui/tidal.css";

import { useId, useState } from "react";

import { TidalRoadmapBoard, type TidalRoadmapInitiative } from "./components/ui/roadmap-board";

import "./components/ui/roadmap-board.css";

import "./components/ui/sheet-drawer.css";



const tidalExampleStyles = ".roadmap-board-demo {\n  width: min(100%, 1040px);\n  min-width: 0;\n}\n\n.roadmap-board-demo-status,\n.roadmap-board-demo-note,\n.roadmap-board-demo aside {\n  margin: 12px 0 0;\n  color: var(--t-muted);\n  font:\n    600 11px/1.5 Inter,\n    ui-sans-serif,\n    system-ui,\n    sans-serif;\n  overflow-wrap: anywhere;\n}\n\n.roadmap-board-demo aside {\n  padding: 12px 14px;\n  border: 1px solid var(--t-border);\n  border-radius: 10px;\n  background: var(--t-surface);\n  color: var(--t-ink);\n}\n\n.roadmap-board-demo aside:focus-visible {\n  outline: 2px solid var(--t-accent);\n  outline-offset: 2px;\n}\n\n.roadmap-board-demo aside p {\n  margin: 4px 0 0;\n  color: var(--t-muted);\n}";

const STAGES = [
  {
    id: "planned",
    title: "Planned",
    accessibleLabel: "planned initiatives",
    status: "planned" as const,
    description: "Ideas being shaped and reviewed.",
    emptyMessage: "No planned initiatives in this view.",
  },
  {
    id: "in-progress",
    title: "In progress",
    accessibleLabel: "initiatives in progress",
    status: "in-progress" as const,
    description: "Work currently underway.",
    emptyMessage: "No initiatives are in progress.",
  },
  {
    id: "shipped",
    title: "Shipped",
    accessibleLabel: "shipped initiatives",
    status: "shipped" as const,
    description: "Recently completed sample work.",
    emptyMessage: "No shipped initiatives in this view.",
  },
] as const;

const BASE_INITIATIVES: readonly TidalRoadmapInitiative[] = [
  {
    id: "saved-views",
    stageId: "planned",
    title: "Saved project views",
    accessibleLabel: "Saved project views",
    summary: "Keep a preferred filter and layout ready for the next visit.",
    timeframe: "Exploring",
    tags: ["Projects", "Views"],
    voteLabel: "18",
    voteAccessibleLabel: "Vote for Saved project views",
    detail: {
      description: "A sample planned initiative.",
      content: (
        <>
          <p>
            The sample scope includes named views, visible filter summaries and
            a clear reset path.
          </p>
          <p>No delivery date is implied by this preview.</p>
        </>
      ),
    },
  },
  {
    id: "review-digest",
    stageId: "planned",
    title: "Review digest",
    accessibleLabel: "Review digest",
    summary: "Collect recent review decisions into one readable update.",
    timeframe: "Under review",
    tags: ["Reviews"],
    voteLabel: "9",
    voteAccessibleLabel: "Vote for Review digest",
    detail: {
      description: "A sample planned initiative.",
      content: <p>The local preview shows a concise decision summary.</p>,
    },
  },
  {
    id: "command-history",
    stageId: "in-progress",
    title: "Command history",
    accessibleLabel: "Command history",
    summary: "Revisit recent workspace commands with their visible outcomes.",
    timeframe: "In progress",
    tags: ["Workspace", "History"],
    voteLabel: "31",
    voteAccessibleLabel: "Vote for Command history",
    detail: {
      description: "A sample initiative currently in progress.",
      content: (
        <p>
          The sample detail includes the command label, completion state and a
          route back to its workspace context.
        </p>
      ),
    },
    destination: {
      href: "#roadmap-release-notes",
      label: "Release note",
      accessibleLabel: "Read the Command history sample release note",
    },
  },
  {
    id: "compact-navigation",
    stageId: "shipped",
    title: "Compact navigation",
    accessibleLabel: "Compact navigation",
    summary: "Keep primary destinations clear in narrow workspace layouts.",
    timeframe: "Sample shipped state",
    tags: ["Navigation"],
    voteLabel: "41",
    voteAccessibleLabel: "Vote for Compact navigation",
    detail: {
      description: "A completed item in this fictional roadmap.",
      content: (
        <p>The sample outcome is a smaller, readable navigation rail.</p>
      ),
    },
  },
];

export function RoadmapBoardDemo({
  theme = "light",
}: {
  theme?: "light" | "dark";
}) {
  const generatedId = useId().replace(/:/g, "");
  const releaseNoteId = `${generatedId}-roadmap-release-notes`;
  const [filter, setFilter] = useState("all");
  const [votedIds, setVotedIds] = useState<readonly string[]>([
    "compact-navigation",
  ]);
  const [detailId, setDetailId] = useState<string | null>(null);
  const [message, setMessage] = useState("Showing every sample stage.");
  const initiatives = BASE_INITIATIVES.map((initiative) => ({
    ...initiative,
    voted: votedIds.includes(initiative.id),
    voteLabel: String(
      Number(initiative.voteLabel) + (votedIds.includes(initiative.id) ? 1 : 0),
    ),
    voteAccessibleLabel: votedIds.includes(initiative.id)
      ? `Remove vote from ${initiative.accessibleLabel}`
      : `Vote for ${initiative.accessibleLabel}`,
    destination:
      initiative.id === "command-history"
        ? { ...initiative.destination!, href: `#${releaseNoteId}` }
        : initiative.destination,
  }));
  const filters = [
    {
      id: "all",
      label: "All",
      accessibleLabel: "Show all roadmap initiatives",
      stageIds: STAGES.map((stage) => stage.id),
      count: initiatives.length,
    },
    ...STAGES.map((stage) => ({
      id: stage.id,
      label: stage.title,
      accessibleLabel: `Show ${stage.accessibleLabel}`,
      stageIds: [stage.id],
      count: initiatives.filter((item) => item.stageId === stage.id).length,
    })),
  ];

  return (
    <div className="roadmap-board-demo">
      <TidalRoadmapBoard
        title="Product roadmap"
        description="A fictional view of planned, active and completed product work."
        stages={STAGES}
        initiatives={initiatives}
        filters={filters}
        filterValue={filter}
        onFilterChange={(next) => {
          setFilter(next);
          setMessage(
            next === "all"
              ? "Showing every sample stage."
              : `Showing the ${STAGES.find((stage) => stage.id === next)?.title ?? next} sample stage.`,
          );
        }}
        onVoteRequest={(initiative, voted) => {
          setVotedIds((current) =>
            voted
              ? [...current, initiative.id]
              : current.filter((id) => id !== initiative.id),
          );
          setMessage(
            voted
              ? `Local vote added to ${initiative.accessibleLabel}.`
              : `Local vote removed from ${initiative.accessibleLabel}.`,
          );
        }}
        detailInitiativeId={detailId}
        onDetailOpenChange={(nextId) => setDetailId(nextId)}
        detailSheetProps={{
          placement: "right",
          mobilePlacement: "bottom",
        }}
        theme={theme}
      />
      <p className="roadmap-board-demo-status" role="status">
        {message}
      </p>
      <aside id={releaseNoteId} tabIndex={-1}>
        <strong>Command history sample note</strong>
        <p>Recent commands now show a clear local outcome.</p>
      </aside>
      <p className="roadmap-board-demo-note">
        Fictional sample roadmap. Filters and votes stay in this preview; no
        release promise or saved change is made.
      </p>
    </div>
  );
}

export default function AgentExample() {
  return (
    <div className="tidal-scope" data-theme="light" dir="ltr">
      <style>{tidalExampleStyles}</style>
      <RoadmapBoardDemo />
    </div>
  );
}

```

## Gotchas

- The host application owns data, validation, persistence, navigation, and service side effects described by this API.

## Theme and accessibility

{"tokens":["--t-accent","--t-border","--t-border-strong","--t-canvas","--t-danger","--t-display","--t-ease-out","--t-ease-spring","--t-faint","--t-font","--t-ink","--t-line","--t-muted","--t-primary","--t-primary-contrast","--t-radius-card","--t-radius-control","--t-radius-overlay","--t-radius-panel","--t-ring","--t-shadow-lg","--t-shadow-soft","--t-soft","--t-subtle","--t-surface","--t-wash"],"darkMode":true}

{"keyboard":["Tab and Shift+Tab follow the component's native focus order.","Arrow-key behavior follows the exported composite-control implementation.","Escape dismisses the open overlay where the underlying primitive supports dismissal."],"aria":"The component wires labels and relationships from consumer-provided visible text or ARIA props; preserve those labels in production.","notes":"Verify focus visibility, text alternatives, contrast, and reduced motion in the final composition."}

Consumer-owned stages require unique nonblank IDs, exact titles/accessibility labels, planned/in-progress/shipped status and optional descriptions/empty messages. Consumer-owned initiatives require unique nonblank IDs, a known stage ID, title and accessibility label; optional summary, timeframe, tags, exact vote label/accessibility label, voted/disabled state, native article props/ref, guarded native destination attrs/ref, vote attrs/ref and modal detail attrs/ref/content are supported. Consumer-owned filters require unique nonblank IDs, exact labels/accessibility labels and known unique stage IDs; controlled filterValue/onFilterChange and native filter attrs/refs are required. Optional onVoteRequest proposes only the next pressed state. Optional controlled detailInitiativeId/onDetailOpenChange composes the accepted Sheet for focus trapping, Escape/backdrop dismissal and trigger focus return. Optional h2-h4 heading level, labels, loading/empty/disabled, theme/direction, Sheet props and native section attrs/ref are supported. Caller handlers run first and prevention suppresses controlled proposals; native or aria-disabled true actions become inert while explicit false remains enabled. Consumers own initiative ordering, vote totals, routing, filters, release language, persistence and every side effect. No drag/drop, delivery promise, request, network or storage behavior is bundled.
