The flash sits behind the hit object (the 3D pile's comic hits use it), sparkles mark something new, dizzy stars circle an object that took a knock.
Example#
Usage#
Use an impact star where something lands: a flash behind the hit object, sparkles around something new, dizzy stars around a block that toppled. The 3D pile uses it with an SFX for its comic hits.
- Variants.
flash(default),sparkleanddizzy. - One flash per impact, scaling in once; never an opacity strobe (WCAG 2.3.1).
Layer and volume#
Art: flashes per view 0 / 1 / 2 / 4, sparkles 0 / 3 / 6 / 12. The flash scales in once (0 to 1.1 to 1 over 260 ms); hidden at Quiet.
Anatomy#
- StarA paper burst with a spot burst inside.
.mk-impact-star
Volume#
Quiet
Studio
Press
Rave
Content#
- None: an impact star is art.
Do and don't#
Do
Don't
A flash that blinks on and off three times a second.
Accessibility#
aria-hidden; never an opacity strobe (WCAG 2.3.1).
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
variant | ImpactVariant | none | |
size | number | 96 | px (default 96). |
inks | readonly InkRef[] | none | flash: [outer, inner]; sparkle: [star]; dizzy: the stars' inks in turn. |
seed | number | none | |
children | undefined | none |
Tokens#
System tokens (8)
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).