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

Grid

Items in as many columns as fit. A column is never narrower than the family’s minimum, so the count follows the width — and the size variant — never a breakpoint. What an item looks like is yours: a card, usually.

ClassEffectType
.grid
Items in as many columns as fit. A column is never narrower than the family’s minimum, so the count follows the width — and the size variant — never a breakpoint. What an item looks like is yours: a card, usually. root
.grid-nogap
Sets gap, one class per value. axis gap
.grid-tight.grid-loose
Sets gap, one class per value. axis gap
.grid-xs.grid-sm.grid-md.grid-lg.grid-xl
Sets size, one class per value. axis size
.grid-loading
Written by the loading prop. flag
.grid-empty
Drawn in place of the items when there are none. part
.grid-item
One item. The component wraps each of yours in one. part
.grid-item-dirty
An item whose key is in `dirty`: changed, not saved. part
.grid-item-selected
An item whose key is in `selected`. part
.grid-lane
Masonry: one column, stacking its items. part
.grid-masonry
Masonry: the grid holds lanes instead of items. Written by the component, which deals the items. part