TuffLogoStroke
Stroke animation for the current Tuff logo SVG, with once, breathe, and hover trigger modes.
TuffLogoStroke
Stroke animation for the current Tuff logo SVG, with once, breathe, and hover trigger modes.
Animation modes
Modes
Demo will load when visible.
Palette and duration customization
Palette
Demo will load when visible.
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
size | string | number | 120 | Icon width and height |
mode | 'once' | 'breathe' | 'hover' | 'loop' | 'once' | Animation mode (loop is an alias for breathe) |
durationMs | number | 2200 | Animation duration (ms) |
strokeColor | string | #4C4CFF | Outer stroke color |
fillStartColor | string | #199FFE | Start color of core gradient |
fillEndColor | string | #810DC6 | End color of core gradient |
outerStartColor | string | #D73E4D | Start color of outer ring gradient |
outerEndColor | string | #7F007F | End color of outer ring gradient |
Interaction Contract
- The component renders a
role="img"SVG with the default accessible nameTuff logo stroke animation. - Numeric
sizevalues are converted to width and height in px; string values are used as-is. mode="loop"maps to thebreatheclass;once,breathe, andhoveremit their matching state classes.- Gradient and filter ids use an instance-scoped prefix, so multiple logos can render on the same page without collisions.