# The component library

> Onbrand now finds every component on your live site, from whole sections down to buttons and pills, and keeps each one as real, portable HTML your team and your agents can search, copy and build pages from.

Onbrand 0.8.0 · November 17, 2026 · components, design system, agents, mcp
Canonical: https://onbrand.tools/changelog/component-library

A design system is more than colors and fonts. It's the hero section your marketing team keeps rebuilding, the pricing card with the right shadow and the button with exactly the right padding. Until now Onbrand showed you your tokens. With 0.8.0 it shows you your components too, the real ones, taken straight from your live product.

## What's new

One command finds every component on your site:

```sh
onbrand capture https://yoursite.com
```

It walks the page and picks out the pieces you build with: whole sections and feature panels, bento grids, cards, device mockups, buttons, pills and list rows. Each one is saved to `design-system/library/` as its real markup, with only the CSS it uses and a screenshot. Paste it into another page, another project or a prompt, and it looks the same.

Capture more than one page by listing them, or put them under `"capture"` in `onbrand.json` so every build stays current. It needs Chrome, which GitHub's build runners already have.

## A Library page in every design system

Every design system now has a **Library** page. Search the components, filter by kind (sections, cards, buttons and so on) or by the page they're on, and open one to see it with its code. Each component has two buttons:

- **Copy HTML**: the component's markup and its CSS, ready to paste.
- **Copy prompt**: a ready prompt for your agent that names the component and says how to use it.

Big systems stay fast. Components show as a grid of thumbnails, drawn when you publish and redrawn only when a component changes, and each one's code loads when you open it. A system with 276 components went from 4.7 MB to under 300 KB per page.

## The Canvas: pages from parts you already have

The **Canvas** is a blank page you build from your own components. Drag them on, reorder them, and change the words in place. When the page looks right, copy it for your agent or download it as HTML. It's the quickest way to show what a new landing page or feature announcement should look like, made only from pieces that already ship.

## For agents: components by name

Agents get two new MCP tools: `list_components` lists everything in the library, and `get_component` returns one component's HTML and CSS by name. `design.md`, the file agents read first, now lists every component too. Ask your agent for "a pricing section like ours" and it can fetch the real one instead of guessing.

## Also in 0.8.0

The design-system pages got faster and better organised around the library:

- An **Imagery** page, laid out like a board: every image your site uses, once each, with where it's used. Screenshots and photos are no longer listed as components.
- Light and dark previews only show when your brand has a dark mode.
- The logo page shows your full logo the way your site does, mark and wordmark together.
- Setup is a guided analysis. Your agent maps every page, separates components from sections and from imagery, finds the real logo, and checks the result against your live product before publishing.
- Adding a repo is four short steps: copy the prompt, add your team by email or domain, choose who can open the design system, and watch it build.
- The dashboard is simpler (Overview, Feedback, History, Settings) and works in light and dark.

## Get it

Run your design-system workflow again, or have your agent read the [install guide](https://onbrand.tools/install.md): it picks up 0.8.0 on its own. New to Onbrand? Start with [How to](https://onbrand.tools/how-to).
