Skip to content

Apple Style Button

Clean, minimal button inspired by Apple's design language

Apple Style Button

by FreeCsStyles Dev's

BrandApple
🌐🎨⚛️💚🅰️🔥☁️
#apple#minimal#premium#clean#ios#macos

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/apple-button.

<iframe src="/embed/apple-button" sandbox="allow-scripts" loading="lazy" title="Apple Style Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Apple Style Button, or grab a framework-specific implementation. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.

HTML
<button class="apple-button">Learn More</button>
CSS
.apple-button {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background: white;
  color: black;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apple-button:hover {
  transform: scale(1.05);
}

.apple-button:active {
  transform: scale(0.98);
}
Tailwind CSS
<button class="px-8 py-3 rounded-full bg-white text-black font-medium transition-all hover:scale-105">
  Learn More
</button>
LWC — HTML template
<template>
  <button class="apple-button" onclick={handleClick}>
    <slot>Learn More</slot>
  </button>
</template>
LWC — JavaScript
import { LightningElement, api } from 'lwc';

export default class AppleButton extends LightningElement {
  @api label = 'Learn More';
  
  handleClick() {
    this.dispatchEvent(new CustomEvent('buttonclick', {
      bubbles: true,
      composed: true
    }));
  }
}
LWC — CSS
.apple-button {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background: white;
  color: black;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apple-button:hover {
  transform: scale(1.05);
}

.apple-button:active {
  transform: scale(0.98);
}
LWC — Configuration
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
  <apiVersion>59.0</apiVersion>
  <isExposed>true</isExposed>
  <targets>
    <target>lightning__AppPage</target>
    <target>lightning__RecordPage</target>
    <target>lightning__HomePage</target>
  </targets>
</LightningComponentBundle>

Where Apple Style Button fits

  • Apple-style UI
  • Premium Apps
  • Clean Interfaces
  • Marketing

Interaction states & animations

  • Hover
  • Scale

Topics

  • #apple
  • #minimal
  • #premium
  • #clean
  • #ios
  • #macos

Accessibility notes

Follow Apple HIG guidelines. Ensure touch target is at least 44x44px.

Browser support

  • All browsers