Border Box 1
animated edge highlight around a live telemetry panel
LIVE
Requests2.84M+18.6%
Latency38ms-9.2%
Uptime99.98%+0.3%
dvk-border-box-1 is the first numbered border component. It renders a rectangular SVG border with a moving highlight around the edge.
animated edge highlight around a live telemetry panel
<dvk-border-box-1 colors="#235fa7,#4fd2dd" duration="3">
<section>Border Box 1</section>
</dvk-border-box-1>| Name | Type | Default | Notes |
|---|---|---|---|
color | string | CSS variable fallback | Primary border color. |
secondary-color | string | CSS variable fallback | Secondary highlight color. |
colors | string | empty | Comma-separated primary and secondary colors. |
reverse | boolean | false | Reverses the animated path direction. |
duration | number | 3 | Animation duration in seconds. |
animated | boolean | true | Enables the moving highlight. |
paused | boolean | false | Pauses the moving highlight while retaining the border. |
auto-height | boolean | false | Lets slotted content define the box height instead of stretching to a parent height. |
| Name | Detail |
|---|---|
dvk-ready | { tagName } |
| Name | Meaning |
|---|---|
--dvk-color-primary | Primary fallback color. |
--dvk-color-secondary | Secondary fallback color. |
--dvk-border-box-padding | Shared override for automatic content inset across border boxes. |
--dvk-border-box-1-padding | Component-specific override for automatic content inset. |
| Part | Description |
|---|---|
frame | Absolute frame layer. |
graphic | Internal SVG. |
content | Slotted content wrapper. |