newOS for Developers

Back to Overview

UserCardExtended

output

Full profile card with stats, followers, following count, and recent moods preview. Extends UserCard with additional profile data.

Source Path
apps/web/Components/Model/user/UserCardExtended.tsx
Package

@newos/web

Props Interface

UserCardExtended: ({
  user: UserReadPrivateResponse;   // User data
  showStats?: boolean;             // Show follower/following counts
  showMoods?: boolean;             // Show recent moods preview
  showFollowButton?: boolean;      // Show follow button
  onFollow?: () => void;           // Follow callback
}) => JSX.Element

Key Features

Extended Stats

Displays followers, following, and posts count in a stat row.

Moods Preview

Shows thumbnails of user's recent moods when showMoods is true.

Full Bio

Unlike compact UserCard, shows full bio without truncation.

Related Components