Component Style Guide
A full showcase of every UI element available in doc pages — alerts, cards, tables, videos, badges, steps, and more.
This page is a reference for every UI element available inside doc pages. Use it to copy patterns, check available variants, and ensure visual consistency across new content. All components follow the project color system and layer rules.
Every element here is copy-paste ready into any registry.tsx page body. Wrap interactive Shadcn components in a not-prose div and they will inherit the correct typography reset automatically.
Typography
Headings
Headings use the docs-body prose styles. h2 gets a top border when preceded by content. h3 is lighter and used for sub-sections.
inline text styles
Normal paragraph text. Bold weight for emphasis. Italic for nuance or quotes. inline code and a plain link and an external link .
inline highlight spans
Use primary highlights for key terms: primary term amber for warnings: caution note blue for tips: pro tip green for positive: confirmed.
Lists
Unordered list
- First item — plain text, disc bullet by default
- Bold label — followed by a description of what this item does
- Italic item — used for quotes, examples, or softer references
- Item with a
code snippetinside the list entry
Ordered list
- First step — describe what the user should do here
- Second step — the next action in the sequence
- Third step — outcome or confirmation
- Fourth step — optional follow-up or next milestone
Alerts & Callouts
Four callout styles cover the full range of tones. Use sparingly — one callout per major concept. The yellow and blue variants use className overrides instead of a named variant.
variant: default — neutral note
variant: info — purple (autoreach context)
custom — yellow — plan limits / caution
custom — blue — pro tip
Cards
Basic card
not-prose divs to prevent prose styles from overriding card layout.Two-column card grid
Icon feature cards
Fast generation
Ads in 30 seconds to 2 minutes.
Multi-format
UGC, editorial, hybrid demos.
Strategy-first
Brief → generation pipeline.
Colorful gradient cards
Getting Started
Set up and launch your first ad.
Ad Studio
Create high-converting creatives.
Creative Strategy
Build audience-first briefs.
Content Inspiration
Campaign blueprints by industry.
Ad concept card — inspiration gallery
Vertical video preview on the left + metadata on the right. Use for inspiration galleries, use-case libraries, and browseable ad concept lists.
Lifestyle UGC — Fashion Try-On
High-converting try-on format showing the garment in motion, worn in a real everyday setting. Ideal for DTC fashion brands targeting cold social traffic.
SaaS Demo Ad — Outcome First
Lead with the outcome, show the tool, close with a free-trial CTA. The highest-converting format for SaaS products targeting cold-traffic professionals.
Editorial Brand Reel — Product Launch
Art-directed 15-second brand reel for a new collection or product launch. High watch completion, excellent for retargeting warm audiences.
Tables
Tables automatically inherit docs-body styles — full-width, alternating hover rows, sticky header border. Works without any extra markup.
| Format | Best for | Length | Credit cost | Status |
|---|---|---|---|---|
| UGC | Cold traffic, DTC, direct response | 15–30s | Standard | Available |
| Editorial | Brand awareness, premium positioning | 15–25s | Standard | Available |
| Hybrid Demo | SaaS, apps, digital products | 30–60s | 2× | Growth+ |
| Animated Short | Social media, product launches | 10–20s | 1.5× | Beta |
Accordions & Collapsibles
Use type="single" collapsible for one-at-a-time expand, or type="multiple" to allow several panels open simultaneously. Both patterns use the native Shadcn Accordion component.
Single — one item open at a time
Multiple — all items independently expandable
Status Pills
All tags use the shared DocTag component. Pass a variant for the colour and an optional label to override the display text.
The label prop lets you combine concepts: <DocTag variant="fashion" label="UGC · Fashion" />
Video Player
Use DocVideoPlayer for any embeddable video in a doc page. It plays inline with muted loop and expands to a non-fullscreen modal on click. The aspectRatio prop accepts 16/9, 9/16, 4/3, or 1/1.
16:9 landscape
9:16 vertical (mobile / Reels)
Image Placeholders
While real screenshots are pending, use these placeholder blocks to reserve space. Replace with an <img> or <Image> when assets are available.
Screenshot — full-width 16:9 placeholder
Left panel screenshot
Right panel screenshot
Step Sequences
Numbered step sequences for procedural guides. Two styles — compact inline and card-based expanded.
Compact steps
Open Ad Studio
Click Ad Studio in the sidebar to start a new session.
Describe your product
Write a prompt with audience, product, outcome, and tone.
Select a format
Choose UGC, Editorial, or Hybrid depending on your goal.
Generate and export
Click Generate, review the output, and push to your platform.
Card-based steps
Strategy
Define audience and brief.
Generation
Create the video ad concept.
Editing
Refine scenes and copy.
Publishing
Push to ad platforms.
Separators
The Separator component renders a horizontal rule. Useful for breaking long sections without a full heading.
Content above
Content below
Labeled divider
Feature Grid
Icon + label + description grid. Use for listing product capabilities or section overviews. Works in 2 or 3 columns.
Instant generation
Script, visuals, and copy in under 2 minutes.
Multi-format output
UGC, editorial, hybrid — one brief, many formats.
Strategy-first
Brief informs every generation automatically.
AI creative briefs
Generate a full brief from a URL or description.
Developer API
Integrate generation into your own workflows.
Structured output
JSON-ready scene data for post-processing.
Code Blocks
Inline code uses bg-secondary with a border radius. For multi-line blocks, use the following pattern — a pre-styled div inside not-prose.
Linen summer dress for women 25–35 who care about sustainability. Relaxed, confident tone. UGC style — show it being worn at a market and a casual dinner. Hook: "I never thought I'd find a dress I could wear absolutely everywhere."
CTA Banners
Gradient banners for end-of-section prompts, upgrade nudges, or next-step guides. Use a solid coloured button for the primary action and a ghost/outline for secondary.
Ready to create your first ad?
Jump straight in — takes under 5 minutes.
Need help with your strategy?
Learn how to build a brief in Ad Studio.
Media Rows
Compact list rows with a square video thumbnail. Use for tutorial indexes and resource lists where space is tight.
UGC Hook Framework
Editorial Brand Ad
SaaS Demo Format
text-violet-300 without a paired dark: prefix.