Skip to content

Call to action

A closing band that asks for one thing, sign up, book, subscribe, with an optional inline email form.

Split call to action

Try this month’s close on Ledger.

Free for 30 days. Your data stays yours, and exports are one click.

Newsletter

One good essay a week.

Field Notes arrives on Sunday morning. No tracking pixels.

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/cta.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-ctaThe band: muted surface, generous padding. mn-cta-center · mn-cta-split (text left, actions right) · mn-cta-plain (no box).
mn-hero-actionsReuse for the buttons.
mn-subscribeAn inline email field and button that wraps on narrow screens.

Accessibility

  • The email field needs a label (visually hidden is fine) and type="email" autocomplete="email".
  • Say what happens after signing up and how often you will write.
  • For a dark band, set data-mode="dark" on the section instead of inverting colours by hand.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page