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

Stat

A figure worth a glance — a title, a value, a description, and optionally a figure on the side and actions. A box like a card, laid out as a two-column grid. `.stats` lines several up in one frame, a divider between each.

ClassEffectType
.stat
A figure worth a glance — a title, a value, a description, and optionally a figure on the side and actions. A box like a card, laid out as a two-column grid. `.stats` lines several up in one frame, a divider between each. root
.stats
One frame for several stats; the stats inside put their own frame down. root
.stat-xs.stat-sm.stat-md.stat-lg.stat-xl
Sets size, one class per value. axis size
.stats-horizontal.stats-vertical
Sets direction, one class per value.
  • .stats-horizontal A row (the default).
  • .stats-vertical A column.
axis direction
.stat-actions
A wrapping row of buttons under the text. part
.stat-desc
A line under the value, in the muted ink. part
.stat-figure
An icon or a picture in the second column, across the text rows. part
.stat-title
The small label above the value, in the muted ink. part
.stat-value
The number, large and heavy. part