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

@vuecs/table

v1.6.1

Published

Compound table for vuecs (Table / Header / Body / Footer / Row / Cell / HeadCell / Empty / Loading / ExpandTrigger / RowExpansion) + columns/data driver with sortable headers, row-meta variants, row keyboard navigation, and expandable-row panels.

Readme

@vuecs/table

npm version CI license

The compound table of vuecs — semantic HTML for entity-list pages. Drive it with :columns + :data for the terse path, or compose the parts by hand for layouts the driver can't express. Both shapes mix freely.

✨ What's inside

  • 🧾 Columns/data driver — pass :columns (or let them auto-derive from data[0]) and the table renders header + body for you; #cell-<key> / #header-<key> slots override per column. Column shape is a near-superset of bootstrap-vue-next's TableField, with accessor (dot-paths or functions) + formatter.
  • 🔼 Sorting — controlled v-model:sort (SortDescriptor[]), multi-column via Shift-click or the <VCTableSortIndicators> chip row, optional client-sort with per-column comparators (sortFn, sortByFormatted, nullsFirst).
  • ☑️ Row selectionselection-mode="single|multi" with the W3C ARIA grid pattern: roving tabindex, Shift-ranges, Ctrl-toggles, and an isSelector checkbox/radio column with select-all.
  • 📂 Expandable rows:expandable + #expansion slot for inline detail panels; ResizeObserver-measured height animation, disclosure-pattern ARIA, single (accordion) or multi mode.
  • 📱 Stacked responsive mode:responsive collapses to per-row cards below 640 px, labels read from data-label.
  • 🎨 Row/cell tinting_rowVariant / _cellVariants row-meta keys color rows and individual cells without function props.
  • 🔤 Typed rows<VCTable> / <VCTableLite> are generic over their row type, so :data / :columns drive typed slot props (#cell-<key>="{ row }", #header-<key>, #default) — no as cast. <VCTable> also types its #expansion slot and the @row-click / getRowKey callbacks.
  • 🪶 <VCTableLite> — same driver, theme wiring, and auto-render, minus sort/selection state — perfect under tanstack-table.
  • 🦴 <VCTablePlaceholder> — matching skeleton for loading states.

📦 Installation

npm install @vuecs/table

⚡ Usage

Driver shape (recommended):

<VCTable
    :columns="[
        { key: 'name', label: 'Name', sortable: true, isRowHeader: true },
        { key: 'email', label: 'Email' },
    ]"
    :data="users"
    v-model:sort="sort"
    :busy="loading"
    multi-sort
    client-sort
>
    <template #cell-email="{ value }">
        <a :href="`mailto:${value}`">{{ value }}</a>
    </template>
    <VCTableEmpty>No users yet.</VCTableEmpty>
</VCTable>

Compound shape (escape hatch):

<VCTable :data="orders">
    <VCTableHeader>
        <VCTableRow>
            <VCTableHeadCell>Order</VCTableHeadCell>
            <VCTableHeadCell>Customer</VCTableHeadCell>
        </VCTableRow>
    </VCTableHeader>
    <VCTableBody>
        <template #row="{ row }">
            <VCTableRow>
                <VCTableCell>#{{ row.id }}</VCTableCell>
                <VCTableCell>{{ row.customer }}</VCTableCell>
            </VCTableRow>
        </template>
    </VCTableBody>
</VCTable>

📚 Documentation

Full reference — sorting, selection, expansion, theming: vuecs.dev/components/table

License

Made with 💚

Published under Apache 2.0 License.