--- templateEngineOverride: njk layout: layouts/page.njk title: Avatar description: An image element with a fallback for representing the user. toc: - label: Usage id: usage --- {% from "macros/code_preview.njk" import code_preview %} {% from "macros/code_block.njk" import code_block %}
Avatars are just <img> elements styled with Tailwind utility classes.
{% endset %}
{{ code_block(code_simple | prettyHtml, "html") }}