53 Free CSS Button Styles — HTML & React
ProofMatcher offers 53 free CSS button components with HTML, CSS and React code. No signup. Free for commercial use.
Gradient Button
.btn-grad {
background: linear-gradient(135deg, #e53e3e, #9b2c2c);
color: #fff;
padding: 12px 28px;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: opacity .2s;
}
.btn-grad:hover { opacity: .85; }
Glassmorphism Button
.btn-glass {
background: rgba(255,255,255,.07);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,.15);
color: #fff;
padding: 12px 28px;
border-radius: 10px;
cursor: pointer;
}
Neon Glow Button
.btn-neon {
border: 2px solid #00ffcc;
color: #00ffcc;
background: transparent;
padding: 12px 28px;
border-radius: 6px;
box-shadow: 0 0 12px rgba(0,255,204,.35);
cursor: pointer;
transition: box-shadow .3s;
}
.btn-neon:hover { box-shadow: 0 0 28px rgba(0,255,204,.65); }
3D Press Button
.btn-3d {
background: #e53e3e;
color: #fff;
padding: 12px 28px;
border: none;
border-radius: 8px;
box-shadow: 0 6px 0 #9b2c2c;
cursor: pointer;
transition: transform .1s, box-shadow .1s;
}
.btn-3d:active { transform: translateY(4px); box-shadow: 0 2px 0 #9b2c2c; }
React Button Component
const GradButton = ({ children, onClick }) => (
<button
onClick={onClick}
style={{
background: 'linear-gradient(135deg,#e53e3e,#9b2c2c)',
color: 'white', padding: '12px 28px',
border: 'none', borderRadius: 8,
cursor: 'pointer', fontWeight: 600
}}
>
{children}
</button>
);
Accessibility
Always add :focus-visible outline and use semantic <button> not <div>.
.btn:focus-visible { outline: 2px solid #e53e3e; outline-offset: 3px; }
Get All 53 CSS Buttons Free
Browse gradient, glassmorphism, neon, outlined, pill-shaped, icon, loading-state and animated buttons.
➡ proofmatcher.com/components/category/buttons
Also free: Form Templates · Checkboxes · 197 Website Templates
Top comments (0)