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. Button
  5. Glow Border Button
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

Button

Glow Border Button

A pill button with two lights travelling around its border, a soft tint rising inside and an icon badge at the end.

npx motionsnack add glow-border-button

Customize

Glow Colour
Glow Core
px
s
px
<GlowBorderButton />

Props

17 properties

PropertyTypeDefaultDescription
onClick() => void-Click handler, for the plain button and the link alike.
buttonColorstringwhite / near-black in darkFill colour.
buttonTextColorstringnear-black / near-white in darkText colour. The icon badge takes it as its fill.
buttonRadiusnumberfully roundCorner radius in px.
classNamestring''Extra classes on the button.
labelstring'Get lifetime access'Text of the button.
hrefstring''Link target. With a value the button is a link, without one a plain button.
icon'lock' | 'arrow' | 'spark' | 'none''lock'Icon in the round badge at the end.
size'sm' | 'md' | 'lg''sm'Height and type size.
fullWidthbooleanfalseStretch to the width of the parent, label left and icon right.
glowbooleantrueLight travelling around the border.
glowColorstring'#0044ff'Main colour of the travelling light and of the tint inside the button.
glowColorTostring'#9cc2ff'Colour at the bright core of the travelling light.
glowSizenumber144Diameter of each light. Larger lights cover more of the border at once.
durationnumber16Seconds for one trip around the border. 0 stops the lights.
borderWidthnumber1.5Thickness of the lit border.
innerGlownumber1Strength of the coloured tint rising from the bottom edge. 0 leaves the fill plain.

About Glow Border Button

A call-to-action button for a navigation bar, a hero or a pricing card. Two soft lights travel around the border half a lap apart, following the rounded shape exactly, while a tint in the same colour rises from the bottom edge. The label sits on the left and a round badge with an icon closes the button on the right. It renders as a link when it gets an href and as a plain button otherwise. Colours, speed, size of the lights and the border thickness are props; the motion stops for visitors who prefer reduced motion.

What's included

  • Lights that follow the rounded border
  • Two glow colours and inner tint
  • Lock, arrow or spark icon badge
  • Three sizes and a full-width mode
  • Link or plain button
  • Light and dark look
  • Respects reduced motion
Type
Animated React button component
Library
Components · Button
Stack
Next.js, React, Tailwind CSS
Added
2026-09-20
Install
npx motionsnack add glow-border-button