Skip to content

Properties

PropertyTypeDescription
variantstring(optional) Defines the semantic purpose and subsequently the style of the visual helper. Will take precedence over the style_type property.
breakoutboolean(optional) Use true to enable a fullscreen breakout look. Supports also media query breakpoints like { small: boolean }. Defaults to true.
outsetboolean(optional) Define if the Card should break out negatively on larger screens. You can not use breakout and outset together. Defaults to false.
outlinestring(optional) Define a custom border color. If true is given, color-black-8 is used. Use a Eufemia color. Supports also media query breakpoints like { small: 'black-8' }.
roundedCornerboolean(optional) Use true to enable rounded corners (border-radius). Supports also media query breakpoints like { small: boolean }. Defaults to false.
backgroundColorstring(optional) Define a custom background color, instead of a variant. Use a Eufemia color. Supports also media query breakpoints like { small: 'white' }.
dropShadowboolean(optional) Use true to show the default Eufemia DropShadow. Supports also media query breakpoints like { small: true }.
textColorstring(optional) Define a custom text color to compliment the backgroundColor. Use a Eufemia color. Supports also media query breakpoints like { small: 'black-80' }.
innerSpacestring(optional) Will add a padding around the content. Supports also media query breakpoints like {small: { top: 'medium' }}.
innerRefReact.Ref(optional) By providing a React Ref we can get the internally used element (DOM). E.g. inner_ref={myRef} by using React.createRef() or React.useRef().
Spacestring
object
(optional) Spacing properties like top or bottom are supported.

Variants

VariantDescription
infoNeutral, informational.
errorIndicates an erroneous state.
warningDraws attention to a potential problem that may or may not require an action on the user's part.
successIndicates a successful state.

Styles

You can easily customize the color.

StyleDescription
whiteuses --color-white.
divideruses --color-white as background with a border-line on top and bottom.
transparentCSS transparent. Used in situations where a Section is of interest, but without a color as a basis.
mint-green-12(default) uses --color-mint-green-12.
mint-greenuses --color-mint-green.
lavenderuses --color-lavender.
sand-yellowuses --color-sand-yellow.
pistachiouses --color-pistachio.
black-3uses --color-black-3.
emerald-greenuses --color-emerald-green.
fire-reduses --color-fire-red. Is used by GlobalStatus