Skip to content

Component gallery

  1. Primitives
  2. Avatars

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Display

ThemeT
Mode
Mode
M
Style
Style
Y
Spacing
Spacing
Radius
Radius
Font size
Font size
Compare
Compare
Effects
S

ShortcutsAlt+Shift+key

Components

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Primitives · 5 of 16

Avatars

Initials stand in when there is no image.

packages/ui/src/astro/ui/avatar.astro8 stories

Preview settings
Width
Preview width
Stage
Stage
lg
Props of lg
<Avatar src={image("/_astro/greg.B9OwiVM9.jpg")} alt="Greg Heffley" size="lg" />
Open avatar/lg on its own
GH
default
Props of default
<Avatar src={image("/_astro/greg.B9OwiVM9.jpg")} alt="Greg Heffley" size="default" />
Open avatar/default on its own
GH
sm
Props of sm
<Avatar src={image("/_astro/greg.B9OwiVM9.jpg")} alt="Greg Heffley" size="sm" />
Open avatar/sm on its own
GH
initials-lg
Props of initials-lg
<Avatar alt="Greg Heffley" size="lg" />
Open avatar/initials-lg on its own
GH
initials-default
Props of initials-default
<Avatar alt="Greg Heffley" size="default" />
Open avatar/initials-default on its own
GH
initials-sm
Props of initials-sm
<Avatar alt="Greg Heffley" size="sm" />
Open avatar/initials-sm on its own
GH
initials-single-word
Props of initials-single-word
<Avatar alt="Greg" />
Open avatar/initials-single-word on its own
G
initials-long-name
Props of initials-long-name
<Avatar alt="Gregory Hamilton Heffley" />
Open avatar/initials-long-name on its own
GH
PreviousStatusNextAlerts