Skip to content

Decoration 8

dvk-decoration-8 is a futuristic rotating HUD energy ring for dark data-screen scenes. It renders non-overlapping long-short outer arcs, a thinner offset trace ring that crosses them only during parallax motion, precision tick marks, dotted micro indicators, a ring of neon square energy blocks, and a dark hollow center. A default slot sits above the SVG so the decoration can frame a compact metric, icon, or status label.

html
<dvk-decoration-8></dvk-decoration-8>
98SYNC
html
<dvk-decoration-8 colors="#52f0b5,#2b7cff" dur="4">
  <strong>98</strong>
</dvk-decoration-8>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary neon ring, tick, and energy block color. When set as a JavaScript property, a DataV-style color array is also accepted.
secondary-colorstringCSS variable fallbackSecondary arc, guide, and micro indicator color.
colorsstringemptyComma-separated primary and secondary colors.
durnumber5Rotation duration in seconds.
animatedbooleantrueEnables SVG rotation animations.
pausedbooleanfalseStops rotation animations while keeping the static geometry visible.

Events

NameDetail
dvk-ready{ tagName }

CSS Variables

NameMeaning
--dvk-color-primaryPrimary fallback color.
--dvk-color-secondarySecondary fallback color.

Parts

PartDescription
graphicInternal SVG.
backgroundDark radial HUD background wash.
haloSoft concentric glow guides.
ringShared part for segmented light arcs.
outer-ringWide rotating outer arc segments with irregular long-short pairing.
outer-traceThin offset outer trace segments placed between the wide arcs for parallax motion.
inner-ringNarrow counter-rotating inner arc segments.
outer-arcsGroup containing the outer rotating light bands.
outer-arc-bandGroup containing the wide outer arc band.
outer-arc-traceGroup containing the thinner offset outer trace band.
segmented-trackGroup containing the inner segmented track.
guide-ringShared part for the static dashed guide rings.
outer-guideOuter dashed guide ring.
inner-guideInner dashed guide ring.
core-guideDashed guide around the hollow core.
ticksGroup containing precision tick marks.
tickIndividual tick mark.
energy-blocksGroup containing the rotating square energy blocks.
energy-blockIndividual neon square energy block.
micro-lightsGroup containing dotted micro indicators.
micro-lightIndividual micro indicator.
coreDark hollow center and core rim.
contentCentered slot content wrapper.