
More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
image | Front of the card. Same-origin or CORS-enabled URL. | ||
backImage | Back of the card. When set, a click or Enter flips the card over. | ||
alt | Accessible description of the card. | ||
preset | 'bursts' | 'stars' | 'shards' | 'cosmos' | 'rainbow' | 'swirl' | 'glitter' | 'gold' | 'bursts' | The holo pattern on the card face. Bursts are rings of foil dashes, shards are cracked ice, swirl is one big round rainbow and gold is a warm etched foil. |
foilColor | '#e2e6ec' | Colour of the metal under the print, silver by default. | |
intensity | 0.85 | How strongly the foil shows through the print, from 0 for plain card to 1. | |
scale | Size of the holo pattern. Higher values pack in more, smaller elements. | ||
edgeSparkle | 0.8 | Brightness of the glitter on the silver border as it catches the light. | |
frame | 4 | Width of the sparkling border as a percentage of the card width. Match it to your card art. | |
glare | 0.5 | Strength of the glossy highlight under the light. | |
tiltMax | 14 | Largest tilt in degrees as the pointer moves. | |
hoverScale | 1.04 | How much the card lifts while hovered. | |
radius | 14 | Corner radius in px. | |
width | 320 | Card width in px. The height follows the image. | |
idle | Drifts the light and tilt slowly when nobody is hovering, so the foil keeps shimmering. | ||
shadow | Soft shadow under the card that follows the tilt. | ||
| Extra class names for the root element. | |||
| Inline styles for the root element. |
imagestringFront of the card. Same-origin or CORS-enabled URL.
backImagestringBack of the card. When set, a click or Enter flips the card over.
altstringAccessible description of the card.
preset'bursts' | 'stars' | 'shards' | 'cosmos' | 'rainbow' | 'swirl' | 'glitter' | 'gold'The holo pattern on the card face. Bursts are rings of foil dashes, shards are cracked ice, swirl is one big round rainbow and gold is a warm etched foil.
'bursts'foilColorstringColour of the metal under the print, silver by default.
'#e2e6ec'intensitynumberHow strongly the foil shows through the print, from 0 for plain card to 1.
0.85scalenumberSize of the holo pattern. Higher values pack in more, smaller elements.
edgeSparklenumberBrightness of the glitter on the silver border as it catches the light.
0.8framenumberWidth of the sparkling border as a percentage of the card width. Match it to your card art.
4glarenumberStrength of the glossy highlight under the light.
0.5tiltMaxnumberLargest tilt in degrees as the pointer moves.
14hoverScalenumberHow much the card lifts while hovered.
1.04radiusnumberCorner radius in px.
14widthnumberCard width in px. The height follows the image.
320idlebooleanDrifts the light and tilt slowly when nobody is hovering, so the foil keeps shimmering.
shadowbooleanSoft shadow under the card that follows the tilt.
Extra class names for the root element.
Inline styles for the root element.



