Button Generator

Create beautiful, customizable buttons with icons. Perfect for your web projects.

Preview

Generated Code

CSS
.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  background-color: #f59e0b;
  border: 2px solid #f59e0b;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 200ms ease-in-out;
  outline: none;
}

.custom-button:hover {
  background-color: #d97706;
  color: #1f2937;
  border-color: #d97706;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.custom-button:active {
  transform: scale(0.95);

}

.custom-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
HTML
<button class="custom-button">
  Click me
</button>

Style

Size

Content

Colors

Effects

Advanced