Imageset

An imageset is used to group related pictures.
Example
Theme
Auto
Auto
Light
Dark
Scale
Medium
Large
Medium
Small
A placeholder image
A placeholder image
A placeholder image
<div class="ts-imageset is-3-images">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
Variations
Images

Specifying the number of images in a set, from is-1-images to is-4-images.

A placeholder image
A placeholder image
A placeholder image
A placeholder image
<div class="ts-imageset is-4-images">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
Portrait

Images can be arranged in a portrait layout.

A placeholder image
A placeholder image
A placeholder image
A placeholder image
<div class="ts-imageset is-4-images is-portrait">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
Rounded

An imageset can have its images with rounded corners.

A placeholder image
A placeholder image
A placeholder image
<div class="ts-imageset is-3-images is-rounded">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
Density

An imageset can adjust the gap between images.

A placeholder image
A placeholder image
A placeholder image
A placeholder image
A placeholder image
A placeholder image
A placeholder image
A placeholder image
A placeholder image
<div class="ts-imageset is-portrait is-3-images is-relaxed" style="max-width: 300px">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
<div class="ts-imageset is-portrait is-3-images" style="max-width: 300px">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
<div class="ts-imageset is-portrait is-3-images is-compact" style="max-width: 300px">
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
    <div class="item">
        <img src="image.png">
    </div>
</div>
Looking for similar components?
Designed by Yami Odymel from Taiwan, along with the ❤️ from contributors. The source code is licensed under MIT, and the documentation is under CC 0 public domain. Feel free to use, share, or contribute. Tocas UI is a design system for Caris Events, part of Sorae & Co., Ltd.
Translators: Yami Odymel
Trademark of the owner of Tocas UI