Skip to content

Border Box 5

dvk-border-box-5 renders a layered electric-blue HUD frame adapted from the provided 1672 x 941 vector SVG material. It preserves the five visible frame layers as inline SVG paths while leaving the background to the host application.

Border Box 5

layered electric-blue HUD frame with responsive chart content

LIVE
Requests2.84M+18.6%
Latency38ms-9.2%
Uptime99.98%+0.3%
html
<dvk-border-box-5 colors="#24d9ff,#008cff,#bffcff" glow-intensity="1">
  <section>Border Box 5</section>
</dvk-border-box-5>

Free Border

dvk-border-box-5 behaves like a decorative border: the host box can be content-sized, fixed-size, percentage-sized, or responsive. The frame keeps the corner regions fixed and repeats the source SVG middle strips horizontally and vertically, so the border grows without stretching the original linework.

html
<dvk-border-box-5 colors="#24d9ff,#008cff,#bffcff">
  <section>
    <h3>Free border panel</h3>
    <p>The border adapts to the content box.</p>
  </section>
</dvk-border-box-5>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary cyan stroke and electric body color.
secondary-colorstringCSS variable fallbackSecondary blue halo and outer aura color.
accent-colorstringCSS variable fallbackWhite-hot highlight color used by the brightest core layer.
colorsstringemptyComma-separated primary, secondary, and accent colors.
glow-intensitynumber1Multiplier for SVG blur filters that create the layered 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-5-paddingComponent-specific override for automatic content inset.
--dvk-border-box-5-glow-opacityStatic glow layer opacity.

Parts

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