# Thumbnail Workspace

> Thumbnail generator UI shell. Wire CONTENT.endpoint (Host API).

A shadcn/ui block from the [@atroui](https://www.atroui.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/atroui/thumbnail-workspace).

- Page, with a live preview: https://shadcn.exchange/r/atroui/thumbnail-workspace
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/atroui/thumbnail-workspace-light-eb8f5824ad74ab28.png
- Registry item: https://www.atroui.com/r/thumbnail-workspace.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://www.atroui.com/r/thumbnail-workspace.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@atroui/thumbnail-live-preview`

## Files

### `registry/default/blocks/thumbnail-workspace.tsx`

```tsx
"use client"

import { ThumbnailLivePreview } from "./thumbnail-live-preview"

/**
 * Thumbnail workspace shell. Wire CONTENT.endpoint for real exports (Host API).
 */
const CONTENT = {
  endpoint: "/api/thumbnail",
  title: "How we shipped in 7 days",
  subtitle: "MVP sprint walkthrough",
  format: "youtube" as const,
}

export function ThumbnailWorkspace() {
  return (
    <div className="space-y-4 rounded-2xl border border-border-subtle bg-card/40 p-4 sm:p-6">
      <div>
        <p className="ms-stamp">Thumbnail workspace</p>
        <p className="mt-2 text-sm text-muted-foreground">
          Preview is CSS-only. Point{" "}
          <code className="font-mono text-[12px] text-foreground">
            CONTENT.endpoint
          </code>{" "}
          at your thumbnail API to export images.
        </p>
      </div>
      <ThumbnailLivePreview
        title={CONTENT.title}
        subtitle={CONTENT.subtitle}
        format={CONTENT.format}
      />
    </div>
  )
}
```
