Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

[Feature Request] VTable improvements #98

@hacknug

Description

@hacknug

As requested on the docs page for VTable, here's some thoughts on what's missing and could be improved:

  • Remove component styles (they're interfering with my tailwind classes due to increased specificity)
  • Being able to add classes to tbody (I'd prefer using the default/body slot and being able to write the element myself)
  • Add slots to customize thead and tfoot (I know there's already plans for tfoot but it's currently disabled). Expose sorting methods and a11y attributes using scoped slots.

Then a question I have is, do we really need the table wrapper to be focusable? Wouldn't it make more sense to leave it as is, with just the buttons on thead being focusable and maybe the tbody rows in case users wanna highlight one of them or something on focus (but I guess they can implement this themselves using slots so…)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions