Skip to content

Repository files navigation

DataV Kit

Framework-agnostic visual decoration components for data dashboards, powered by Web Components.

LicenseElements VersionElements Downloads

Build expressive large-screen dashboard surfaces with SSR-safe Custom Elements, decorative borders, HUD-style decorations, animated numbers, and theme presets.

Quick Start | Packages | Documentation

Highlights

  • Framework agnostic: native Custom Elements that can be used from vanilla HTML, Vue, React, Vite, webpack, and SSR environments.
  • Dashboard focused: border boxes, decorations, fit-screen containers, count-up numbers, and visual primitives designed for data screens.
  • Theme ready: optional CSS variable presets for cyber blue, neon magenta, matrix green, solar gold, and ice white.
  • Composable foundation: shared utilities, Web Components primitives, public elements, and themes are separated into focused packages.

DataV Kit is currently in its foundation phase. Vue and React adapters are planned, but intentionally not part of the current foundation work.

Quick Start

pnpm add @datav-kit/elements @datav-kit/themes
import{registerElements}from'@datav-kit/elements'import'@datav-kit/themes/cyber-blue.css'registerElements()
<dvk-border-box-11colors="#3d7fb8,#6ed7e8,#52f0b5"><section>Command Center</section></dvk-border-box-11>

Packages

PackageVersionDownloadsRole
@datav-kit/elementsnpmnpm downloadsPublic Web Components entrypoints and component registrations.
@datav-kit/corenpmnpm downloadsWeb Components primitives, lifecycle helpers, events, and controllers.
@datav-kit/sharednpmnpm downloadsFramework-agnostic utilities shared by DataV Kit packages.
@datav-kit/themesnpmnpm downloadsOptional CSS variable themes and theme exports.

Repository Map

datav-kit
+-- packages
| +-- elements # public Custom Elements and component modules
| +-- core # Web Components primitives and helpers
| +-- shared # shared framework-agnostic utilities
| +-- themes # optional CSS variable theme presets
+-- docs # VitePress documentation site
+-- skills # repository-specific Codex/agent workflows
+-- turbo.json # monorepo task pipeline

Development

pnpm install
pnpm build
pnpm typecheck
pnpm test
pnpm lint

Inspire

License

MIT License Copyright hackycy

About

基于 Web Components 构建的、与框架无关的数据可视化视觉装饰组件。

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages