Ruixen Pro is now live.50+ premium components, templates, blocks, and lifetime updates.

Command Palette

Search for a command to run...

Docs
Profile Card

Profile Card

A glassmorphic profile card with two variants — full-bleed image overlay and split half layout. Includes follow button, favorite toggle, and verified badge.

Installation

Usage

import { ProfileCard } from "@/components/ruixen/profile-card";
 
export default function App() {
  return (
    <ProfileCard
      variant="full"
      image="/photo.jpg"
      name="Mia Tanaka"
      bio="Visual storyteller blending minimalism with bold aesthetics."
      followers={1847}
      posts={124}
    />
  );
}

Props

PropTypeDefaultDescription
variant"full" | "half"-Card layout variant (required)
imagestring-Profile image URL (required)
namestring-Display name (required)
biostring-Short bio or description (required)
followersnumber-Follower count (required)
postsnumber-Post count (required)
verifiedbooleantrueShow verified badge
onFollow() => void-Callback when follow button is clicked
onFavorite(favorited: boolean) => void-Callback when favorite is toggled
classNamestring-Additional CSS classes for the outer shell

Variants

Full

Full-bleed image with a water-glass blur overlay at the bottom. Name, bio, stats, and follow button sit on top of the image with a frosted backdrop. Best for hero-style profile displays.

Half

Split layout with the image taking ~67% and a clean content area below. Uses theme-aware colors for text and borders. Better suited for lists, grids, or dashboard contexts.

Features

  • Glassmorphic Blur: Full variant uses a gradient mask with backdrop-filter: blur(64px) saturate(1.8) for a water-glass effect
  • Favorite Toggle: Heart icon with press-scale feedback and rose color fill state
  • Verified Badge: Twitter-style blue checkmark with white stroke
  • Hover Zoom: Subtle 3% image scale on card hover with 500ms ease-out
  • Press Feedback: Follow and favorite buttons use scale(0.96) / scale(0.92) active states
  • Dark Mode: Half variant fully adapts with dark: tokens for background, text, and borders
  • Rounded Shell: 40px outer radius with 28px inner content radius for a soft, modern feel