Toggle Sidebar B
AppearanceLight & dark mode D

Profile Card

Animated profile card glare with 3D hover effect.

Default

Move the pointer over the card to tilt it and sweep the holographic glare. The toggles underneath switch the glow, icon pattern and user info.

Light previewReplay previewOpen in new tab
Javi A. Torres avatar

Javi A. Torres

Software Engineer

Customize

API Reference

ProfileCard

PropTypeDefaultDescription
avatarUrlstring"<Placeholder for avatar URL>"URL for the main avatar image displayed on the card.
iconUrlstring"<Placeholder for icon URL>"Optional URL for an icon pattern overlay on the card background.
grainUrlstring"<Placeholder for grain URL>"Optional URL for a grain texture overlay effect.
innerGradientstringundefinedCustom CSS gradient string for the inner card gradient.
behindGlowEnabledbooleantrueToggle the smooth radial glow that follows the cursor behind the card.
behindGlowColorstring"rgba(125, 190, 255, 0.67)"CSS color for the behind-the-card glow (e.g. rgba/hsla/hex).
behindGlowSizestring"50%"Size of the glow as a length/percentage stop in the radial gradient.
enableTiltbooleantrueEnable or disable the 3D tilt effect on mouse hover.
enableMobileTiltbooleanfalseEnable or disable the 3D tilt effect on mobile devices.
mobileTiltSensitivitynumber5Sensitivity of the 3D tilt effect on mobile devices.
miniAvatarUrlstringundefinedOptional URL for a smaller avatar in the user info section.
namestring"Javi A. Torres"User's display name.
titlestring"Software Engineer"User's job title or role.
handlestring"javicodes"User's handle or username (displayed with @ prefix).
statusstring"Online"User's current status.
contactTextstring"Contact"Text displayed on the contact button.
showUserInfobooleantrueWhether to display the user information section.

ProfileCard events

PropTypeDefaultDescription
contact-click() => void-Emitted when the contact button is clicked.

Accessibility

Keyboard shortcuts and ARIA behavior.

Shortcut Description
Tab + EnterFocuses the contact button and activates it.
  • The tilt and glare follow the pointer only; the card content stays readable without them.
  • Mobile tilt reads the device orientation and needs an https page plus a tap for permission.