ENFR0.1.0-rc.3

Homepage components

Hero, Action, Media, Install and StartHere for docs/index.


Hero renders the frontmatter title and description, so the homepage keeps one source for its h1 and metadata. An Install block next to a StartHere block renders as one two-column row.

docs/index.mdx
---
title: Email testing built for automation.
description: Create disposable inboxes and receive real emails from your tests.
---

<Hero eyebrow="TestInbox · v1">
  <Action label="Get started" href="./quickstart" />
  <Action label="API reference" href="/api" />
</Hero>

<Install>
<Tab label="TypeScript">
```bash
npm install @testinbox/client
```
```typescript
const client = new TestInbox({ apiKey: process.env.TESTINBOX_API_KEY });
```
</Tab>
</Install>

<StartHere>
<Entry title="Quickstart" href="./quickstart" description="First test email" meta="5 min" />
<Entry title="API reference" href="/api" meta="25 endpoints" />
</StartHere>

<Steps variant="strip" title="The workflow">
<Step title="Create an inbox">
`inboxes.create()`
</Step>
</Steps>
ComponentProps
Heroeyebrow? · up to 3 Action + 1 Media
Actionlabel, href, variant? primary | secondary
Mediaposter, alt, caption?, duration? m:ss, linkLabel? + linkHref?
InstallTab children with 1–2 fences (command, then config)
StartHereEntry with title, href, description?, meta?
Report an issue with this page on GitHub