npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-tailwind-design-system

v1.0.9

Published

A reusable Vue 3 + Tailwind CSS UI design system with Storybook and component library support.

Readme

vue-tailwind-design-system

A Vue 3 UI design system built with Tailwind CSS and TypeScript. Provides reusable, accessible, and customizable UI components for your Vue 3 projects.

📘 Live Storybook Demo & Docs

📦 NPM Package

💻 Demo Project Using the Package

Installation

Install the package from npm:

npm install vue-tailwind-design-system

or

yarn add vue-tailwind-design-system

Usage

Import the components you need in your Vue 3 project:

1. Import the styles in your main.ts:
// main.ts
import 'vue-tailwind-design-system/style.css'
2. Use components in any Vue 3 component file:
<!-- ExampleComponent.vue -->
<script setup lang="ts">
import { CButton } from 'vue-tailwind-design-system'

function handleClick() {
  alert('Button clicked!')
}
</script>

<template>
  <CButton label="Click Me" :isLoading="false" :disabled="false" @click="handleClick" />
</template>
🧪 Storybook Playground

The Storybook demo includes a Playground story for CButton that exposes all props for live interaction and testing:

// Example: Storybook Playground configuration for CButton
export const Playground: Story = {
  args: {
    label: 'Button',
    disabled: false,
    isLoading: false,
    role: 'primary',
    backgroundColorType: 'solid',
    borderColorType: 'primary',
    borderWidth: '1',
    buttonRadius: 'pill',
    textColor: 'white',
    classes: 'shadow-md p-3',
    iconSize: 'default',
    leadingIcon: 'None',
    trailingIcon: 'Button',
    Icon: 'None',
    styles: '',
    theme: 'light',
    typographySize: 'lg',
    fontWeight: 'bold',
    leading: '6',
  },
}

You can use the Playground in Storybook to experiment with different button styles and behaviors.

Available Components

| Component | Description | | --------- | ---------------------------------------------- | | CButton | Main button component styled with Tailwind CSS |

More components will be added soon.

✅ Features

  • Vue 3 components written in TypeScript
  • Styled with Tailwind CSS utilities
  • Fully documented and demoed in Storybook
  • Easy to integrate in other Vue projects
  • Supports hot-reload during development
  • Includes unit tests with Vitest
  • ESLint and Prettier configured for consistent code style

🛠 TypeScript Users

If you see a TypeScript warning like:

Could not find a declaration file for module 'vue-tailwind-design-system'.

Don’t worry — the types are included and working correctly. This warning may appear if your environment doesn’t fully support exports field resolution in package.json.

✅ Workaround

You can explicitly map the type using a paths entry in your consumer project’s tsconfig.json:

{
  "compilerOptions": {
    "paths": {
      "vue-tailwind-design-system": [
        "node_modules/vue-tailwind-design-system/dist/vue-tailwind-design-system.es.js"
      ]
    }
  }
}

Or, you can safely ignore the warning — everything will still work correctly at build time and in most IDEs like VSCode.

⚠️ About Vite Export Warning

When building this library, you might see:

▲ [WARNING] The condition "types" here will never be used...

This is a known behavior in Vite when using exports fields in package.json. The warning does not affect type resolution in projects using this package and is safe to ignore.

License

MIT © Mahmuda Begum