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/paperexample
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.
48 min until standup
reply to sam about chapter 7
the notes came in this morning, and the next draft waits on your answer.
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.
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.
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.
parts
Paper- the block itself.
rendergives it the element the page needs, such as a namedsection. - a layer on paper
- a select or a menu opened from paper takes the document’s mode, as every raised layer does. pass
portalPropswith the paper as its container to hold it light.