vtdf

Mobile web Vue 3 component library based on Tailwind CSS and the any-tdf design system.
713 778
Install
npm install vtdf
Latest Version:0.0.1
Vue:3
License:MIT
Last Updated:Oct 19, 2026
Links: GitHub  ·  npm
Maintainer: dufu1991

vtdf

vtdf is the Vue implementation of the Any TDF mobile web component system, built on Tailwind CSS. It maps the shared Any TDF component contracts to Vue components, props, emits, slots, themes, locale objects, types, and utilities.

Install

bun add vtdf vue tailwindcss

vtdf requires Vue and Tailwind CSS. @any-tdf/common is installed automatically as a runtime dependency.

Usage

<script setup lang="ts">
import { Button } from 'vtdf';
import 'vtdf/style.css';
</script>

<template>
	<Button fill="solid">VTDF</Button>
</template>

Configure Tailwind CSS with the VTDF theme plugin:

@import 'tailwindcss';

@plugin "vtdf/theme/plugin" {
	all: true;
}

Public modules

  • vtdf: components, feedback APIs, themes, locales, types, and utilities.
  • vtdf/components: component-only exports.
  • vtdf/theme: built-in themes and runtime theme helpers.
  • vtdf/theme/plugin: Tailwind CSS theme plugin.
  • vtdf/lang: built-in locale objects.
  • vtdf/types: public TypeScript types.
  • vtdf/utils: shared component utilities.
  • vtdf/style.css: component styles and source registration for @any-tdf/common.
  • vtdf/source.css: Tailwind CSS source registration for VTDF and its transitive @any-tdf/common dependency.

Development

Development is managed from the Any TDF Monorepo root with Bun:

bun install
bun run dev:vtdf
bun run --filter vtdf check
bun run --filter vtdf test
bun run --filter vtdf build

Links

License

vtdf is released under the MIT License.

Related Packages

ocelot-ui

Ocelot UI (OUI), a UI framework built with Vue 3 and Tailwind CSS, is designed t...

4,590 0
@bottle414/bottle-ui

A self-made component library for Vue3.

789
naive-ui

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript,...

6,454,403 18,588
giime

A Component Library for Vue 3

16,579

Version History

Version Released Vue License
0.0.1 ^3.5.0 MIT
0.0.0 MIT
Pre-releases (3)
Version Released Vue License
0.0.1-alpha.3 ^3.5.0 MIT
0.0.1-alpha.2 ^3.5.0 MIT
0.0.1-alpha.0 ^3.5.0 MIT