---
type: Component
title: Signup
description: "An email input joined to a button."
status: released
register: marketing
tags: [interface]
tokens: [--line-2, --accent-solid, --bg, --ink, --ink-2, --f-mono, --text-sm]
---

```html
<form class="signup" novalidate><input type="email" required placeholder="you@example.com" aria-label="Email address" autocomplete="email"><button class="btn btn--primary" type="submit">Get the newsletter</button></form>
```

**Anatomy.** A mono input and a button sharing one edge, centered, up to 440px wide. The input's border goes accent on focus: focus is always the accent.

**Rules.** The button is any button variant.

*Open:* this component is in `style.css` but not in the guide's component list, so it has no stated register; the homepage uses it on a marketing page. The markup above is the homepage's newsletter form with its ids removed. The homepage puts both `.btn` and `.btn--primary` on the button; the guide shows `.btn--primary` alone. Success and error states are not defined.
