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

tukal-vue

v0.2.7

Published

A comprehensive, modern Vue 3 component library built with TypeScript and the Composition API. Tukal provides a rich set of customizable UI components designed for building beautiful and responsive web applications.

Readme

Tukal Vue

A comprehensive, modern Vue 3 component library built with TypeScript and the Composition API. Tukal provides a rich set of customizable UI components designed for building beautiful and responsive web applications.

Version License

✨ Features

  • 🎨 60+ Components - Comprehensive set of UI components
  • 🔷 TypeScript Support - Full TypeScript definitions
  • Vue 3 & Composition API - Built with modern Vue 3 features
  • 🎯 Tree Shakeable - Import only what you need
  • 🎭 Customizable - Extensive theming and styling options
  • 📱 Responsive - Mobile-first design approach
  • Accessible - ARIA compliant components
  • 🧪 Well Tested - Unit tests with Vitest

📦 Installation

npm install tukal-vue

Or with yarn:

yarn add tukal-vue

Or with pnpm:

pnpm add tukal-vue

🚀 Quick Start

1. Import Styles

Import the CSS in your main entry file (e.g., main.ts):

import 'tukal-vue/css'

2. Register Components

You can use components in two ways:

Option A: Global Registration (with Plugin)

import { createApp } from 'vue'
import { TukalPlugin } from 'tukal-vue'
import router from './router'
import App from './App.vue'

const app = createApp(App)

// Install Tukal plugin with optional configuration
app.use(TukalPlugin, {
  router,  // Optional: for components with routing
  iconPackGlobal: 'material-icons'  // Optional: default icon pack
})

app.mount('#app')

Option B: Import Individual Components

<script setup lang="ts">
import { TuButton, TuInput, TuCard } from 'tukal-vue'
</script>

<template>
  <TuCard>
    <TuInput v-model="name" placeholder="Enter your name" />
    <TuButton color="primary" @click="submit">Submit</TuButton>
  </TuCard>
</template>

📚 Component Categories

Form Components

  • TuButton - Versatile button with multiple variants
  • TuInput - Text input with validation
  • TuTextArea - Multi-line text input
  • TuSelect - Dropdown select with options
  • TuCheckbox - Checkbox input
  • TuRadio - Radio button input
  • TuSwitch - Toggle switch
  • TuColorPicker - Color selection
  • TuUpload - File upload
  • TuRichTextEditor - WYSIWYG editor

Layout Components

  • TuRow / TuCol - Grid system
  • TuCard - Content container
  • TuDivider - Visual separator
  • TuCollapse - Collapsible content

Navigation Components

  • TuNavbar - Top navigation bar
  • TuSidebar - Side navigation menu
  • TuBreadcrumb - Breadcrumb navigation
  • TuTabs - Tabbed interface
  • TuPagination - Page navigation

Display Components

  • TuAvatar - User avatar
  • TuIcon - Icon display
  • TuChip / TuTag - Labels and tags
  • TuAlert - Alert messages
  • TuProgress - Progress indicators
  • TuUsageBar - Usage visualization
  • TuTimeline - Timeline display

Data Components

  • TuTable - Data table with sorting and filtering
  • TuTreeView - Hierarchical tree structure
  • TuKanban - Kanban board
  • TuCalendar - Date picker and calendar
  • TuCalendarHeatMap - Activity heatmap

Interactive Components

  • TuDialog - Modal dialogs
  • TuPopper - Tooltips and popovers
  • TuNotification - Toast notifications
  • TuCron - Cron expression builder

💡 Usage Examples

Basic Button

<template>
  <TuButton color="primary" @click="handleClick">
    Click Me
  </TuButton>
</template>

<script setup lang="ts">
import { TuButton } from 'tukal-vue'

const handleClick = () => {
  console.log('Button clicked!')
}
</script>

Form Input

