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

Alert

An inline message — information, success, warning, error — where it concerns the user. A toast is the same message, floating and temporary.

ClassEffectType
.alert
A soft tint of its colour, an icon, a body, optional actions. root
.alert-outline.alert-solid
Sets variant, one class per value. axis variant
.alert-primary.alert-neutral.alert-info.alert-success.alert-warning.alert-error
Sets color, one class per value. axis color
.alert-xs.alert-sm.alert-md.alert-lg.alert-xl
Sets size, one class per value. axis size
.alert-actions
Buttons on the trailing side. part
.alert-body
The text, growing to fill the row. part
.alert-close
The close button of a dismissible alert. part
.alert-icon
The leading icon; takes the colour. part
.alert-title
A bold first line. part