Skip to content

Border Box 8

dvk-border-box-8 recreates DataV Vue3 BorderBox1 as a dynamic polygon panel with four fixed mirrored 150 x 150 animated corner ornaments.

Border Box 8

DataV BorderBox1-style animated corner panel

LIVE
Requests2.84M+18.6%
Latency38ms-9.2%
Uptime99.98%+0.3%
html
<dvk-border-box-8 colors="#235fa7,#4fd2dd" background-color="rgba(5, 18, 46, 0.32)">
  <section>Border Box 8</section>
</dvk-border-box-8>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary corner ornament color.
secondary-colorstringCSS variable fallbackSecondary corner ornament color.
background-colorstringtransparentPanel background fill color.
colorsstringemptyComma-separated primary and secondary colors. Use background-color for an optional panel fill.
animatedbooleantrueWhether corner fill animations are rendered.
pausedbooleanfalseDisables corner fill animations while keeping the static frame visible.

Events

NameDetail
dvk-ready{ tagName }

CSS Variables

NameMeaning
--dvk-color-primaryPrimary corner color fallback.
--dvk-color-secondarySecondary corner color fallback.
--dvk-border-box-8-backgroundPanel background fallback color.
--dvk-border-box-paddingShared override for automatic content inset across border boxes.
--dvk-border-box-8-paddingComponent-specific override for automatic content inset.

Parts

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