Skip to content

Title 1

dvk-title-1 is a slim enterprise large-screen header banner for smart cockpit, industrial monitoring, data visualization, and digital twin systems. It is redesigned as one equal-height horizontal light panel: broad translucent surfaces keep the same visual height from center to both sides, with a slightly stronger panel thickness for presence, while only a few guiding rails and restrained accents keep the technology feel quiet and spacious.

html
<dvk-title-1 title-text="SMART COCKPIT"></dvk-title-1>
数字孪生监控平台
html
<dvk-title-1 colors="#76f6ff,#2f8cff,#8cecff">
  <span>数字孪生监控平台</span>
</dvk-title-1>
html
<dvk-title-1 colors="#b7f8ff,#4e9dff,#52f0b5" title-text="INDUSTRIAL OPS"></dvk-title-1>

Props

NameTypeDefaultNotes
colorstringCSS variable fallbackPrimary cyan color for the center surface, guiding rails, and soft title emphasis. When set as a JavaScript property, a DataV-style color array is also accepted.
secondary-colorstringCSS variable fallbackSecondary blue color for the side surfaces, rail gradients, and subtle background glow.
accent-colorstringCSS variable fallbackAccent color for the restrained center highlight and side surface accents.
colorsstringemptyComma-separated primary, secondary, and accent colors.
title-textstringemptyOptional centered system name. When omitted, the default slot is rendered inside the title area.

Events

NameDetail
dvk-ready{ tagName }

CSS Variables

NameMeaning
--dvk-color-primaryPrimary cyan fallback color.
--dvk-color-secondarySecondary blue fallback color.
--dvk-title-1-accentAccent fallback color for small highlights.
--dvk-title-1-title-widthTitle box width. When unset the box follows its own text. Wider than the centre panel, the text overlaps the side decoration.
--dvk-title-1-title-heightTitle content height.
--dvk-title-1-title-colorTitle text color.
--dvk-title-1-title-fontTitle font shorthand.
--dvk-title-1-title-glowSoft title text glow.
--dvk-title-1-title-glow-strongStrong title text glow.

Parts

PartDescription
graphicInternal SVG.
ambient-glowSoft blue glow behind the full header.
sideShared part for each symmetric side structure.
left-sideLeft mechanical side group.
right-sideMirrored right mechanical side group.
side-surfaceBroad translucent side extension plane.
railShared part for the few guiding rail strokes.
surface-accentFilled side accent strip.
center-panelCenter title structure.
title-panelMain translucent center title surface.
center-edgeThin top and bottom guide line on the title surface.
accent-coreRestrained center highlight strip.
center-notchSmall bottom notch that gives the title area a subtle focal point.
contentCenter title content wrapper.
titleAlias part for the title content wrapper.
title-textGenerated title text when title-text is used.