Speed lines trail a move. Without a count they print in three batches the volume reveals: 12 at Studio, 24 at Press, 40 at Rave.
Example#
Usage#
Use speed lines behind something that moves: a block flying in, a card arriving, a hero object. Tapered wedges trail the move in one direction.
- Props.
direction,count(default by volume),maxWidth,minLen,inkandseed. - Behind objects, never under words. They streak in once.
Layer and volume#
Art: groups per view 0 / 1 / 2 / 4. Streaks in once (300 ms); hidden at Quiet.
Anatomy#
- HostThe art region they fill.
[data-mk-layer="art"] - LinesTapered wedges trailing the move.
.mk-speed-lines
Volume#
Quiet
Studio
Press
Rave
Content#
- None: speed lines are art.
Do and don't#
Do
Don't
Speed lines running under a paragraph to make it feel fast.
Accessibility#
aria-hidden; never under words.
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
direction | "down" | "left" | "right" | "up" | none | The direction of the move (the lines trail behind it). |
count | number | none | A fixed count; default by volume (12 / 24 / 40). |
maxWidth | number | none | |
minLen | number | none | |
ink | InkRef | none | |
seed | number | none | |
children | undefined | none |
Tokens#
System tokens (5)
Its own properties (1)
--mk-streak-from
Changelog#
Arrived in 0.1.0.
- The print and comic kits, P0 (21 P2-T11 to P2-T15): the art core (seeded halftone, bursts, balloons, lines, krackle, printer's marks, SFX layers, the texture tiles and
gen-print-tiles), the print kit (Halftone,Overprint,PrinterMarks,Sticker,Stamp,Seal,useStampLand,Tape,Grain,Misregistrationand the.mk-ovsecond ink,GiantGlyph,ShapeGlyph), the dataCover(grid and score,coverAlt,CoverLegend), the comic registers and kit (Panel,PanelGrid,Balloon,Caption,CornerBox,EditorsNote,ContinuedIn,SFX,SfxBurst,SpeedLines,FocusLines,ImpactStar,KeyPop).