Skip to content

Wrap

概要

Wrap は要素を自動で折り返しながら並べるレイアウトコンポーネントです。タグ一覧やメタ情報の集合など、横並びと改行の両方が必要な場面で使います。

Usage 使用例

基本

API Reference

Wrap Props

PropsTypeDefaultDescription
gapstring | number"8px"行列共通の間隔です
rowGapstring | number行間を指定します
columnGapstring | number列間を指定します
alignstringalign-items を指定します
justifystringjustify-content を指定します
asstring"div"描画要素を切り替えます
classstring追加クラスです
styleRecord<string, string> | stringインラインスタイルです

Mithril UI Kit Documentation