Skip to content

@kk-2004/ui-componentsVue 3 UI Component Library

A collection of 40+ reusable Vue 3 components with Tailwind CSS

Installation

bash
npm install @kk-2004/ui-components

Quick Start

vue
<script setup>
import { KButton, KCard, KCardContent, KCardTitle } from '@kk-2004/ui-components'
</script>

<template>
  <KCard>
    <KCardContent>
      <KCardTitle>Hello World</KCardTitle>
      <KButton variant="default" size="default">Click Me</KButton>
    </KCardContent>
  </KCard>
</template>

Features

  • 40+ Components - Basic UI primitives, composite business components, and classic components
  • Vue 3 SFC - All components use <script setup lang="ts"> with full TypeScript support
  • Tailwind CSS - Styled with Tailwind utility classes for easy customization
  • Tree Shaking - Each component is independently importable
  • Vite Library Mode - ESM + CJS dual output with preserveModules