<LittleDemo> renders through a signed runtime URL. Readers see a loading state while a new demo is generated, then the same embed automatically reuses the completed demo on future views.

When to use

Use LittleDemo when a still screenshot is not enough: onboarding flows, product tours, changelog demos, pricing walkthroughs, conversion flows, and feature sections that are easier to understand in motion.

Live Demo

Examples

Generate from a URL

mdx
<LittleDemo url="https://linear.app" prompt="Show the Linear hero and product interface." template="hero-spotlight" section="hero and product interface preview" autoplay loop/>

Focus a Specific Section

mdx
<LittleDemo url="https://example.com/pricing" prompt="Highlight the pricing table and plan comparison." template="pricing-focus" section="pricing table"/>

Render an Existing Demo

mdx
<LittleDemo demoId="demo_tfgslztc95get4ll442z" controls theme="dark"/>

Props

PropTypeDefaultDescription
urlstring--Page URL to record. Required unless demoId is provided.
demoIdstring--Existing LittleDemo ID to render.
promptstringgenerated from metadataWhat the recording should show.
templatestringautoRecording style nudge: auto, cinematic, guided-tour, plain-scroll, section-focus, hero-spotlight, feature-sweep, conversion-flow, pricing-focus, or proof-scroll.
section / sectionHintstring--Section hint for section-focus and auto selection.
title / description / headingsstring / array--Optional context used to build a prompt when prompt is omitted.
durationTargetstring10sTarget duration sent to LittleDemo.
formatstringmp4Output format.
autoplaybooleanfalseStart playback automatically when the browser allows it.
loopbooleanfalseLoop the video.
controlsbooleantrueShow player controls.
themedark | lightdarkPlayer chrome theme.
start / endnumber--Trim playback inside the embed.
brandingbooleantrueShow the LittleDemo watermark when the project plan requires it.
aspectRatiostring16:9Wrapper aspect ratio, such as 16:9, 4:3, or 1:1.
heightstring | number--Fixed iframe wrapper height. Overrides aspectRatio.
params / payloadJSON string--Escape hatch for advanced LittleDemo runtime payload fields.

Limits

HolyDocs counts distinct <LittleDemo> runtime generation configs per project each month. Cached component resolutions do not count again. Plan allowances are:

PlanMonthly LittleDemo generations
Free1
Starter10
Pro50
Business250
EnterpriseUnlimited

Tips

  • Use demoId when you want a stable, already-approved demo.
  • Use url plus prompt when docs should stay close to a changing product surface.
  • Pick an explicit template when you know the recording shape; leave it on auto when the page and prompt should decide.
  • Keep prompts specific enough to select the right section, but avoid writing a full script.
Screenshot

Render polished still screenshots from any URL.

Learn More
Frame

Place screenshots, videos, and diagrams in a consistent media frame.

Learn More
Steps

Pair product demos with procedural written instructions.

Learn More
Ask a question... ⌘I