Avatar
Basic
Sizes
Variants
Groups




Div(
*(Div(
Div(Img(src='...'), cls='w-12'),
cls='avatar'
) for _ in range(4)),
cls='avatar-group -space-x-6 rtl:space-x-reverse'
)
Auto-import documentation coming soon...
Indicators
Placeholders
D
AI
SY
UI
Div(
Div(
Span('D', cls='text-3xl'),
cls='bg-neutral text-neutral-content w-24 rounded-full'
),
cls='avatar avatar-placeholder'
)
Div(
Div(
Span('AI', cls='text-xl'),
cls='bg-neutral text-neutral-content w-16 rounded-full'
),
cls='avatar avatar-online avatar-placeholder'
)
Div(
Div(
Span('SY'),
cls='bg-neutral text-neutral-content w-12 rounded-full'
),
cls='avatar avatar-placeholder'
)
Div(
Div(
Span('UI', cls='text-xs'),
cls='bg-neutral text-neutral-content w-8 rounded-full'
),
cls='avatar avatar-placeholder'
)
Auto-import documentation coming soon...
Class Reference
Class | Type | Description |
---|---|---|
avatar | Component | Base container for avatar |
avatar-group | Component | Container for multiple avatars |
avatar-online | Modifier | Active presence indicator |
avatar-offline | Modifier | Inactive presence indicator |
avatar-placeholder | Modifier | Enables placeholder styling |
Do you have a question? ask the community
Do you see a bug? open an issue on GitHub
LLMs Context: Full Markdown | This Component