Skip to content

Border Box 7

dvk-border-box-7 recreates DataV BorderBox10 as a chamfered glowing panel. The main polygon is redrawn from the live host size, while the four source corner ornaments stay fixed and mirrored from the original 150 x 150 SVG module.

Border Box 7

chamfered glow panel with fixed mirrored corner ornaments

LIVE
Requests2.84M+18.6%
Latency38ms-9.2%
Uptime99.98%+0.3%
html
<dvk-border-box-7 colors="#235fa7,#4fd2dd">
  <section>Border Box 7</section>
</dvk-border-box-7>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary inset glow color.
secondary-colorstringCSS variable fallbackCorner ornament fill color.
background-colorstringtransparentPanel background fill color.
colorsstringemptyComma-separated primary and secondary colors. Use background-color for an optional panel fill.

Events

NameDetail
dvk-ready{ tagName }

CSS Variables

NameMeaning
--dvk-color-primaryPrimary glow fallback color.
--dvk-color-secondaryCorner fill fallback color.
--dvk-border-box-7-backgroundPanel background fallback color.
--dvk-border-box-paddingShared override for automatic content inset across border boxes.
--dvk-border-box-7-paddingComponent-specific override for automatic content inset.
--dvk-border-box-7-radiusHost border radius.

Parts

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