Pack
Editorial pack
Things people read: articles, posts, docs, news and their previews.
Adding it
npx prongs add editorialCopies the 9 intents below into your registry, skipping any it already has, and regenerates PRONGS.md. A “not for” line that points at an intent your registry does not have is left out.
Intents
heading.* Heading
text.* Text
layout.* Layout
media.* Media
dialog.* Dialog
Next to the starter
The starter intents this pack’s intents are told apart from. Each pack intent’s page says when to use which.
heading.sectionTitle of a major part of a page
<h2>text.bodyRunning text: sentences and paragraphs that explain something
<p>text.codeA block of code or terminal output shown to the reader
<pre>text.labelA few words that name a value: field labels, setting names, column headers. Use as="label" htmlFor=... for form fields
<span>layout.pageA centred column of content. An app page has one; a marketing page may have one per full-width band
<main>layout.panelA self-contained box about one thing: a sign-in box, a profile summary
<div>dialog.taskA focused task that blocks the page until done or dismissed: edit settings, compose
<dialog>media.imageAn image that illustrates content or is the content: an article cover, a screenshot, a product photo, a logo, cover art
<img>
For registry authors
Pack intent. prongs add editorial puts the editorial pack’s intents in your registry. They are then yours like the starter intents: rename, restyle and add to them, and see them with prongs add gallery.