Skip to main content

Examples

Default

Without Action

Subscribed

Without Avatar

Wide

Props

CreatorCard

A card suggesting a creator, with a banner image, an optional Pill, the creator’s avatar, name and tagline, free-form content such as a price, and an optional action. The card has no fixed width or corner radius: set both through className (e.g. className="w-40 rounded-md"). The banner keeps a 10:11 ratio at any width.
ReactNode
required
Decorative banner media rendered at the top of the card.
ReactNode
required
Creator display name, shown next to the avatar when there is one.
ReactNode
Action element rendered full-width at the bottom of the card (e.g. a Button with fullWidth for subscribing to the creator).
Omit<AvatarProps & RefAttributes<HTMLSpanElement>, "ref">
Props forwarded to the inner Avatar. Omit to hide the avatar, so the name and tagline align with the card’s left edge.
ReactNode
Optional content shown under the creator details (e.g. the subscription price). It wraps by default; pass a truncate element to keep it on one line.
PillProps
Props forwarded to a Pill overlaid on the top-left of the banner. Pass the label as children. Omit to hide the pill.
ReactNode
Optional secondary line shown under the name (e.g. post count).
boolean
default:"false"
When true, renders a verified badge after the name.
string
default:"Verified"
Accessible label for the verified badge.

Exported types

Also exported from @fanvue/ui: CreatorCardProps.
Setup: Installation · Theming