Skip to main content
Version: 1.0.3

Profile Page

A complete profile management component with editing capabilities, avatar upload, social links management, and multiple customization options. Perfect for user profile pages, settings sections, or any user management interface.

Profile Settings
Alex Thompson

Alex Thompson

Senior Product Designer

alex.thompson@example.com

San Francisco, CA

Basic Information

Display Name

Alex Thompson

Email Address

alex.thompson@example.com

Job Title

Senior Product Designer

Location

San Francisco, CA

Website

https://alexthompson.design

Phone

+1 (555) 123-4567

About Me

Product designer with 8+ years of experience creating digital experiences. Passionate about user-centered design and building products that make a difference. Currently leading design at InnovateTech.

Connect

Installation

ignix add component profile

Usage

import { ProfilePage } from '@ignix-ui/profile';

function UserProfile() {
const handleSave = async (data, avatarFile) => {
// Implement save logic
console.log('Saving profile:', data);
};

return (
<ProfilePage
onSave={handleSave}
avatarShape="circle"
variant="default"
/>
);
}

Features

  • Avatar Management: Upload and preview avatar images with multiple shapes.
  • Editable Fields: Toggle between view and edit modes for all profile information.
  • Social Links: Add, edit, and remove social media links with detection.
  • Multiple Variants: Light, dark, gradient, glass, and card variants.
  • Responsive Design: Works seamlessly across all screen sizes.

Props

PropTypeDefaultDescription
headerTitlestring"Profile Settings"Header title.
headerIconReact.ReactNode<User />Header icon.
initialProfileDataPartial<ProfileData>{}Initial profile data.
onSavefunction-Callback on save.
onCancelfunction-Callback on cancel.
variant"default" | "gradient" | "card" | "glass" | "dark""default"Background variant.
animationVariantstring"fadeUp"Page animation.
avatarShapestring"circle"Shape of the avatar.
avatarSizestring"3xl"Size of the avatar.
inputVariantstring"clean"Input variant.
buttonVariantstring"default"Button variant.
editButtonLabelstring"Edit Profile"Label for edit button.
showSaveNotificationbooleantrueShow notification on save.
darkModebooleanfalseEnable dark mode.