View Source Phoenix.UI.Components.Avatar (Phoenix UI v0.1.6)

Provides avatar component.

Link to this section Summary

Functions

Renders avatar component.

Link to this section Functions

Renders avatar component.

examples

Examples

```
<.avatar src={@src} />
```

attributes

Attributes

  • border (:boolean) - Defaults to false.
  • color (:string) - Defaults to "slate".
  • element (:string) - Defaults to "div".
  • extend_class (:string)
  • rest (:global)
  • size (:string) - Defaults to "md".
  • variant (:string) - Defaults to "circular".

slots

Slots

  • inner_block