Home/Components/Stroke Cards

Stroke Cards

SVG path-drawing animation with masked image hover reveals. Each card traces its border on hover.

Motion Design

Typography

Color Systems

Props

7 total
PropTypeDefaultDescription
cards*Array<{ id: string; imgSrc?: string; imgAlt?: string; title?: string; strokeColor1?: string; strokeColor2?: string; titleColor?: string; borderRadius?: string; className?: string }>Array of card objects. Each card has: id (unique identifier), imgSrc (image URL), imgAlt (image alt text), title (hover text), strokeColor1 (primary stroke), strokeColor2 (secondary stroke), titleColor, borderRadius, className
columns2 | 3 | 42Number of cards per row in the grid
gapstring"1rem"CSS gap value between cards (e.g., '1rem', '20px')
paddingstring"0 2rem"CSS padding around the grid container
minCardWidthstring"280px"Minimum width of each card
maxCardWidthstring"400px"Maximum width of each card
classNamestring""Additional CSS classes for the container
Next →Team Section