Skip to content

Border Box 4

dvk-border-box-4 renders a dense neon HUD frame adapted from the provided 1672 x 941 vector SVG material. It keeps the original ornate corners and detail modules as inline SVG linework, then extends the edge sections from source-clipped straight strips so the border follows normal CSS layout sizes without stretching the whole SVG.

Border Box 4

source-clipped HUD frame adapting around ECharts content

LIVE
Requests2.84M+18.6%
Latency38ms-9.2%
Uptime99.98%+0.3%
html
<dvk-border-box-4 colors="#36d9ff,#1ecfff,#c9fbff" glow-intensity="1">
  <section>Border Box 4</section>
</dvk-border-box-4>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary cyan line and glint color.
secondary-colorstringCSS variable fallbackSecondary glow and fine frame color.
accent-colorstringCSS variable fallbackHot highlight color used by nodes, strokes, and HUD ticks.
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-4-paddingComponent-specific override for automatic content inset.
--dvk-border-box-4-glow-opacityStatic glow layer opacity.

Parts

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