The SVG fidelity of the block model. The hero camera matches the GL stage exactly, so a still and the live pile agree.
Example#
The alphabet twins at the house camera:
Usage#
Use a block still for any arrangement as a printed picture: the stage's first paint, cards, OG art, docs figures. It is server SVG with the inks resolved by the look, so it re-inks with the colourway and the paper and ships no JavaScript.
- Any arrangement, any camera.
arrangementpicks the pose; the house camera is the default. - Name. It is a named image with
stillAlt(arrangement)by default;label={false}hides it inside a stage that already describes it. - GPU stills for files (OG cards, the logo pack) come from the generators'
./stills, captured from the live stage.
Layer and volume#
Art. Supports print the lead pair at Quiet and Studio and their own line from Press; the print strengths follow the volume through three.css.
Anatomy#
- BlockFaces in three print bands, with the letter plate.
.mk-still-block - Contact shadowA dotted footprint under each block.
.mk-b-sh
Volume#
Quiet
Studio
Press
Rave
Content#
- The alt text says what the arrangement shows: "The MAKR blocks stacked into the mark."
Do and don't#
Do
Don't
A screenshot of the live pile pasted in as a PNG on a docs page.
Fidelities#
One of four: GL, CSS 3D, SVG and the favicon. The still is server markup with 0 JS.
Performance#
The logo still is under 8 KB raw and 3 KB gzipped.
Gating#
None: it is the first paint of every cohort.
Accessibility#
role="img"withstillAlt(arrangement)by default;label={false}hides it inside a described stage.
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
arrangement | ArrangementName | logo | Default `logo`. |
camera | CameraName | none | |
size | string | number | none | px or a CSS length; the SVG scales to its box otherwise. |
poses | readonly Pose[] | none | Override the arrangement's poses (a live pile's current poses). |
label | string | false | stillAlt(arrangement) | Default `stillAlt(arrangement)`; `false` hides it (inside the stage, which carries the description). |
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-volume--mk-w-press--mk-w-rave--mk-w-studio
Its own properties (4)
--mk-3d-key-w--mk-3d-print--mk-3d-reg-x--mk-3d-reg-y
Changelog#
Arrived in 0.1.0.
- The block model, physics and the SVG and CSS fidelities (P1-T9 to P1-T12): the cast, the logo, mark and pile-a arrangements, the rain and tidy kit constants, the cannon-es
PhysicsWorldwith the hard settle cap and keep-out columns, letters baked from Anybody,BlockCss,BlockScenewith its drop, the card hop,BlockSvg,BlockStill,blockSvgStringwith resolved hex,BlockMarkandfaviconSvg.