Data displayProse

Open in Create
Search
astronomic.dev

Prose

Free

For long text from the editor, like articles and case studies.

File
Prose.astro
Group
Data display
Kind
Static: no JavaScript
Examples
1
import Prose from "@astronomic-dev/ui/components/Prose.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Article text

Running text in the reading role, at most 65ch wide. Prose is a container, so its h2 sizes to its own width, not the screen's. In a box that takes its content's width (an inline-flex, an auto grid track) it is 65ch wide; a set width wins. A class on an element inside it wins over Prose's rule for that element (for a link's hover or focus, a hover: or focus-visible: class).

Force state
main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.