Sépale
Components Docs Theme generator Prefix About GitHub npm
  • Family
  • Family
  • Theme

  • Guide
  • Getting started
  • Families and themes
  • Components and classes
  • Svelte components
  • Motion
  • Your own styles
  • Class prefix
  • Family
  • Description
  • Theme generator
  • Components
  • All components
    • Button
    • Link
    • Join
    • Input
    • Textarea
    • Select
    • Combobox
    • Number input
    • Date picker
    • Calendar
    • Color picker
    • File input
    • File dropzone
    • Checkbox
    • Radio
    • Toggle
    • Switch
    • Range
    • Rating
    • Chips input
    • Editable
    • Label
    • Floating label
    • Fieldset
    • Validator
    • Text
    • Avatar
    • Badge
    • Chip
    • Swatch
    • Bubble
    • Card
    • Stat
    • Carousel
    • Alert
    • Toast
    • Loading
    • Progress
    • Radial progress
    • Skeleton
    • Empty state
    • Data handler
    • Data control
    • Table
    • Grid
    • List
    • Kanban
    • File explorer
    • Menu
    • Tabs
    • Breadcrumbs
    • Steps
    • Pagination
    • Dock
    • Navbar
    • Sidebar
    • Drawer
    • Footer
    • Hero
    • Divider
    • Collapse
    • Accordion
    • Dialog
    • Dropdown
    • Tooltip
    • Mobile frame
    • Window frame
    • Laptop frame

Table

A real <table>. Columns are described once — width, sticky, sortable, hidden — and each cell is the column’s field, or what your snippet draws. Selection, sorting and loading are drawn from plain props: where the rows come from is not the table’s business.

ClassEffectType
.table
A real <table>. Columns are described once — width, sticky, sortable, hidden — and each cell is the column’s field, or what your snippet draws. Selection, sorting and loading are drawn from plain props: where the rows come from is not the table’s business. root
.table-xs.table-sm.table-md.table-lg.table-xl
Sets size, one class per value. axis size
.table-hover
Written by the hover prop. flag
.table-loading
Written by the loading prop. flag
.table-pinned
Written by the pinned prop. flag
.table-zebra
Written by the zebra prop. flag
.table-cell
A header or body cell. part
.table-empty
The cell drawn in place of the rows when there are none. part
.table-head
The header row. part
.table-row
A body row. part
.table-row-dirty
A row whose key is in `dirty`: changed, not saved. part
.table-row-selected
A row whose key is in `selected`. part
.table-scroll
The box the table scrolls in, sideways and — with a maxHeight — down. part
.table-sort
The button a sortable header holds. aria-sort on the cell draws the arrow. part
.table-sticky
A cell of a sticky column, pinned to the start edge. part
.table-sticky-last
A cell of the last sticky column, which draws the edge. part