Skip to content

Loading Energy

dvk-loading-energy renders a compact enterprise loading indicator: a quiet status panel contains a live status dot and three horizontal data lanes, with subtle progress motion that fits dashboards, cards, dialogs, and table empty states.

Processing data
html
<dvk-loading-energy>Processing data</dvk-loading-energy>

Props

NameTypeDefaultNotes
colorstringemptyStatus light, lane marker, and progress highlight color. Falls back to --dvk-color-primary and then #1677ff.
secondary-colorstringemptyPanel frame, header line, divider, and track color. Falls back to --dvk-color-secondary and then #8a99ad.
colorsstringemptyComma-separated status and panel colors.
sizenumber72Rendered SVG size in CSS pixels.
stroke-widthnumber2Panel frame and internal rule stroke width in SVG units.
durnumber1.9Progress cycle duration in seconds. Lane and status-dot motion derive from this value.
animatedbooleantrueEnables lane progress and status-dot animation.
pausedbooleanfalseStops animation while keeping the static status panel visible.

Events

NameDetail
dvk-ready{ tagName }

Slots

NameDescription
defaultLoading status text rendered below the status panel.

CSS Variables

NameMeaning
--dvk-loading-energy-sizeSVG display size. The size attribute sets this inline.
--dvk-loading-energy-gapGap between status panel and status text.
--dvk-loading-energy-tip-colorStatus text color.
--dvk-loading-energy-tip-font-sizeStatus text font size.
--dvk-loading-energy-tip-line-heightStatus text line height.

Parts

PartDescription
rootLoading layout wrapper.
graphicSVG graphic.
panelSoft filled status panel surface.
frameOuter panel frame.
header-lineShort rule in the panel header.
dividerDivider between header and data lanes.
status-dotAnimated status indicator.
data-laneShared group for each horizontal data lane.
lane-markerSmall marker at the start of each lane.
lane-trackStatic data lane track.
lane-progressMoving progress highlight inside each lane.
tipStatus text wrapper.