Componentdata0.8 KB gzipZero dependencies

Bio Card

Bio card with social link icons and follow action.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add bio-card

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { BioCard } from "@/components/ui/bio-card"; <BioCard />

Source code

bio-card.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxbio-card.tsx54 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface BioCardProps extends React.HTMLAttributes<HTMLDivElement> {  name: string;  initials: string;  bio?: string;  links?: { platform: string; href: string }[];  onFollow?: () => void;} /** Bio profile card: avatar + social links + follow button. */export function BioCard({ name, initials, bio, links = [], onFollow, className, ...props }: BioCardProps) {  const [following, setFollowing] = React.useState(false);   return (

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { BioCard } from "@/components/ui/bio-card"; <BioCard />
PropTypeDescription
namestringForm field name submitted during form serialization.
initialsstringConfigures initials.
biostringConfigures bio.
links{ platform: string; href: string }[]Configures links. (Default: [])
onFollow() => voidCallback invoked on follow.