Skip to content

vanduo-oss/framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

204 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vanduo-oss/framework

@vanduo-oss/framework

npm CI license: MIT

The zero-build Vanilla engine of the Vanduo design system.

Drop-in HTML/CSS/JS — 48+ components driven by .vd-* classes and data-vd-* attributes, an imperative window.Vanduo runtime, and a strict --vd-* token API. Zero runtime dependencies; consumes design tokens from @vanduo-oss/core. Need Vue 3 instead? See @vanduo-oss/vue.

Install

pnpm add @vanduo-oss/framework
import "@vanduo-oss/framework/css";
import { Vanduo } from "@vanduo-oss/framework";

Vanduo.init();

Quick start (no build)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.7.1/dist/vanduo.min.css">
<script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.7.1/dist/vanduo.min.js"></script>
<script>
  Vanduo.init();
</script>

Production tip: pin the version and add Subresource Integrity (integrity="sha384-…" crossorigin="anonymous") to CDN tags. Get the hash from the per-file "SRI" button on jsdelivr.com.

Documentation

License

MIT © Vanduo — third-party notices in THIRD-PARTY-LICENSES.