A page object for "the piece that fits": a primed baseplate with a recessed slot, one letter block seated in it and a dimension line beside it.
Example#
Usage#
Use a slot for "the right fit": a baseplate with one letter block seated in its recess, and a dimension line. It suits a section about fitting a site to a business.
- The baseplate is primed stock, the text ink screened into the paper, so it reads on Bone and Night alike.
Layer and volume#
Art in a section's art slot. The baseplate is primed stock (the text ink screened into the paper), so it reads on Bone and Night alike.
Anatomy#
- BaseplatePrimed stock.
.mk-obj-panel - RecessThe socket the block sits in.
.mk-slot-recess - DimensionDecorative lettering.
.mk-obj-dim
Volume#
Quiet
Studio
Press
Rave
Content#
- The section's text carries the point; the slot illustrates it.
Do and don't#
Do
Don't
A slot whose dimension line carries the price.
Fidelities#
CSS 3D in the house pose, print-shaded.
Performance#
Zero JavaScript.
Gating#
None: it does not move.
Accessibility#
aria-hiddenart.
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
letter | Glyph | M | The block seated in the slot (default `M`). |
size | number | none | |
className | string | none |
Tokens#
System tokens (13)
--mk-3d-a-fill--mk-3d-k-fill--mk-3d-key--mk-3d-lead-fill--mk-3d-m-fill--mk-3d-r-fill--mk-3d-shadow--mk-3d-support-fill--mk-3d-wood-fill--mk-paper--mk-paper-plate--mk-rule--mk-text
Its own properties (1)
--mk-s
Changelog#
Arrived in 0.9.0.
- Three: the alphabet twins at every fidelity (model, SVG, CSS 3D, GL geometry, physics shapes; Rave's MORE BLOCKS rains them), the
row,topple,twins,stack-1/2/3,line-k/r/a/mandwoodarrangements with their text alternatives, the page objectsCrate,PlanPlate,Slot,SampleCaseandBaseplate,BlockLoader,Topple404,BuildOnScroll, the house camera and an id-colour parity mode in poster frames, the wood grain in GL, specks and Shake, the phone's tap-to-play light rung with "Done", andInkFieldMaterial(the field backdrop in the stage's own canvas). Read the whole entry