Skip to content

Article

A long-read layout: headline, byline, a comfortable reading column, wide figures, drop cap and pull quotes.

Article

Essay · Craft

What a noodle maker knows about interfaces

A bowl of lamian starts as one lump of dough. Stretched, folded and stretched again, it doubles with every pull, two strands, four, eight, until there are hundreds.

Fig. 1: The path of a single strand through eight folds.

The dough never changes. The hands do.

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/article.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-articleThe <article>, a container for its own layout.
mn-article-headHeadline block: eyebrow, mn-display or mn-title, intro, meta.
mn-article-meta · mn-article-bylineDate, reading time and the author with avatar.
mn-article-bodyThe reading column (42rem). Combine with mn-prose.
mn-article-wideA figure that breaks out wider than the text.
mn-dropcap · mn-pullquoteDrop cap for the first paragraph; a large pull quote.

Accessibility

  • Use <article> with one heading at its top; put the date in <time datetime="…">.
  • Keep lines between 60 and 75 characters: mn-article-body does this at 1.125rem.
  • A pull quote repeats text from the article, so mark it aria-hidden="true" to avoid reading it twice.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page