Design system
Type, color, cursors, links, prose, controls.
Typography
Sphinx of black quartz, judge my vow.
Sphinx of black quartz, judge my vow.
Sphinx of black quartz, judge my vow.
Color
Cursors
Hover a tile to feel the cursor. Shown at actual 32px cursor size.
default
pointer
pointer active
match
text
not-allowed
wait
progress
help
crosshair
move
ew-resize
ns-resize
col-resize
row-resize
nwse-resize
nesw-resize
Links
Body copy with an underlined link that picks up the link-600 underline on hover. The same bare anchor inside a paragraph gets the prose baseline wash.
A noUnderline link drops the rule — used for image and full-row links.
Prose
A third-level heading
A paragraph of emphasized and strong body text in Crimson Text, with an inline link and a bit ofinline code.
A blockquote — the marginal voice of the manuscript.
- Diamond-bulleted list item
- Another item
Keyboard
Controls
The two real button styles in the app:
Two-column flow around shapes
One text stream fills the left column, then continues in the right, wrapping around two shapes. Pretext computes the layout off-DOM. Click a shape to spin it and the text re-wraps live. Afterpretext's dynamic-layout.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Here be dragons
Pretext lays the text out as individual characters. A serpent of glyphs follows your cursor and shoves the words aside as it passes; they settle back once it's gone. It runs on canvas and never triggers a DOM reflow. Afterpretext-playground.