Brutalist Button
Bold, raw design with sharp edges and high contrast
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/brutalist-button.
<iframe src="/embed/brutalist-button" sandbox="allow-scripts" loading="lazy" title="Brutalist Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Brutalist 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="brutalist-button">BRUTALIST</button>CSS
.brutalist-button {
padding: 1rem 2rem;
background: white;
color: black;
font-weight: 900;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.15em;
border: 4px solid black;
cursor: pointer;
box-shadow: 6px 6px 0 #000;
transition: all 0.1s ease;
}
.brutalist-button:hover {
transform: translate(-3px, -3px);
box-shadow: 9px 9px 0 #000;
}
.brutalist-button:active {
transform: translate(3px, 3px);
box-shadow: 2px 2px 0 #000;
}Tailwind CSS
<button class="px-8 py-4 bg-white text-black font-black text-sm uppercase tracking-widest border-4 border-black shadow-[6px_6px_0_#000] hover:translate-x-[-3px] hover:translate-y-[-3px] hover:shadow-[9px_9px_0_#000] active:translate-x-[3px] active:translate-y-[3px] active:shadow-[2px_2px_0_#000] transition-all">
BRUTALIST
</button>LWC — HTML template
<template>
<button class="brutalist-button" onclick={handleClick}>
<slot>BRUTALIST</slot>
</button>
</template>LWC — JavaScript
import { LightningElement, api } from 'lwc';
export default class BrutalistButton extends LightningElement {
@api label = 'BRUTALIST';
handleClick() {
this.dispatchEvent(new CustomEvent('buttonclick', {
bubbles: true,
composed: true
}));
}
}LWC — CSS
.brutalist-button {
padding: 1rem 2rem;
background: white;
color: black;
font-weight: 900;
font-size: 0.875rem;
text-transform: uppercase;
letter-spacing: 0.15em;
border: 4px solid black;
cursor: pointer;
box-shadow: 6px 6px 0 #000;
transition: all 0.1s ease;
}
.brutalist-button:hover {
transform: translate(-3px, -3px);
box-shadow: 9px 9px 0 #000;
}
.brutalist-button:active {
transform: translate(3px, 3px);
box-shadow: 2px 2px 0 #000;
}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 Brutalist Button fits
- Editorial
- Art Sites
- Creative Portfolios
- Bold CTAs
Interaction states & animations
- Hover
- Pressed
Topics
- #brutalist
- #bold
- #raw
- #editorial
- #sharp
- #contrast
Accessibility notes
High contrast is inherently accessible. Ensure focus states are visible.
Browser support
- All browsers