IGridItemProps
interface
Layout & Sizing
Props for OrigamGridItem — controls CSS Grid placement via column, row and area (object or shorthand string syntax), plus per-item alignSelf and justifySelf overrides.
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.
- columnIGridLineSpec | string | number
- Inline-axis placement (grid-column). Pass an object { start, end } / { start, span } or a CSS string like "1 / 5".
- rowIGridLineSpec | string | number
- Block-axis placement (grid-row). Same accepted shapes as column.
- areastring
- grid-area name. When set, overrides column and row.
- alignSelfTGridPlaceSelf
- Per-item align-self override.
- justifySelfTGridPlaceSelf
- Per-item justify-self override.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Placing an item across columns with object syntax