# Public Roadmap

> Now / Next / Later product roadmap with upvotes. Area chips with counts and a search filter the board with layout transitions; cards expand in place to show details and status history. Votes are optimistic, roll their count, persist per item in localStorage and call onVote. Has a Recently shipped strip linked to the changelog, plus an inline Suggest a feature form. Columns become tabs on phones.

- Slug: `public-roadmap`
- Category: [Timelines](https://www.assembli.design/category/timelines.md)
- Type: block
- Tags: roadmap, voting, upvote, feedback, feature-requests, filters, changelog, saas
- npm dependencies: motion, lucide-react
- shadcn/ui dependencies: none
- Live preview: https://www.assembli.design/preview/public-roadmap
- Page: https://www.assembli.design/components/public-roadmap

![Public Roadmap preview](https://www.assembli.design/thumbnails/public-roadmap-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow` | `React.ReactNode` | `"Roadmap"` |  |
| `title` | `React.ReactNode` | `"What we’re building"` |  |
| `intro` | `React.ReactNode` | `"Everything on the Tessera roadmap, from what ships this mo…` |  |
| `items` | `RoadmapItem[]` | `DEFAULT_ITEMS` |  |
| `areas` | `string[]` |  | Filter chips, in order. Defaults to every area used by `items`. |
| `onVote` | `(id: string, voted: boolean) => void \| Promise<unknown>` |  | Called after the optimistic toggle. Return a rejecting promise to roll the vote back. |
| `onSuggest` | `(suggestion: RoadmapSuggestion) => void \| Promise<unknown>` |  | Called when the suggestion form is sent. Return a promise to show a sending state; reject to show an error. |
| `changelogHref` | `string` | `"#"` |  |
| `shippedLimit` | `number` | `4` | How many shipped items the "Recently shipped" strip shows. 0 hides it. |
| `storageKey` | `string` | `"roadmap-votes"` | localStorage key for the viewer's votes. Use one per roadmap. |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/public-roadmap/public-roadmap.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/public-roadmap
```

Registry item JSON: https://www.assembli.design/r/public-roadmap.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
