Skip to content

feat: add data-slot attributes to data-table pagination and toolbar#267

Open
zhengshui wants to merge 1 commit intosadmann7:mainfrom
zhengshui:feat/add-data-slot-attributes
Open

feat: add data-slot attributes to data-table pagination and toolbar#267
zhengshui wants to merge 1 commit intosadmann7:mainfrom
zhengshui:feat/add-data-slot-attributes

Conversation

@zhengshui
Copy link

Description

Add data-slot attributes to the data-table pagination and toolbar components to make them easier to customize and identify.

This resolves issue #143 which requested distinctive identifiers for these components to help with RTL support and other customizations.

Changes

  • Added data-slot=data-table-pagination to the pagination component root div
  • Added data-slot=data-table-toolbar to the toolbar component root div

Verification

  • Component structure remains unchanged
  • The data-slot attributes can now be used for CSS targeting

Closes #143

Add data-slot attributes to the data-table pagination and toolbar
components to make them easier to customize and identify.

This allows users to easily target these components with CSS selectors
for RTL support and other customizations.

Closes sadmann7#143
@vercel
Copy link
Contributor

vercel bot commented Mar 16, 2026

Someone is attempting to deploy a commit to the sadmann7 Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat]: add data-slot attributes to data-table pagination and toolbar

1 participant