Skip to content

Loaders

Loaders indicate that the content meant for a given container is taking extra time to appear.

<certara-loader></certara-loader>

certara-loader

Properties

PropertyAttributeDescriptionTypeDefault
color1color-1Accepts a CSS variable (e.g. var(--certara-red)) or a valid CSS color value (name, hex, rgb, rgba, hsl, etc.)stringundefined
color2color-2Accepts a CSS variable (e.g. var(--certara-yellow)) or a valid CSS color value (name, hex, rgb, rgba, hsl, etc.)stringundefined
fullscreenfullscreenbooleanfalse
sizesizeUsed for variant="spinner" and accepts a value of 24px, 3rem, 128px, or any other valid CSS size value. The default sizing is inherited from the parent containerstringundefined
variantvariant"circle" | "hexagon" | "spinner"'circle'

Dependencies

Used by

Graph

graph TD;
certara-select --> certara-loader
style certara-loader fill:#f9f,stroke:#333,stroke-width:4px

<certara-skeleton-loader variant="circle"></certara-skeleton-loader>

certara-skeleton-loader

Properties

PropertyAttributeDescriptionTypeDefault
heightheightHeight can accept any valid CSS valuestringundefined
variantvariantChoose among the set of skeleton shapes available as variants"card" | "chart" | "circle" | "divider" | "headline" | "line" | "square" | "toolbar"undefined