skip to the page
superthread
componentspaper
system
superthread
version
2.15.1
date
24.11.26

paper

the one white block on a page, for the thing the page is there for. it stays white in every theme.

bunx --bun shadcn@latest add @mk/paper

example

everything inside paper reads the light roles. so on a dark page the default button fills with plum here and prints as an outline everywhere around it, and the focus ring takes plum’s deep value. a page prints one paper, and it never reverses.

light

48 min until standup

reply to sam about chapter 7

the notes came in this morning, and the next draft waits on your answer.

dark

48 min until standup

reply to sam about chapter 7

the notes came in this morning, and the next draft waits on your answer.

its edge

on a dark panel the white is its edge, so paper prints flat. a light panel is white too, so paper takes the slip lift: the soft rake to the right and below, and the contact edge as a 50 percent screen, 3 px right and 2 px below.

light

now

48 min until standup

reply to sam about chapter 7

the notes came in this morning, and the next draft waits on your answer.

dark

now

48 min until standup

reply to sam about chapter 7

the notes came in this morning, and the next draft waits on your answer.

on a phone

the padding drops from 24 px to 16 px at 600 px, level with the working panel’s own. both frames use a 390 px viewport.

light

dark

parts

Paper
the block itself. render gives it the element the page needs, such as a named section.
a layer on paper
a select or a menu opened from paper takes the document’s mode, as every raised layer does. pass portalProps with the paper as its container to hold it light.