Component Docs
Img コンポーネント
画像コンテナの基本スタイル。すべての画像要素の親要素に適用します。
.img-base
バリアント
Border

.img-border
ボーダーを適用した画像スタイル。画像に枠線を追加します。
Border Double

.img-border-double
二重ボーダーを適用した画像スタイル。特別感を出したい画像に使用します。
Caption

.img-caption
画像の下部にキャプションを表示するスタイル。figcaption要素と組み合わせて使用します。
Caption Hover

.img-caption-hover
ホバー時にのみキャプションを表示するスタイル。ユーザーが画像にマウスを乗せた時に追加情報を表示します。
Caption Overlay

.img-caption-overlay
画像の上にキャプションをオーバーレイ表示するスタイル。画像の視認性を維持しながら説明を追加します。
使用例

<figure class="img-base img-border theme-neutral">
<img src="/images/sample-girl.png" width=250 height=250 alt="ボーダー付き画像" />
</figure>

<figure class="img-base img-border-double theme-primary">
<img src="/images/sample-girl.png" width=250 height=250 alt="二重ボーダー画像" />
</figure>

<figure class="img-base img-caption theme-neutral"><img src="/images/sample-girl.png" width=250 height=250 alt="画像説明" /><figcaption>画像のキャプション</figcaption></figure>

<figure class="img-base img-caption-overlay theme-neutral">
<img src="/images/sample-girl.png" width=250 height=250 alt="画像説明" />
<figcaption>オーバーレイキャプション</figcaption>
</figure>

<figure class="img-base img-caption-hover theme-neutral">
<img src="/images/sample-girl.png" width=250 height=250 alt="画像説明" />
<figcaption>ホバー時に表示されるキャプション</figcaption>
</figure>

<figure class="img-base theme-neutral">
<img src="/images/sample-girl.png" width=250 height=250 alt="説明" />
</figure>