A die line is the flat net a box is cut from: cut lines in the key ink, folds dashed in the second ink, the glue flap hatched. The front panel can carry the product's face in its own ink.
Example#
Usage#
Use a die line for packaging and product moments: a box net for a product launch, a crate's flattened shape. Cut lines are solid, folds are dashed in the second ink, glue flaps are hatched.
- Net.
box(the one net in v1), withw,d,handflapin millimetres. - Face.
faceputs art on the front panel;faceInktints it. - Dimensions.
dimsadds a dimension line and the cut and fold legend.
Layer and volume#
Art: aria-hidden, hidden at Quiet, shown from Studio. The dimension line and the cut and fold legend are decorative lettering at 12 px or more.
Anatomy#
- CutSolid ink line.
.mk-die-line-cut - FoldDashed in the second ink.
.mk-die-line-fold - DimensionsDecorative, 12 px or more.
.mk-die-line-dims
Volume#
Quiet
Studio
Press
Rave
Content#
- Dimensions are decorative but true to the drawn net.
Do and don't#
Do
Don't
A die line used as a border around a pricing table.
Accessibility#
- Always
aria-hidden: the product's name and size live in the reading text beside it.
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
net | "box" | none | The net (v1: a tuck-end box). |
w | number | none | Panel width, depth and height, and the tuck flap, in mm (drawn 1 mm = 1 unit). |
d | number | none | |
h | number | none | |
flap | number | none | |
face | ReactNode | none | SVG content for the front panel, in its own `w × h` box. |
faceInk | InkRef | none | The front panel's ink (none by default). |
dims | boolean | none | The dimension line and the cut / fold legend. |
children | undefined | none |
Tokens#
System tokens (4)
Its own properties (1)
--mk-die-line-type
Changelog#
Arrived in 0.9.0.
EditionNumber,ProofSheet,DieLine,InkDrawdownandSwatchChip(withinkPairs, the ink's sanctioned pairs in a look), and theHalftonephoto plate case. Read the whole entry