Hulian UIv0.93.5413 components0 components
  • Start
  • Components
  • Blocks
  • Pages
  • Demos
  • Changelog
ChineseEnglish
  • ComponentsComponents
  • ThemeTheme

Collections

  • QuestionCard
  • Table
  • Book3D
  • ProTable
  • PricingTable
  • JsonViewer
  • EditableTable
  • List
  • Descriptions
  • RowActions
  • Tree
  • Card
  • Carousel
  • Video
  • Audio
  • BentoGrid
  • Image
  • MagicCard
  • AnimatedList
  • Marquee
  • Sortable
  • Kanban
  • DesignCanvas
  • LayerTree
  • StageDraw
  • SlideDeck
  • PresenterView
  • ComponentPicker
  • EventStream
  • QueueLane
  • DocumentSheet
  • Novel reader
  • Scheduler
  • Org classroom
  • Danmaku
  • LiveChat
  • LivePlayer
  • LogViewer
  • FileTree
  • CodeReviewThread
  • VirtualList
  • InfiniteScroll
  • LogoLoop
  • BounceCards
  • CardSwap
  • ChromaGrid
  • CircularGallery
  • DomeGallery
  • FlyingPosters
  • InfiniteMenu
  • MagicBento
  • ScrollStack
  • ProfileCard
  • TiltedCard
  • PixelCard
  • DecayCard
  • ReflectiveCard
  • Folder

Charts and Diagrams

  • Flow
  • Diagram
  • Paper
  • SequenceDiagram
  • Sankey
  • Sparkline
  • Funnel
  • Treemap
  • Gantt
  • Heatmap
  • ContributionGraph
  • Legend
  • Chart
  • WorldMap

Information

  • ImageViewer
  • LiveProductCard
  • DiffStat
  • ScoreRing
  • ScoreScale
  • Badge
  • Dot
  • StatusDot
  • Chip
  • FilterChip
  • Coupon
  • Tag
  • Annotation
  • Avatar
  • AvatarCircles
  • User
  • QRCode
  • Comment
  • RelativeTime
  • GitCommit
  • DeployStatus
  • ShieldBadge
  • AwardBadge
  • CreditCard
  • IconTile

Metrics

  • Stat
  • Statistic
  • Meter
  • Timeline
  • NumberTicker

Placeholders

  • Empty
  • Skeleton
  • Watermark

ProfileCard

profile-card

Presents a holographic identity card with pointer tilt, glare, and an initials fallback.

Usage

Basic usage

When there is no avatar, the "initial" placeholder is dropped, and the pointer tilt + holographic gloss is turned on by default.

LY

Lin Yu

Independent Developer

LY
@linyuOnline
tsx
<ProfileCard name="Lin Yu" title="Independent developer" handle="linyu" />

Halo color

glowColor Feed chart token with --color- prefix, driving radial halo and edge brilliance.

SW

Su Wan

Product Designer

SW
@suwanBusy
tsx
<ProfileCard
  name="Su Wan"
  title="Product Designer"
  handle="suwan"
  status="Busy"
  glowColor="var(--color-chart-3)"
/>

Static card

enableTilt={false} Turn off tilt and pointer interaction, retaining the gradient and bottom information bar.

H

Hulian

Front-end Engineer

H
@hulianuiOnline
tsx
<ProfileCard
  name="Hulian"
  title="Front-end Engineer"
  handle="hulianui"
  enableTilt={false}
/>

Hide message bar

showUserInfo={false} Remove the frosted glass information bar at the bottom, leaving only the main title and avatar.

JT

Javi Torres

Software Engineer

tsx
<ProfileCard
  name="Javi Torres"
  title="Software Engineer"
  showUserInfo={false}
  glowColor="var(--color-chart-2)"
/>

When to use

Use ProfileCard for a polished personal or team profile with structured name, role, handle, status, and contact action. Use TiltedCard for a generic tilting image, or PixelCard for a pixel-animated card.

Import

ts
import { ProfileCard } from "@hulianui/ui"

Props

NameTypeDefaultDescription
avatarUrlstring-Avatar URL. Omission uses the first character of name without a remote asset.
namestring"\u745a\u740f"Main name; the built-in Chinese default means “Hulian.”
titlestring"\u524d\u7aef\u5de5\u7a0b\u5e08"Role; the built-in Chinese default means “Frontend engineer.”
handlestring"hulianui"User handle in the lower information bar.
statusstring"\u5728\u7ebf"Status; the built-in Chinese default means “Online.”
contactTextstring"\u8054\u7cfb"Contact action; the built-in Chinese default means “Contact.”
showUserInfobooleantrueShows the lower glass information bar.
enableTiltbooleantrueEnables pointer tilt and holographic sheen; reduced motion makes it static.
glowColorstringvar(--color-chart-1)Holographic highlight color. Use a real --color- token or any CSS color.
aspectRationumber0.74Card width-to-height ratio.
classNamestring-Class name forwarded to the root.
styleCSSProperties-Inline styles forwarded to the root.

Events

EventTypeDescription
onContactClick() => voidCalled when the contact button is selected.

Slots

SlotTypeDescription
childrenReactNodeCustom front-face content above the avatar and below the information bar.

Usage notes

  • [[hulian-token-color-var-needs-color-prefix]]: use var(--color-chart-1), not bare var(--chart-1) or var(--primary).
  • The RAF spring has no WebGL dependency. enableTilt={false} and reduced motion retain the gradient and profile information in a static card.
  • The avatar alt appends built-in Chinese " \u5934\u50cf" (“ avatar”) to name; the contact button label prepends "\u8054\u7cfb " (“Contact ”). These dynamic labels therefore remain Chinese unless the runtime is localized.

Related

Table · Book3D · ProTable · PricingTable · JsonViewer · EditableTable

Playground

LY

Lin Yu

Independent Developer

LY
@linyuOnline
<div className="grid min-h-[520px] place-items-center rounded-xl"
     style={{ background: "oklch(0.16 0.02 265)" }}>
  <ProfileCard
    name="Lin Yu"
    title="Independent Developer"
    handle="linyu"
    status="Online"
    enableTilt={true}
    glowColor="var(--color-chart-1)"
  />
</div>
PreviousScrollStackData DisplayNextTiltedCard

On this page

  • Usage
  • Documentation
    • When to use
    • Import
    • Props
    • Events
    • Slots
    • Usage notes
    • Related
  • Playground