motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Alert
  5. Glow Alert
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Alert

Glow Alert

An inline alert banner with a soft glow on its leading edge and an animated enter and exit.

npx motionsnack add glow-alert

Customize

Success Colour
Warning Colour
Error Colour
<GlowAlert />

Props

26 properties

PropertyTypeDefaultDescription
action{ label: string; href?: string }{ label: 'View changes', href: '' }First action, a 36 secondary button. With an href it is a link. An empty label hides it.
onAction() => void-Called when the first action is pressed.
secondaryAction{ label: string; href?: string }{ label: '', href: '' }Second action, a 36 ghost button. An empty label hides it.
onSecondaryAction() => void-Called when the second action is pressed.
openboolean-Visibility. With a value the component is controlled.
defaultOpenbooleantrueVisibility at the start when uncontrolled.
onOpenChange(open: boolean) => void-Called with false when the alert is dismissed (true when restored).
statusLabelsRecord<'info' | 'success' | 'warning' | 'error', string>EnglishScreen-reader prefix per variant, read before the title.
textstring-Deprecated alias of description.
accentstring-Deprecated, ignored: info is neutral.
glowboolean-Deprecated, ignored: alerts have no glow.
glowStrengthnumber-Deprecated, ignored.
radiusnumber-Deprecated, ignored: alerts are radius 12.
durationnumber-Deprecated, ignored: list insert 300ms, removal 180ms.
bouncenumber-Deprecated, ignored.
classNamestring''Extra classes on the root.
variant'info' | 'success' | 'warning' | 'error''info'Meaning of the alert: sets the icon and the surface. Info is neutral.
titlestring'A new version is available'Small surface title. An empty string hides it.
descriptionstring'Version 2.4 brings faster builds and a redesigned editor. Reload to update.'Body text. An empty string hides it.
showIconbooleantrueStatus icon in front of the text.
dismissiblebooleanfalseShow the dismiss button.
dismissLabelstring'Dismiss alert'Accessible name of the dismiss button.
restoreLabelstring''Text of a button that brings a dismissed alert back. Empty leaves nothing behind.
successColorstring''Success colour on both themes. Empty uses the per-theme pair.
warningColorstring''Warning colour on both themes. Empty uses the per-theme pair.
errorColorstring''Error colour on both themes. Empty uses the per-theme pair.

About Glow Alert

Glow Alert is an inline banner with an icon, a title, supporting text, an optional action and a dismiss button. It comes in info, success, warning and error variants, each with its own icon and tint, and the info variant follows the accent colour. A thin lit bar and a soft radial light sit on the leading edge and breathe slowly, giving the glass surface a hint of colour without painting the whole banner. The alert springs in from a slight blur and scale, the icon pops in a beat later, and on dismiss it fades and shrinks away. A small restore button can take its place so the alert can be brought back, and the visibility can be controlled from outside.

What's included

  • Info, success, warning and error variants with their own icons
  • Tint colour prop per variant, info uses the accent
  • Breathing glow on the leading edge with adjustable strength
  • Spring enter and quick fade exit
  • Optional action as a link or a button
  • Dismiss button, optional restore button, controlled or uncontrolled
  • Alert or status role by variant, reduced-motion fallback
Type
Animated React alert component
Library
Components · Alert
Stack
Next.js, React, Tailwind CSS
Added
2026-09-20
Install
npx motionsnack add glow-alert