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

Hero

The large opening block of a page: a title, a sentence, a call to action, and optionally media beside them. Stacks by itself when there is no room — no breakpoint.

ClassEffectType
.hero
A wrapping row: content and media. root
.hero-primary.hero-neutral.hero-info.hero-success.hero-warning.hero-error
Sets color, one class per value. axis color
.hero-xs.hero-sm.hero-md.hero-lg.hero-xl
Sets size, one class per value. axis size
.hero-center
Written by the center prop. flag
.hero-reverse
Written by the reverse prop. flag
.hero-actions
The calls to action. part
.hero-body
The sentence. part
.hero-content
Title, body and actions. part
.hero-media
An image, a video, an illustration. part
.hero-title
The heading. part