IColProps
interface
Layout
Props for OrigamCol — a responsive grid column that accepts breakpoint spans (cols/sm/md/lg/xl/xxl), column offsets, order, color and spacing.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- colsTCols
- Column span for all breakpoints (1–12 or "auto").
- smTCols
- Column span applied at the sm breakpoint and above.
- mdTCols
- Column span applied at the md breakpoint and above.
- lgTCols
- Column span applied at the lg breakpoint and above.
- xlTCols
- Column span applied at the xl breakpoint and above.
- xxlTCols
- Column span applied at the xxl breakpoint and above.
- offsetOmit<TCols, '12'>
- Column offset for all breakpoints (1–11 or "auto").
- offsetSmOmit<TCols, '12'>
- Column offset applied at the sm breakpoint and above.
- offsetMdOmit<TCols, '12'>
- Column offset applied at the md breakpoint and above.
- offsetLgOmit<TCols, '12'>
- Column offset applied at the lg breakpoint and above.
- offsetXlOmit<TCols, '12'>
- Column offset applied at the xl breakpoint and above.
- offsetXxlOmit<TCols, '12'>
- Column offset applied at the xxl breakpoint and above.
- ordernumber
- CSS order for all breakpoints.
- orderSmnumber
- CSS order applied at the sm breakpoint and above.
- orderMdnumber
- CSS order applied at the md breakpoint and above.
- orderLgnumber
- CSS order applied at the lg breakpoint and above.
- orderXlnumber
- CSS order applied at the xl breakpoint and above.
- orderXxlnumber
- CSS order applied at the xxl breakpoint and above.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Responsive column with breakpoint spans