Components

Glow Button

A pill button floating over a soft, colorful glow that sharpens on hover.

A pill button that floats over a soft, colorful glow — red, amber, violet and cyan blurred together. On hover the glow sharpens, the button lifts, and a chevron slides through its slot. It is a real <button>, so onClick, type, disabled, and refs all work. Pure CSS.

New tab

Installation

pnpm dlx shadcn@latest add @tween-ui/glow-button

Usage

app/page.tsx
app/page.tsx
import GlowButton from '@/components/tweenui/button/glow-button';
 
export default function Page() {
  return <GlowButton onClick={() => console.log('clicked')}>Get started</GlowButton>;
}

Props

Extends every native <button> attribute (onClick, type, disabled, ref, …).

PropTypeDefaultDescription
childrenReactNode—Button label.
type'button' | 'submit' | 'reset''button'Native button type.
classNamestring—Merged with the base styles.

Accessibility

It renders a native <button>, so keyboard and screen-reader behaviour come for free, with a visible focus ring. The glow and chevrons are decorative (aria-hidden) and hold still under prefers-reduced-motion: reduce.