Skip to content

USWDS - Feature: Ability to have <Table/> headers sticky to the top #5077

Closed
@etanb

Description

@etanb

Is your feature request related to a problem? Please describe.

For usage of <Table/> components with massive data sets, it is hard to remember what each column denotes. Scrolling back up isn't a good solution for 100s of rows of data as you'll lose your place, and converting everything to stacked is a huge design change.

Describe the solution you'd like

An additional CSS utility class like usa-table--sticky-header that would have the header information of a table sticky to the top of the page as a user scrolls.

Describe alternatives you've considered

No response

Additional context

I've created this working solution within the USWDS for review: #5074

Would love to make this a reality!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions