Skip to main content

Col

Col | Horizontal placement of content based on screen size. shadow

The Col (column) component is the basic building block of Grid and allows you to horizontally arrange content and adjust its layout based on the screen size. It is used by adding it inside the Row element.

Note

For more information on using Col, navigate to the system documentation Grid.

Attributes and Properties

offset

DescriptionThe number of columns by which the column should be shifted.
Attributeoffset
Typestring | undefined
Defaultundefined

offsetLg

DescriptionThe number of columns by which the column is to be shifted on screens of size lg.
Attributeoffset-lg
Typestring | undefined
Defaultundefined

offsetMd

DescriptionThe number of columns by which the column is to be shifted on screens of size md.
Attributeoffset-md
Typestring | undefined
Defaultundefined

offsetSm

DescriptionThe number of columns by which the column is to be shifted on screens of size sm.
Attributeoffset-sm
Typestring | undefined
Defaultundefined

offsetXl

DescriptionThe number of columns by which the column should be shifted on xl size screens.
Attributeoffset-xl
Typestring | undefined
Defaultundefined

offsetXs

DescriptionThe number of columns by which the column is to be shifted on screens of size xs.
Attributeoffset-xs
Typestring | undefined
Defaultundefined

offsetXs

DescriptionThe number of columns by which the column is to be shifted on screens of size xs.
Attributeoffset-xs
Typestring | undefined
Defaultundefined

order

DescriptionSets the column order in the row by adding the values 1 to 5, "first" and "last"
Attributeorder
Typestring | undefined
Defaultundefined

size

DescriptionSets the column size in terms of how many columns it should occupy out of the total number of available columns. If "auto" is specified, the column will be the size of its contents.
Attributesize
Typestring | undefined
Defaultundefined

sizeLg

DescriptionSets the column size on lg size screens in terms of how many columns it should occupy out of the total number of available columns. If "auto" is specified, the column will be the size of its contents.
Attributesize-lg
Typestring | undefined
Defaultundefined

sizeMd

DescriptionSets the column size on md size screens in terms of how many columns to take up out of the total number of available columns. If "auto" is specified, the column will be the size of its contents.
Attributesize-md
Typestring | undefined
Defaultundefined

sizeSm

DescriptionSets the column size on sm size screens in terms of how many columns to take up out of the total number of available columns. If "auto" is specified, the column will be the size of its contents.
Attributesize-sm
Typestring | undefined
Defaultundefined

sizeXl

DescriptionSets the column size on xl sized screens in terms of how many columns it should occupy out of the total number of available columns. If "auto" is specified, the column will be the size of its contents.
Attributesize-xl
Typestring | undefined
Defaultundefined

sizeXs

DescriptionSets the column size on xs sized screens in terms of how many columns it should occupy out of the total number of available columns. If "auto" is specified, the column will be the size of its contents.
Attributesize-xs
Typestring | undefined
Defaultundefined

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.