• Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller
jsx daisyUI

    No recently viewed docs

  • Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller

© 2026 jsx-daisyui. All rights reserved. | Built with DaisyUI and React.

Avatar

Avatar is used to display a user profile picture or a placeholder.

Installation
npx jsx-daisyui add avatar

Default

avatar-default
User avatar

Placeholder

avatar-placeholder
JD
AB
XY

Sizes

avatar-sizes

Shapes

avatar-shapes

Status

avatar-status

Group

avatar-group

Props

Avatar

PropTypeDefaultDescription
srcstring-URL of the avatar image.
altstring-Alt text for the image.
size'xs' | 'sm' | 'md' | 'lg' | 'xl''md'The size of the avatar.
shape'square' | 'rounded' | 'circle' | 'heart' | 'squircle' | 'hexagon''circle'The shape of the avatar.
status'online' | 'offline'-Adds a status indicator.
placeholderboolean-Applies placeholder styling if no image is used.
ringboolean-Adds a decorative ring around the avatar.

Avatar.Counter

PropTypeDefaultDescription
countnumber-The number to display (e.g. +99).
size'xs' | 'sm' | 'md' | 'lg' | 'xl'-The size of the counter avatar.
shape'square' | 'rounded' | 'circle' | 'heart' | 'squircle' | 'hexagon'-The shape of the counter avatar.
+5