Shiny Button

Shiny Button: Glossy button with high-contrast inner glow layers and a specular glint that sweeps across on every click. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Shiny Button

npx motion-ui-skill add shiny-button

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Shiny Button

Glossy button with high-contrast inner glow layers and a specular glint that sweeps across on every click.

Install

npx motion-ui-skill add shiny-button

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { ShinyButton } from "@/components/buttons/shiny-button";

export function ShinyButtonDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <ShinyButton>Click Me</ShinyButton>
    </div>
  );
}

API Reference

ShinyButton

Prop Type Default Required Description
className string — No Additional CSS classes
children React.ReactNode — No Button label content

Browse this category