ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β π shadcn/directory/adityakishore0/scrollx-ui/components/profilecard β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
<ComponentPreview name="profilecard-demo" description="Animated reusable profile card component" />
<Step>Install the following dependencies:</Step> <DepsOptions name="framer-motion" />
<Step>Copy and paste the following code into your project.</Step>
<p> <code>profilecard.tsx</code> </p> <ComponentSource name="profilecard" /> </Steps> </TabsContent> </Tabs>import ProfileCard from "@/components/ui/profilecard";
<ProfileCard
spotlight
spotlightColor="99,102,241"
img="https://github.com/Adityakishore0.png"
name="Ahdeetai"
bio="Creator of ScrolIX UI, a modern component library built for speed and scalability."
skills={skills}
socialLinks={socialLinks}
position="Senior Software Engineer"
/>
The ProfileCard component is used to create an interactive profile card with user image, name, role, bio, skills, and social links.
<PropsTable rows={[ { prop: "img", type: "string", default: "required", description: "Profile image URL or path." }, { prop: "name", type: "string", default: "required", description: "Userβs full name." }, { prop: "position", type: "string", default: "required", description: "Job title or role." }, { prop: "bio", type: "string", default: "required", description: "Short user bio or description." }, { prop: "skills", type: "Skill[]", default: "required", description: "Array of skills with name and icon." }, { prop: "socialLinks", type: "SocialLink[]", default: "[]", description: "Array of social links with name, url, and icon." }, { prop: "spotlight", type: "boolean", default: "false", description: "Enables interactive spotlight hover effect." }, { prop: "spotlightColor", type: "string", default: ""14, 165, 233"", description: "RGB color used for the spotlight glow." } ]} />
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