Skip to content

SimpleGrid

概要

SimpleGrid は等幅グリッドを手早く作るための軽量コンポーネントです。固定カラム数の指定だけでなく、minChildWidth による自動折り返しもサポートします。

Usage 使用例

基本

API Reference

SimpleGrid Props

PropsTypeDefaultDescription
columnsnumber固定のカラム数を指定します
minChildWidthstringrepeat(auto-fit, minmax(...)) を使ったレスポンシブ列幅です
gapstring | number行列共通の間隔です
rowGapstring | number行間を指定します
columnGapstring | number列間を指定します
asstring"div"描画要素を切り替えます
classstring追加クラスです
styleRecord<string, string> | stringインラインスタイルです

Mithril UI Kit Documentation