Toggle Sidebar B
AppearanceLight & dark mode D

Reflective Card

Card with dynamic webcam reflection and glare effects that respond to cursor movement.

Default

The card mirrors your webcam through a metallic SVG filter. Allow camera access to see the reflection; without it the card falls back to its plain dark surface. Every prop is wired to the controls underneath.

Light previewReplay previewOpen in new tab
SECURE ACCESS

Customize

Blur Strength12px
Metalness1
Roughness0.75
Warp Strength20
Warp Scale1
Glass Distortion30
Shininess5
Grayscale0.15

API Reference

ReflectiveCard

PropTypeDefaultDescription
blurStrengthnumber12The intensity of the blur effect (0-20px).
metalnessnumber1The opacity of the metallic sheen (0-1).
roughnessnumber0.4The opacity of the noise texture (0-1).
displacementStrengthnumber20Strength of the displacement (how much it warps).
noiseScalenumber1Scale of the noise texture (size of the ripples).
specularConstantnumber1.2Specular constant for the lighting (shininess).
grayscalenumber1Grayscale intensity (0-1).
glassDistortionnumber0Strength of the glass edge distortion.
colorstringwhiteThe base text color.
overlayColorstringrgba(255, 255, 255, 0.1)The color of the overlay tint.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The component asks the browser for camera access on mount. If the request is denied or no camera exists, the video stays empty and the card still renders.
  • The video is muted and decorative; the card text is regular content.
  • The camera stream is stopped when the component unmounts.