AutoReach is now in public beta — AI video ads in minutes. Start free today
Try for free
Reference/Component Style Guide

Component Style Guide

A full showcase of every UI element available in doc pages — alerts, cards, tables, videos, badges, steps, and more.

8 min read

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

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 snippet inside the list entry

Ordered list

  1. First step — describe what the user should do here
  2. Second step — the next action in the sequence
  3. Third step — outcome or confirmation
  4. Fourth step — optional follow-up or next milestone
alerts & callouts

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

Cards

Basic card

Card title
Basic card for grouping related content. Use inside not-prose divs to prevent prose styles from overriding card layout.

Two-column card grid

UGC Format
Native-feel ads built for social feeds. High trust, direct response.
Editorial Format
Brand-led, cinematic production. Premium positioning and awareness.
Creative Strategy
Audience-first briefs that inform every downstream generation.
Content Inspiration
Campaign blueprints by industry ready to adapt to your brand.

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.

tables

Tables

Tables automatically inherit docs-body styles — full-width, alternating hover rows, sticky header border. Works without any extra markup.

FormatBest forLengthCredit costStatus
UGCCold traffic, DTC, direct response15–30sStandardAvailable
EditorialBrand awareness, premium positioning15–25sStandardAvailable
Hybrid DemoSaaS, apps, digital products30–60sGrowth+
Animated ShortSocial media, product launches10–20s1.5×Beta
accordions

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

badges & pills

Status Pills

All tags use the shared DocTag component. Pass a variant for the colour and an optional label to override the display text.

UGCEditorialSaaSFashionDTCEcomBrandStrategyFeatureHow-toInspirationBetaNew

The label prop lets you combine concepts: <DocTag variant="fashion" label="UGC · Fashion" />

UGC · FashionUGC · SaaSEditorial · BrandDTC · Ecom
video player

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

UGC ad preview

9:16 vertical (mobile / Reels)

UGC — vertical
Editorial — vertical
Publishing preview
image placeholders

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

Step Sequences

Numbered step sequences for procedural guides. Two styles — compact inline and card-based expanded.

Compact steps

1

Open Ad Studio

Click Ad Studio in the sidebar to start a new session.

2

Describe your product

Write a prompt with audience, product, outcome, and tone.

3

Select a format

Choose UGC, Editorial, or Hybrid depending on your goal.

4

Generate and export

Click Generate, review the output, and push to your platform.

Card-based steps

1

Strategy

Define audience and brief.

2

Generation

Create the video ad concept.

3

Editing

Refine scenes and copy.

4

Publishing

Push to ad platforms.

separators

Separators

The Separator component renders a horizontal rule. Useful for breaking long sections without a full heading.

Content above

Content below

Labeled divider

or
feature grid

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

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.

prompt.txtExample prompt
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

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.

Start the guide

Need help with your strategy?

Learn how to build a brief in Ad Studio.

Read guide
media rows

Media Rows

Compact list rows with a square video thumbnail. Use for tutorial indexes and resource lists where space is tight.

UGC6 min read

UGC Hook Framework

Editorial5 min read

Editorial Brand Ad

SaaS5 min read

SaaS Demo Format