<template>
  <TuInput 
    v-model="email"
    type="email"
    label="Email Address"
    placeholder="Enter your email"
    :required="true"
  />
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { TuInput } from 'tukal-vue'

const email = ref('')
</script>

Data Table

<template>
  <TuTable :data="users" :columns="columns">
    <template #cell-name="{ row }">
      <strong>{{ row.name }}</strong>
    </template>
  </TuTable>
</template>

<script setup lang="ts">
import { TuTable } from 'tukal-vue'

const users = [
  { id: 1, name: 'John Doe', email: '[email protected]' },
  { id: 2, name: 'Jane Smith', email: '[email protected]' }
]

const columns = [
  { key: 'name', label: 'Name', sortable: true },
  { key: 'email', label: 'Email', sortable: true }
]
</script>

Navigation with Router

<template>
  <TuSidebar>
    <TuSidebarItem to="/dashboard" icon>
      <template #icon>
        <TuIcon>dashboard</TuIcon>
      </template>
      Dashboard
    </TuSidebarItem>
    
    <TuSidebarItem to="/users" icon>
      <template #icon>
        <TuIcon>people</TuIcon>
      </template>
      Users
    </TuSidebarItem>
  </TuSidebar>
</template>

<script setup lang="ts">
import { TuSidebar, TuSidebarItem, TuIcon } from 'tukal-vue'
</script>

🎨 Theming & Customization

Tukal components support extensive theming through CSS variables and props.

Color Props

Most components accept a color prop:

<TuButton color="primary">Primary</TuButton>
<TuButton color="success">Success</TuButton>
<TuButton color="danger">Danger</TuButton>
<TuButton color="warn">Warning</TuButton>
<TuButton color="dark">Dark</TuButton>

Variant Props

Many components support different visual variants:

<TuButton variant="solid">Solid</TuButton>
<TuButton variant="outline">Outline</TuButton>
<TuButton variant="flat">Flat</TuButton>
<TuButton variant="gradient">Gradient</TuButton>

Custom Colors

You can use the utility functions to work with colors:

<script setup lang="ts">
import { getColor, useTukal } from 'tukal-vue'

const { getColor } = useTukal()
const primaryColor = getColor('primary')
</script>

🔧 Composables

Tukal provides composables for accessing shared functionality in <script setup>:

useTukal()

Access router, icon pack, and utility functions:

<script setup lang="ts">
import { useTukal } from 'tukal-vue'

const { router, iconPackGlobal, getColor, getColorAsRgb } = useTukal()

const navigateHome = () => {
  router?.push('/home')
}
</script>

useTukalColor()

Handle color-related props and computations:

<script setup lang="ts">
import { useTukalColor } from 'tukal-vue'

const props = defineProps<{
  color?: string
  colorSecondary?: string
}>()

const {
  isColorDark,
  isColor,
  getColorSecondary
} = useTukalColor(props)
</script>

📖 TypeScript Support

Tukal is written in TypeScript and provides full type definitions:

import type { 
  TuButtonProps,
  TuInputProps,
  TuTableColumn,
  TuKanbanItem 
} from 'tukal-vue'

const columns: TuTableColumn[] = [
  { key: 'name', label: 'Name', sortable: true }
]

🧪 Testing

Components can be easily tested with Vue Test Utils:

import { mount } from '@vue/test-utils'
import { TuButton } from 'tukal-vue'

test('button click', async () => {
  const wrapper = mount(TuButton, {
    props: { color: 'primary' },
    slots: { default: 'Click me' }
  })
  
  await wrapper.trigger('click')
  expect(wrapper.emitted()).toHaveProperty('click')
})

🛠️ Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build library
npm run build

# Run tests
npm run test

# Type check
npm run dev:types

📄 License

[License information here]

🤝 Contributing

Contributions are welcome! Please read our contributing guidelines before submitting a PR.

📞 Support

🙏 Acknowledgments

Built with ❤️ by Nullarc Inc


Made with Vue 3, TypeScript, and Vite