TCardType
type
Data Display
Layout variant for a Card used inside a collection: grid (fixed-size tiles) or list (full-width rows).
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- grid
- Fixed-size tile layout — all cards have equal dimensions and are arranged in a CSS grid.
- list
- Full-width row layout — cards stack vertically and span the container width.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Card in grid vs list layout