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

@jubayer11/vue-dynamic-table-builder

v1.0.1

Published

Vue 3 dynamic table builder with expandable rows, action columns, rich styling, and slot-based customization — ideal for dashboards, admin panels, and complex data UIs.

Downloads

21

Readme

Vue Dynamic Table Builder

Vue 3 Compatible
License: MIT
PRs Welcome
Live Demo
GitHub
npm
Related Package


A powerful, fully customizable table system for Vue 3 — supports dynamic configs, smart actions, expandable rows, and deep style control.


✨ Features

  • ✅ Dynamic column configuration with TableConfig
  • 🎨 Deep style overrides via TableStyleConfig
  • 🎯 Slot-based rendering (headers, cells, actions, expandables)
  • 📱 Fully responsive layout with breakpoint control
  • 🌑 Dark mode ready
  • 🔁 Pagination (numbered + load more)
  • 🧠 Built-in support for buttons, icons, routes, and popups
  • 🧩 Modular SCSS and icon system
  • 🛠️ Works great in admin panels, dashboards, and complex UIs

💡 Why Use Vue Dynamic Table Builder?

Most table libraries give you props. This one gives you power.

Vue Dynamic Table Builder is not just a UI component — it's a configurable system built for real-world apps. Whether you're building an admin dashboard, reporting tool, or a user management system, this package gives you:

  • 🔧 Programmatic control with TableConfig and TableStyleConfig
  • 🧩 Full slot flexibility to override headers, cells, and rows
  • 🎛️ Smart actions (icon or button) with route or popup behavior
  • 🌐 Responsive layout with breakpoint-based column control
  • 🎨 Fine-grained style overrides by row ID, column index, or default fallback
  • 🔁 Pagination options for both traditional and load-more flows
  • 🧠 Built-in support for expandable rows, action dialogs, status indicators, and more

Use it if you want more than a basic table — use it if you want control, structure, and scalability.


📦 Installation Guide

1. Install via NPM

npm install @jubayer11/vue-dynamic-table-builder

✅ No external peer dependencies required.
✅ Works out of the box with Vue 3.


2. Import Required CSS

The table system includes prebuilt styles using modular SCSS and utility classes.
Import the compiled styles into your project (typically in main.js, main.ts, or App.vue):

import '@jubayer11/vue-dynamic-table-builder/dist/style.css';

✅ This ensures all table elements, icons, pagination, and states are styled correctly.
✅ Alternatively, you can import it directly inside any component where the table is used.


3. Use in Your Component

import DynamicTable from '@jubayer11/vue-dynamic-table-builder';
import { TableConfig, TableStyleConfig, ResponsiveColumnConfig } from '@jubayer11/vue-dynamic-table-builder';

Use <DynamicTable /> in your template and configure it with TableConfig and TableStyleConfig as needed.


🔧 Optional: Local Development (Testing Source Code)

If you want to test or contribute to the package locally:

git clone https://github.com/jubayer11/vue-dynamic-table-builder.git
cd vue-dynamic-table-builder
npm install
npm run dev       # Start local dev server
npm run build     # Build for production

✅ You're Ready!

You’re now ready to build dynamic, flexible, and beautifully styled tables with full control over actions, styles, responsiveness, and slots.

Need help? Check out the Full Documentation or Live Demo.


⚡ Minimal Setup Example

<script setup>
import { computed, reactive } from 'vue';
import DynamicTable from '@jubayer11/vue-dynamic-table-builder';
import {
  TableConfig,
  TableStyleConfig,
  ResponsiveColumnConfig
} from '@jubayer11/vue-dynamic-table-builder';

const config = reactive(new TableConfig());
const styleConfig = new TableStyleConfig();
const dataShow = new ResponsiveColumnConfig(2);

config.updateHeaders(['Name', 'Email']);
config.updateData([
  ['Alice', '[email protected]'],
  ['Bob', '[email protected]'],
]);
config.updateTotalColumn(2);
config.updateDataShow(dataShow);

const myTable = computed(() => config);
const myTableStyle = computed(() => styleConfig);
</script>

<template>
  <DynamicTable
    :myTable="myTable"
    :customStyle="myTableStyle"
  />
</template>

For full usage examples, advanced configurations, and style overrides, view the full documentation.


🧪 Demo Gallery

Explore real-world examples of how you can use @jubayer11/vue-dynamic-table-builder to create highly interactive, scalable, and fully styled tables.

Each demo is available inside the demo/ folder.

| Demo | Highlights | |:---|:---| | Basic Table | Minimal setup with headers and rows | | Multiple Action Table | Dynamic action column with icons like view/edit/delete | | Action Button Table | Action buttons with pop-up and route triggers | | Rich Status + Buttons | Status indicators with success/cancel buttons | | Selectable + Per Page Table | Checkbox row selection + per-page dropdown | | Expandable Row Table | Fully expandable rows with nested data | | Pagination Modes Table | Load more vs. numbered pagination switching | | Crazy Style Table | Deep styling overrides via TableStyleConfig | | Slot Column Demo | Full slot control over cell content | | All Features Combined | Real-world admin panel with everything enabled |

🔗 Live Demo: https://jubayer11.github.io/vue-dynamic-table-builder/


📂 Where to Find Demo Files

| Demo | File Location | |:---|:------------------------------------------------------| | Basic Table | src/demo/components/BasicTableDemo.vue | | Multiple Action Table | src/demo/components/MultipleActionTableDemo.vue | | Action Button Table | src/demo/components/ActionButtonTableDemo.vue | | Rich Status + Buttons | src/demo/components/RichStatusActionButtonsDemo.vue | | Selectable + Per Page | src/demo/components/SelectablePerPageTableDemo.vue | | Expandable Row Table | src/demo/components/ExpandableRowDemo.vue | | Pagination Modes | src/demo/components/PaginationModesDemo.vue | | Crazy Style Table | src/demo/components/CrazyStyleTableDemo.vue | | Slot Column Demo | src/demo/components/SlotColumnDemo.vue | | All Features Combined | src/demo/components/AllFeaturesCombinedDemo.vue |

✅ All demos are real, modular, and built with production workflows in mind.


📜 License

MIT License © 2025 Jubayer Ahmed
Open Source

📢 This package is proudly open source under the MIT License.
Feel free to use, modify, and contribute — together we build better tools.


🙌 Credits

Designed and developed with ❤️ by Jubayer Ahmed (Portfolio)
Built for dynamic UIs • Designed for control • Powered by real experience


🎯 Final Touches

  • Vue 3 + Composition API native
  • Action column: route, popup, or neither
  • Expandable rows with style and slot control
  • Per-ID/per-index deep style overrides
  • Styled using modular SCSS + utility tokens
  • Inspired by production UI needs — not just UI kits

🔗 Related Projects

Looking for a dynamic form system to pair with this table?

👉 Check out @jubayer11/vue-dynamic-form-builder
A schema-based Vue 3 form builder with field config, validation, layout control, and scoped styling.


✨ End of README ✨

If you find this project useful, consider starring ⭐ the repository — it helps others discover it too!

🤝 Interested in contributing?
Feel free to open issues, suggest improvements, or submit pull requests — collaboration is always welcome!