Motion & Effects CSS Keyframes Radial Shimmer 60 FPS Tailwind v4

Shimmer Button

High-performance glowing shimmer button with animated radial light sweep across the surface.

Interactive Preview

Live Edit & Viewport Resizer
Variants:

Installation

Add the Shimmer Button component to your project via CLI:

terminal bash
npx plain-ui add shimmer-button

Features

  • Continuous radial light sweep across button face
  • Rich glow aura on hover and click
  • Fully customizable color palettes (Cosmic Purple, Emerald, Blue, Dark)
  • Zero JavaScript dependencies

Variants & Examples

Emerald Shimmer CTA

High-conversion emerald green shimmer button.

shimmer-button-emerald-shimmer-cta.html html
<div class="flex items-center justify-center p-6">
  <button class="group relative inline-flex items-center justify-center px-6 py-3 text-sm font-semibold text-white rounded-lg bg-emerald-950 border border-emerald-800/80 shadow-lg shadow-emerald-950/50 hover:shadow-emerald-500/20 active:scale-95 transition-all overflow-hidden cursor-pointer">
    <div class="absolute inset-0 -translate-x-full group-hover:translate-x-full duration-1000 bg-gradient-to-r from-transparent via-emerald-400/25 to-transparent transition-transform pointer-events-none"></div>
    <span class="relative z-10 flex items-center gap-2 text-emerald-100 font-medium">
      <svg class="w-4 h-4 text-emerald-400" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/></svg>
      Upgrade Workspace
    </span>
  </button>
</div>

Attributes & Classes

Attribute / Prop Type Default Description
aria-label string - Accessibility label for screen reader users.

Accessibility & Keyboard Navigation

  • Fully operable via keyboard Space and Enter keys.
  • High-contrast text guarantees WCAG 2.2 AA legibility.
Components
#
Button
Interactive button primitives with rich visual variants, loading spinners, icons, and keyboard accessibility.
Core Primitives
#
Dialog
Native HTML <dialog> modal with backdrop blur, @starting-style entry animations, and accessible focus trapping.
Overlays & Modals
#
Popover
Native HTML Popover API (popover='auto') with zero JavaScript, CSS anchor positioning, and automatic light dismiss.
Overlays & Modals
#
Floating Label Input
Modern animated floating label form controls utilizing HTML5 placeholder-shown pseudo-class and Tailwind peer selectors.
Forms & Inputs
#
Border Beam
Dynamic glowing animated border beam gradient traveling continuously around cards and containers using pure CSS animations.
Motion & Effects
#
Shimmer Button
High-performance glowing shimmer button with animated radial light sweep across the surface.
Motion & Effects
#
Dock
macOS-inspired interactive dock with smooth pointer proximity magnification physics, hover tooltips, and app status dots.
Layout & Navigation
#
Bento Grid
Modern modular 12-column asymmetric bento box layout with spotlight card glow, metric widgets, and responsive auto-fitting.
Layout & Surfaces
#
Accordion
Pure HTML <details> and <summary> accordion with smooth height expansion animation and animated rotating chevrons.
Core Primitives
#
Tabs
Accessible, keyboard-navigable tab system with animated indicator slider and light-DOM panels.
Layout & Navigation
Getting Started
📖
Getting Started & Tailwind v4 Setup
Quick start guide and architecture overview
Navigate Select
Plain UI Search