Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Avatar

A picture, or a few letters, standing for someone — cropped to a shape. `.avatar` is the frame; its one child, an image or a span of initials, fills it.

ClassEffectType
.avatar
A picture, or a few letters, standing for someone — cropped to a shape. `.avatar` is the frame; its one child, an image or a span of initials, fills it. root
.avatar-primary.avatar-neutral.avatar-info.avatar-success.avatar-warning.avatar-error
Sets color, one class per value. axis color
.avatar-square
A box with the family’s box radius instead of a circle. axis shape
.avatar-xs.avatar-sm.avatar-md.avatar-lg.avatar-xl
Sets size, one class per value. axis size