Skip to content

Swiss Editorial Button

Typography-first minimalist Swiss design with thin borders, strict alignment, and monochrome palette

Swiss Editorial Button

by FreeCsStyles Dev's

EditorialSwiss Design
🌐🎨⚛️💚🅰️🔥☁️
#swiss#editorial#typography#minimal#monochrome#clean

Embed this component

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

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

Implementation code

Copy the HTML and CSS for Swiss Editorial 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="swiss-button">Swiss</button>
CSS
.swiss-button {
  padding: 1rem 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: transparent;
  color: #f1f5f9;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.swiss-button:hover {
  background: #ffffff;
  color: #000000;
  border-bottom-color: #ffffff;
}

.swiss-button:active {
  opacity: 0.6;
}
Tailwind CSS
<button class="px-8 py-4 font-bold tracking-tight bg-transparent text-white border-b-2 border-white/20 hover:bg-white hover:text-black hover:border-white active:opacity-60 transition-all duration-150 rounded-none">
  Swiss
</button>
React
function SwissButton() {
  return (
    <motion.button
      className="px-8 py-4 font-bold tracking-tight"
      style={{ background: 'transparent', color: '#f1f5f9', borderBottom: '2px solid rgba(255,255,255,0.2)', borderRadius: 0 }}
      whileHover={{ background: '#ffffff', color: '#000000', borderBottomColor: '#ffffff' }}
      whileTap={{ opacity: 0.6 }}
      transition={{ duration: 0.15 }}
    >
      Swiss
    </motion.button>
  );
}
LWC — HTML template
<template><button class="swiss-button" onclick={handleClick}><slot>Swiss</slot></button></template>
LWC — JavaScript
import { LightningElement, api } from 'lwc';
export default class SwissButton extends LightningElement {
  @api label = 'Swiss';
  handleClick() { this.dispatchEvent(new CustomEvent('buttonclick', { bubbles: true, composed: true })); }
}
LWC — CSS
.swiss-button { padding: 1rem 2rem; font-weight: 700; letter-spacing: -0.025em; background: transparent; color: #f1f5f9; border: none; border-bottom: 2px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.15s ease-out; }
.swiss-button:hover { background: #ffffff; color: #000000; border-bottom-color: #ffffff; }
.swiss-button:active { opacity: 0.6; }
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 Swiss Editorial Button fits

  • News
  • Magazines
  • Blogs
  • Publishing

Interaction states & animations

  • Hover
  • Fade
  • Slide
  • Underline

Topics

  • #swiss
  • #editorial
  • #typography
  • #minimal
  • #monochrome
  • #clean

Accessibility notes

High contrast by default. Focus state uses thick ring to compensate for minimal design.

Browser support

  • All modern browsers