Ultra Minimal Button
Clean, borderless button with subtle hover effect
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/minimal-button.
<iframe src="/embed/minimal-button" sandbox="allow-scripts" loading="lazy" title="Ultra Minimal Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Ultra Minimal 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="minimal-button">Minimal →</button>CSS
.minimal-button {
padding: 0.75rem 1.5rem;
background: transparent;
border: none;
color: inherit;
font-weight: 500;
cursor: pointer;
transition: opacity 0.2s ease;
}
.minimal-button:hover {
opacity: 0.7;
}Tailwind CSS
<button class="px-6 py-3 font-medium transition-all hover:opacity-70 text-white">
Minimal →
</button>LWC — HTML template
<template>
<button class="minimal-button" onclick={handleClick}>
<slot>Minimal →</slot>
</button>
</template>LWC — JavaScript
import { LightningElement, api } from 'lwc';
export default class MinimalButton extends LightningElement {
@api label = 'Minimal →';
handleClick() {
this.dispatchEvent(new CustomEvent('buttonclick', {
bubbles: true,
composed: true
}));
}
}LWC — CSS
.minimal-button {
padding: 0.75rem 1.5rem;
background: transparent;
border: none;
color: inherit;
font-weight: 500;
cursor: pointer;
transition: opacity 0.2s ease;
}
.minimal-button:hover {
opacity: 0.7;
}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 Ultra Minimal Button fits
- Text Actions
- Secondary Actions
- Clean UI
- Editorial
Interaction states & animations
- Hover
- Focus
Topics
- #minimal
- #clean
- #simple
- #borderless
- #text
- #subtle
Accessibility notes
Ensure sufficient color contrast. Add underline or background on focus for visibility.
Browser support
- All browsers