BetaPublic beta — Read the release notes
Documentation

Grid

CSS Grid layout primitive with responsive columns and gap.

Package
@solidiom/grid
Version
0.6.0
Status
experimental

Generated from the package's public source.

API

GridItemPropsinterface

Props

area?
string
class?
string
colSpan?
number
column?
string | number
row?
string | number
rowSpan?
number
style?
string | CSSProperties

children: Element

View source

GridRootPropsinterface

Props

align?
"start" | "center" | "end" | "stretch"
areas?
string
class?
string
columnGap?
string | number
columns?
string | number
gap?
string | number
inline?
boolean
justify?
"start" | "center" | "end" | "stretch"
rowGap?
string | number
rows?
string | number
style?
string | CSSProperties

children: Element

View source

Itemcomponent

                        Item(props: GridItemProps): Element
                      

Props

area?
string
class?
string
colSpan?
number
column?
string | number
row?
string | number
rowSpan?
number
style?
string | CSSProperties

children: Element

View source

Rootcomponent

                        Root(props: GridRootProps): Element
                      

Props

align?
"start" | "center" | "end" | "stretch"
areas?
string
class?
string
columnGap?
string | number
columns?
string | number
gap?
string | number
inline?
boolean
justify?
"start" | "center" | "end" | "stretch"
rowGap?
string | number
rows?
string | number
style?
string | CSSProperties

children: Element

View source