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

Card

A box with, optionally, a figure, a title, a body and a row of actions. Every part is optional: a card with nothing but a body is a card, and that is the common case.

ClassEffectType
.card
A box with, optionally, a figure, a title, a body and a row of actions. Every part is optional: a card with nothing but a body is a card, and that is the common case. root
.card-xs.card-sm.card-md.card-lg.card-xl
Sets size, one class per value. axis size
.card-border
Draws an edge the family does not draw by default. flag
.card-dash
The same edge, dashed. flag
.card-image-full
Lets the figure fill the card, with the body laid over it. flag
.card-side
Puts the figure beside the body instead of above it. flag
.card-actions
A wrapping row of buttons at the end of the body. part
.card-body
The padded column that holds everything but the figure. part
.card-title
The heading, in the family’s title ink and weight. part