Skip to content

heroshotfree, open-source screenshot automation framework

Your UI changes constantly. Heroshot updates every screenshot in your docs with a single command.

Heroshot Logo

One Config, Many Variants

This screenshot of the hero section above is captured by Heroshot - desktop, tablet, mobile, light and dark.
Resize your browser or toggle the theme - the matching variant loads automatically.

Heroshot landing page screenshot

That's 6 image variants from a single config entry - always in sync with the live site.

Works With Your Docs

Install

bash
npm install heroshot
heroshot

Configure

docusaurus.config.ts
plugins: [
  ['heroshot/plugins/docusaurus', {}]
]

Use

tsx
import { Heroshot } from 'heroshot/docusaurus';

<Heroshot name="dashboard" alt="Dashboard" />
Full Docusaurus Guide