Skip to content

Border Box 2

dvk-border-box-2 renders a layered neon cyber frame based on a 1600 x 900 SVG reference canvas. It keeps corners, center energy bars, side tick marks, and circular nodes fixed while stretching only clean line segments for free-size layouts.

Border Box 2

layered cyber frame with chart content and neon detail nodes

LIVE
Requests2.84M+18.6%
Latency38ms-9.2%
Uptime99.98%+0.3%
html
<dvk-border-box-2 colors="#0af2ff,#168cff,#7c4dff" glow-intensity="1">
  <section>Border Box 2</section>
</dvk-border-box-2>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary cyan line and detail color.
secondary-colorstringCSS variable fallbackSecondary blue frame color.
accent-colorstringCSS variable fallbackAccent highlight color used by gradient stops and purple detail blocks.
colorsstringemptyComma-separated primary, secondary, and accent colors.
glow-intensitynumber1Multiplier for SVG blur filters that create the neon glow.

Events

NameDetail
dvk-ready{ tagName }

CSS Variables

NameMeaning
--dvk-color-primaryPrimary fallback color.
--dvk-color-secondarySecondary fallback color.
--dvk-color-accentAccent fallback color.
--dvk-border-box-paddingShared override for automatic content inset across border boxes.
--dvk-border-box-2-paddingComponent-specific override for automatic content inset.
--dvk-border-box-2-glow-opacityStatic glow layer opacity.

Parts

PartDescription
frameAbsolute frame layer.
graphicInternal SVG.
contentSlotted content wrapper.