Yamada UIにスターをあげる

スター
Yamada UIYamada UIv1.7.2

Grid

Gridは、グリッドレイアウトを管理するためのコンポーネントです。また、便利なスタイルのショートハンドが用意されています。

ソース@yamada-ui/layouts

Props

GridProps

area

説明

The CSS grid-area property.

タイプ

UIValue<GridArea>

autoColumns

説明

The CSS grid-auto-columns property.

タイプ

UIValue<number | "px" | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {}) | "0.5" | ... 63 more ... | "min">

autoFlow

説明

The CSS grid-auto-flow property.

タイプ

UIValue<GridAutoFlow>

autoRows

説明

The CSS grid-auto-rows property.

タイプ

UIValue<number | "px" | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {}) | "0.5" | ... 63 more ... | "min">

column

説明

The CSS grid-column property.

タイプ

UIValue<GridColumn>

row

説明

The CSS grid-row property.

タイプ

UIValue<GridRow>

templateAreas

説明

The CSS grid-template-areas property.

タイプ

UIValue<GridTemplateAreas>

templateColumns

説明

The CSS grid-template-columns property.

タイプ

UIValue<number | "px" | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {}) | "0.5" | ... 65 more ... | "subgrid">

templateRows

説明

The CSS grid-template-rows property.

タイプ

UIValue<number | "px" | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {}) | "0.5" | ... 65 more ... | "subgrid">

GridItemProps

area

説明

The CSS grid-area property.

タイプ

UIValue<GridArea>

colEnd

説明

The CSS grid-column-end property.

タイプ

UIValue<GridColumnEnd>

colSpan

説明

The number of columns the grid item should span.

タイプ

UIValue<number>

colStart

説明

The CSS grid-column-start property.

タイプ

UIValue<GridColumnStart>

rowEnd

説明

The CSS grid-row-end property.

タイプ

UIValue<GridRowEnd>

rowSpan

説明

The number of rows the grid item should span.

タイプ

UIValue<number>

rowStart

説明

The CSS grid-row-start property.

タイプ

UIValue<GridRowStart>

GitHubでこのページを編集する

CenterSimpleGrid