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

Data control

The controls of a data handler, around the view that shows its rows: filters, sort, search, page size, pagination, and actions on the selection or on the whole resource. Every one is optional, and an action only appears when the handler can do it.

ClassEffectType
.data-control
The controls of a data handler, around the view that shows its rows: filters, sort, search, page size, pagination, and actions on the selection or on the whole resource. Every one is optional, and an action only appears when the handler can do it. root
.data-control-boxed
Sets variant, one class per value. axis variant
.data-control-xs.data-control-sm.data-control-md.data-control-lg.data-control-xl
Sets size, one class per value. axis size
.data-control-actions
Drawn by the component; you never opt into it. part
.data-control-actions-end
Drawn by the component; you never opt into it. part
.data-control-actions-start
Drawn by the component; you never opt into it. part
.data-control-bar
The row of controls above the view. part
.data-control-bar-left
Its start: filters, sort, your left actions, search. part
.data-control-bar-right
Its end: page size, selection count, built-in actions, your right actions. part
.data-control-body
The view: a table, a grid, a list, a kanban. part
.data-control-count
How many rows are selected. part
.data-control-editor
The box a filter is edited in. part
.data-control-field
Drawn by the component; you never opt into it. part
.data-control-field-label
Drawn by the component; you never opt into it. part
.data-control-filter
One filter: a chip that turns into its field when pressed, and a button that takes it off. part
.data-control-filter-remove
The button that takes a filter off. part
.data-control-filters
The row of filters on the page. part
.data-control-more
Drawn by the component; you never opt into it. part
.data-control-page-options
Drawn by the component; you never opt into it. part
.data-control-pagination
The range and the pages, above or below the view. part
.data-control-range
“1–10 / 124”. part
.data-control-search
The search field. part
.data-control-total
How many rows match, at the end of the filters. part