Envisioning LogoEnvisioning App (1.0.3)
Blocks

CardItemBlock

CardItemBlock

CardItemBlock

CardItemBlock

Object containing the following properties:

PropertyDescriptionTypeDefault
block (*)must be CardItemBlock'CardItemBlock'
idstring'CardItemBlock'
objectIdstring
mainLabel (*)The main label of the card itemstring
extraLabelThe extra label of the card itemRecord<string, string> | string
imageUrl (*)The image URL of the card itemstring
sizeThe size of the card item'xl' | 'lg' | 'md' | 'sm'
formatThe card format'banner' | 'square' | 'horizontal' | 'vertical' | 'responsive' | 'custom'
toNavigation target for the card itemObject with properties:
  • page (*): string
schemaKeySchema key for filtering/highlighting logicstring
showFavoriteWhether to show the favorite buttonboolean
contentBlocksArray of blocks to render in the children slotArray<string>
footerBlocksArray of blocks to render in the footer slotArray<string>
mainLabelSizeThe size of the main label'lg' | 'md' | 'sm' | 'xs'
extraLabelSizeThe size of the extra label'mn' | 'xm'
variantThe variant of the item title'default' | 'labelTop' | 'labelBottom'
mainLabelColorMain label text color'context' | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'background' | 'background-plus' | 'background-dimmed' | 'background-disabled' | 'border' | 'foreground' | 'disabled' | 'dimmed' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | ... | never
extraLabelColorExtra label text color'context' | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'background' | 'background-plus' | 'background-dimmed' | 'background-disabled' | 'border' | 'foreground' | 'disabled' | 'dimmed' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | ... | never
imageColorImage color'context' | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'background' | 'background-plus' | 'background-dimmed' | 'background-disabled' | 'border' | 'foreground' | 'disabled' | 'dimmed' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | ... | never
bgColorBackground color'context' | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'background' | 'background-plus' | 'background-dimmed' | 'background-disabled' | 'border' | 'foreground' | 'disabled' | 'dimmed' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | ... | never

(*) Required.

On this page