1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-22 01:44:25 +04:00
Files
tabler/shared/includes/ui/avatar-list.html
2025-04-15 23:18:49 +02:00

12 lines
570 B
HTML

{% assign limit = include.limit | default: 5 %}
{% assign offset = include.offset | default: 0 %}
{% assign size = include['size'] | default: 'sm' %}
<div class="avatar-list{% if include.stacked %} avatar-list-stacked{% endif %}{% if include.class %} {{ include.class }}{% endif %}">
{% for person in people limit: limit offset: offset %}
{% include "ui/avatar.html" person=person size=size rounded=true %}
{% endfor %}
{% if include.text %}
{% include "ui/avatar.html" placeholder=include.text size=size rounded=true %}
{% endif %}
</div>