CARD_TYPE

enum
Data Display

TypeScript enum for the layout type of a Card inside a collection (grid, list).

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

CARD_TYPE.GRID
Grid layout — card rendered in a multi-column grid with equal-height tiles.
CARD_TYPE.LIST
List layout — card rendered in a single-column list with horizontal content flow.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript