Grid
CSS Grid layout primitive with responsive columns and gap.
Generated from the package's public source.
API
GridItemPropsinterface
Props
area?stringclass?stringcolSpan?numbercolumn?string | numberrow?string | numberrowSpan?numberstyle?string | CSSProperties
children: Element
GridRootPropsinterface
Props
align?"start" | "center" | "end" | "stretch"areas?stringclass?stringcolumnGap?string | numbercolumns?string | numbergap?string | numberinline?booleanjustify?"start" | "center" | "end" | "stretch"rowGap?string | numberrows?string | numberstyle?string | CSSProperties
children: Element
Itemcomponent
Item(props: GridItemProps): Element
Props
area?stringclass?stringcolSpan?numbercolumn?string | numberrow?string | numberrowSpan?numberstyle?string | CSSProperties
children: Element
Rootcomponent
Root(props: GridRootProps): Element
Props
align?"start" | "center" | "end" | "stretch"areas?stringclass?stringcolumnGap?string | numbercolumns?string | numbergap?string | numberinline?booleanjustify?"start" | "center" | "end" | "stretch"rowGap?string | numberrows?string | numberstyle?string | CSSProperties
children: Element