Button Components

A complete collection of beautiful, accessible button styles. Click any component to preview, then copy the code instantly.

14 Components Pure CSS No JS Required
Gradient Popular

A vibrant multi-color gradient button with smooth hover transition.

<button class="gradient-btn">Click Me</button>

.gradient-btn {
  padding: 10px 24px;
  border: none;
  color: white;
  background: linear-gradient(45deg, #eb6835, #6c5ce7);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.gradient-btn:hover { opacity: 0.85; transform: translateY(-2px); }
Outline Essential

A clean border-only button — great for secondary actions.

<button class="outline-btn">Click Me</button>

.outline-btn {
  padding: 10px 24px;
  border: 2px solid #eb6835;
  background: transparent;
  color: #eb6835;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.outline-btn:hover { background: #eb6835; color: #fff; }
Neon Trending

A glowing neon-style button perfect for dark themed UIs.

<button class="neon-btn">Glow</button>

.neon-btn {
  padding: 10px 24px;
  background: transparent;
  color: #00ffe0;
  border: 1.5px solid #00ffe0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.neon-btn:hover { box-shadow: 0 0 16px #00ffe0, 0 0 40px rgba(0,255,224,0.3); }
Glass Trending

A frosted-glass effect button with backdrop blur.

<button class="glass-btn">Glass</button>

.glass-btn {
  padding: 10px 24px;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.glass-btn:hover { background: rgba(255,255,255,0.25); }
Shadow Popular

A soft shadow button with a satisfying lift on hover.

<button class="shadow-btn">Lift</button>

.shadow-btn {
  padding: 10px 24px;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: 0.3s;
}
.shadow-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.15); }
Pill Essential

A fully pill-shaped button — modern and approachable.

<button class="rounded-btn">Rounded</button>

.rounded-btn {
  padding: 10px 28px;
  background: #eb6835;
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.rounded-btn:hover { background: #d45c28; transform: translateY(-2px); }
Icon Essential

A compact circular icon button for toolbars and action menus.

<button class="icon-btn">★</button>

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #eb6835;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(235,104,53,0.4); }
Success Status

A green success button — ideal for confirmations and completed actions.

<button class="success-btn">✓ Success</button>

.success-btn {
  padding: 10px 24px;
  background: #00b894;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.success-btn:hover { background: #00a381; transform: translateY(-2px); }
Danger Status

A red danger/error button for destructive actions.

<button class="danger-btn">⚠ Danger</button>

.danger-btn {
  padding: 10px 24px;
  background: #d63031;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.danger-btn:hover { background: #b52828; transform: translateY(-2px); }
Warning Status

An amber warning button for caution states.

<button class="warning-btn">⚠ Warning</button>

.warning-btn {
  padding: 10px 24px;
  background: #fdcb6e;
  color: #333;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.warning-btn:hover { background: #e6b85c; transform: translateY(-2px); }
Loading Popular

A disabled loading state button with an animated spinner.

<button class="loading-btn" disabled>
  <span class="spinner"></span> Loading...
</button>

.loading-btn {
  padding: 10px 24px;
  background: #6c5ce7;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
3D Trending

A tactile 3D push-down button with a solid shadow base.

<button class="btn-3d">3D Effect</button>
Gradient Border Modern

A sleek transparent button with animated gradient border.

<button class="gradient-border-btn">Explore</button>
Shine Popular

Elegant shine animation passing across the button on hover.

<button class="shine-btn">Get Started</button>
Soft UI Premium

Modern neumorphism button with soft inner shadows.

<button class="soft-btn">Soft UI</button>
Arrow Slide Interactive

Animated arrow movement for modern CTA interactions.

<button class="slide-btn">Continue</button>
Premium Dark Premium

Luxury dark UI button with premium glossy finish.

<button class="premium-btn">Premium</button>
Cyberpunk Futuristic

Futuristic neon cyberpunk-inspired glowing button.

<button class="cyber-btn">Launch</button>

.cyber-btn{
  padding:12px 28px;
  background:#0f0f0f;
  color:#00f7ff;
  border:2px solid #00f7ff;
  border-radius:10px;
  text-transform:uppercase;
  letter-spacing:2px;
  cursor:pointer;
  transition:.3s;
  box-shadow:0 0 10px #00f7ff44;
}
.cyber-btn:hover{
  background:#00f7ff;
  color:#111;
  box-shadow:0 0 18px #00f7ff,
             0 0 45px #00f7ff88;
}
Liquid Premium

Smooth liquid hover animation with modern UI feel.

<button class="liquid-btn">Liquid</button>

.liquid-btn{
  position:relative;
  overflow:hidden;
  padding:12px 30px;
  border:none;
  border-radius:8px;
  background:#6c5ce7;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  z-index:1;
}
.liquid-btn::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:rgba(255,255,255,0.25);
  transition:.5s;
}
.liquid-btn:hover::before{
  left:100%;
}
Metallic Luxury

Elegant chrome metallic button with glossy highlights.

<button class="metal-btn">Metal</button>

.metal-btn{
  padding:12px 28px;
  border:none;
  border-radius:10px;
  background:linear-gradient(
    145deg,
    #f0f0f0,
    #bcbcbc
  );
  color:#222;
  font-weight:700;
  cursor:pointer;
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 14px rgba(0,0,0,.2);
  transition:.3s;
}
.metal-btn:hover{
  transform:translateY(-2px);
}
Expand Interactive

Button smoothly expands width on hover interaction.

<button class="expand-btn">Hover Me</button>

.expand-btn{
  width:140px;
  padding:12px 20px;
  border:none;
  border-radius:8px;
  background:#eb6835;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.35s ease;
}
.expand-btn:hover{
  width:180px;
  letter-spacing:1px;
}
Glass Neon Modern

Combines glassmorphism and neon glow beautifully.

<button class="glass-neon-btn">Future</button>

.glass-neon-btn{
  padding:12px 28px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  color:#00ffe0;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}
.glass-neon-btn:hover{
  box-shadow:
    0 0 18px #00ffe0,
    0 0 36px rgba(0,255,224,.35);
}
Gradient Glow Hot

Animated glowing gradient CTA button.

<button class="gradient-glow-btn">Start Now</button>

.gradient-glow-btn{
  padding:12px 30px;
  border:none;
  border-radius:10px;
  background:linear-gradient(
    45deg,
    #ff6b6b,
    #6c5ce7,
    #00cec9
  );
  background-size:300%;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition:.4s;
  animation:gradientMove 5s infinite linear;
}
.gradient-glow-btn:hover{
  box-shadow:0 0 20px rgba(108,92,231,.5);
}

@keyframes gradientMove{
  0%{background-position:0%}
  100%{background-position:300%}
}
Underline Minimal

Elegant text button with animated underline effect.

<button class="underline-btn">Learn More</button>

.underline-btn{
  background:none;
  border:none;
  color:#111;
  font-size:16px;
  font-weight:600;
  position:relative;
  cursor:pointer;
}
.underline-btn::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:2px;
  background:#eb6835;
  transition:.3s;
}
.underline-btn:hover::after{
  width:100%;
}
Floating Animated

Soft floating animation with subtle movement.

<button class="floating-btn">Floating</button>

.floating-btn{
  padding:12px 28px;
  border:none;
  border-radius:10px;
  background:#6c5ce7;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  animation:floatBtn 2.2s ease-in-out infinite;
}

@keyframes floatBtn{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-6px);
  }
}
Ripple Material

Material-inspired ripple hover interaction.

<button class="ripple-btn">Ripple</button>
Neon Glow Trending

RGB neon glow animation with floating back-shadow on hover.

<button class="neon-glow-btn">Glow Flow</button>
Magnetic Hover Tactile

Sleek tactile button that responds dynamically to cursor proximity.

<button class="magnetic-hover-btn">Pull Me</button>
Glassmorphism Premium

Stunning glassmorphic frosted button with custom borders and hover shine sweep.

<button class="glassmorphism-btn">Frosted Glass</button>
Ripple Effect Popular

Material-style dynamic ripple circle originating from the click coordinate.

<button class="ripple-effect-btn">Click Me</button>
Loading State Interactive

Beautiful button with interactive spinner loading state and complete success feedback.

<button class="loading-state-btn" onclick="triggerLoadingState(this)">
  <span class="spinner-icon"></span>
  <span class="btn-text">Submit Order</span>
</button>
Aurora Animated

A flowing multicolor gradient button with a luminous hover lift.

<button class="aurora-btn">Explore</button>
Jelly Playful

A soft playful button that squashes and springs on hover.

<button class="jelly-btn">Bounce</button>
Outline Fill Clean

A crisp outlined button that fills from left to right on hover.

<button class="outline-fill-btn">Discover</button>
Split Icon Utility

A practical action button with a separated icon segment.

<button class="split-icon-btn">
  <span>Download</span>
  <i class="fa-solid fa-download"></i>
</button>
Border Draw Elegant

A refined button whose border traces itself into view on hover.

<button class="border-draw-btn">Contact Us</button>