Skip to content
LyEve UI v0.60.1

Layout & display

Table

A styled wrapper around <table>. The component itself only applies typography, spacing, and a soft border: you provide the thead and tbody markup. Striped and hoverable variants are opt-in.

The head row takes the band color, the brand at 8% in the surface. A hovered row takes surface-2 and no ring, so it never reads as a second head row. The frame keeps the card's shadow and radius without its top wash, so every row is one color at rest.

Basic

NameEmailRoleStatus
Lina Parklina@lyeve.comAdmin Active
Otto Renaudotto@lyeve.comEditor Invited
Maya Cartermaya@lyeve.comViewer Idle

Striped

NameRoleStatus
Lina ParkAdmin Active
Otto RenaudEditor Invited
Maya CarterViewer Idle

API

PropTypeDefaultDescription
striped booleanfalseAlternate row backgrounds.
hoverable booleantrueFill a row with surface-2 under the pointer. A row of header cells only takes no hover.
fixed booleanfalseUse table-fixed layout (equal column widths).
label string no defaultNames the scroll box, so a screen reader announces what the region holds.
cell 'auto' | 'wrap' | 'truncate''wrap'What a body cell does with content too wide for its column: wrap breaks a token with no spaces in it mid-string, truncate ends the line with an ellipsis, auto lets the column grow.
truncateAt string'20rem'The width a truncating cell stops at, as any CSS length. One column can set its own through --cell-truncate.
class string no defaultExtra classes on the wrapper div.
children requiredSnippet no defaultthead + tbody markup.