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 🙏

© 2025 – Pkg Stats / Ryan Hefner

v-pack-vue-component

v1.0.0

Published

Vue 3 + TypeScript component library with TailwindCSS and 3rd party integrations.

Downloads

6

Readme

v-pack-vue-component

A Vue 3 component library powered by TailwindCSS, built with TypeScript support and several 3rd-party integrations (CKEditor, Quill, ApexCharts, etc).

⚙️ Installation

npm install v-pack-vue-component

# Required peer dependencies
npm install vue tailwindcss @material-tailwind/html @mdi/js

# Optional dependencies (based on components)
npm install vue-tailwind-datepicker @vueup/vue-quill @ckeditor/ckeditor5-build-classic @ckeditor/ckeditor5-vue vue-cropperjs vue3-apexcharts

📄 Usage

// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import 'tailwindcss/tailwind.css'

const app = createApp(App)
app.mount('#app')

📚 Components Documentation

📅 DatePicker

<DatePicker v-model="date" label="Tanggal Lahir" :range="false" />

Props

| Prop | Type | Default | Description | | ----------- | ------------------------ | ------------ | -------------------------- | | modelValue | string / string[] / Date | - | Selected date | | label | string | - | Label text | | placeholder | string | "" | Placeholder text | | format | string | "YYYY-MM-DD" | Display format | | range | boolean | false | Range selection mode | | weekStart | number | 0 | Start of the week (0=Sun) | | autoApply | boolean | true | Auto apply after selection | | i18n | object | Indonesian | Localization | | errors | any[] | [] | Validation errors |

Emits: update:modelValue

📝 CKEditor

<CkEditor v-model="editorContent" :editorConfig="{ toolbar: ['bold', 'italic'] }" />

Props

| Prop | Type | Default | Description | | ------------ | ------ | ------- | ---------------------- | | modelValue | string | "" | Editor content | | label | string | - | Input label | | placeholder | string | - | Placeholder | | errors | any[] | [] | Validation messages | | editorConfig | object | {} | CKEditor config object |

Emits: update:modelValue

✍️ Quill Editor

<Quill v-model="content" label="Isi Konten" />

Props

| Prop | Type | Default | Description | | ----------- | ------ | ------- | ----------------- | | modelValue | string | "" | Editor content | | label | string | - | Input label | | placeholder | string | "" | Placeholder | | errors | any[] | [] | Validation errors |

Emits: update:modelValue

🔽 Select

<Select v-model="selected" :options="['One', 'Two']" label="Pilih Opsi" :multiple="true" />

Props

| Prop | Type | Default | Description | | ----------- | ------------------------ | ------- | ----------------- | | modelValue | string / string[] / null | null | Selected value | | label | string | - | Input label | | placeholder | string | "" | Placeholder | | options | array | [] | Options | | multiple | boolean | false | Multi-select mode | | errors | string[] | [] | Validation errors |

Emits: update:modelValue

🧾 Input Field

<Input v-model="name" label="Nama Lengkap" />

Props

| Prop | Type | Default | Description | | ----------- | --------------- | ------- | ----------------- | | modelValue | string / number | - | Input value | | label | string | - | Field label | | type | string | text | Input type | | placeholder | string | - | Placeholder text | | options | any[] | [] | For select/radio | | errors | any[] | [] | Validation errors |

Emits: update:modelValue

🧠 Apexchart

<Chart :type="'bar'" :series="[{ name: 'Sales', data: [10, 20] }]" />

Props

| Prop | Type | Default | Description | | ---------------- | -------------- | --------- | ------------------------ | | type | string | - | Chart type | | series | array / object | - | Chart data | | categories | string[] | [] | X-axis categories | | title | string | - | Chart title | | subtitle | string | - | Chart subtitle | | colors | string[] | [] | Custom colors | | loading | boolean | false | Loading state | | noDataText | string | "No data" | Empty state message | | tooltipFormatter | function | - | Custom tooltip formatter | | labelFormatter | function | - | Custom label formatter | | yAxisFormatter | function | - | Custom Y-axis formatter | | drilldownSeries | array | [] | Drilldown data |

✂️ Cropper

<Cropper :imageUrls="[]" aspectRatio="1.5" />

Props

| Prop | Type | Default | Description | | ---------------- | ------- | ------- | ----------------------- | | imageUrl | string | - | Single image | | imageUrls | array | [] | Multiple image previews | | aspectRatio | number | 1 | Crop aspect ratio | | inputAspectRatio | boolean | false | Enable aspect input | | multiple | boolean | false | Allow multiple uploads | | text | string | Custom | Dropzone message |

📦 Card

<Card>
  <template #header>Judul</template>
  <template #default>Isi</template>
  <template #footer>Footer</template>
</Card>

Props

| Prop | Type | Default | Description | | ----------- | ------ | ------- | ------------------- | | headerClass | string | - | Custom header class | | bodyClass | string | - | Custom body class | | footerClass | string | - | Custom footer class |

🔘 Button

<Button variant="solid" color="primary" :isLoading="false">Simpan</Button>

Props

| Prop | Type | Default | Description | | --------- | ------- | ------- | ----------------------------------------------------------------------- | | variant | string | solid | 'ghost' | 'solid' | 'gradient' | 'outline' | | color | string | primary | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | | href | string | null | Use as anchor link | | type | string | button | HTML button type | | isLoading | boolean | false | Loading state | | class | string | - | Extra class name |

🧪 License

MIT © Miftach Noorvicki [email protected]