Unlock faster development with Fidely UI Pro components Coming soon

Profile

Low-level building blocks for constructing identity layouts with avatar, name, title and custom content.

JC

Justice Chimobi

Frontend Engineer

Usage

import { Avatar, Profile } from '@fidely-ui/react'
<Profile.Root>
  <Profile.AvatarWrapper>
    <Avatar.Root>
      <Avatar.Fallback />
      <Avatar.Image />
    </Avatar.Root>
  </Profile.AvatarWrapper>

  <Profile.Details>
    <Profile.Name />
    <Profile.Title />
  </Profile.Details>
</Profile.Root>

Horizontal Layout

Use the default layout to display the avatar beside the text.

LG

Leanne Graham

harness real-time e-markets

Vertical Layout

Use the orientation="vertical" prop to stack the avatar above the text.

LG

Leanne Graham

harness real-time e-markets

Custom Sizes

Adjust the avatar, name and title size using the size prop.

LG

Leanne Graham

harness real-time e-markets

Props

PropTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Defines the layout direction of the Profile component.