Avatar
An image element with a fallback for representing the user.
Requires JS
This component requires the avatar
stimulus controller.
Anatomy
Avatar do |a|a.imagea.fallbackend
API Reference
Avatar
Name | Type | |
---|---|---|
attributes | keyword arguments |
Avatar#image
Name | Type | |
---|---|---|
attributes | keyword arguments |
Avatar#fallback
Name | Type | |
---|---|---|
attributes | keyword arguments |
Examples
On This Page