Buttons & actions / Buttons

Full-Width Ink Button

Rectangular near-black (#0f0e12) block, no radius, with centered light white lowercase label at 26px.

Rebuilt from teenage.engineering/newsletter in the Embossed Lab Monochrome style.

npx shadcn@latest add https://justyoink.it/r/embossed-lab-monochrome/blocks/solid-block-button.json

Looks exactly like teenage.engineering: brings its fonts and colours, namespaced so your own theme stays untouched.

Usage

Props: label (string), onClick, type ("button" | "submit"), disabled. It fills its container's width; place it inside a form column to span the fields.

components/solid-block-button.tsx
import { useState } from "react";

export default function FullWidthInkButton({
  label = "send message",
  onClick,
  type = "button",
  disabled = false,
}: {
  label?: string;
  onClick?: () => void;
  type?: "button" | "submit";
  disabled?: boolean;
}) {
  const [count, setCount] = useState(0);
  return (
    <div className="w-full max-w-[720px] mx-auto px-4 py-8 bg-canvas">
      <button
        type={type}
        disabled={disabled}
        onClick={() => {
          setCount((c) => c + 1);
          onClick?.();
        }}
        className="block w-full h-[74px] rounded-none bg-ink text-white font-sans font-light text-[26px] leading-none tracking-[-0.01em] lowercase text-center transition-[transform,opacity] duration-[250ms] ease-out hover:opacity-80 active:scale-[0.985] active:translate-y-px focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ink disabled:opacity-40 disabled:pointer-events-none motion-reduce:transition-none"
      >
        {label}
      </button>
      <p className="sr-only" aria-live="polite">
        {count > 0 ? `Pressed ${count} times` : ""}
      </p>
    </div>
  );
}

Quality checks

Automated, in a real browser · today
—

More from Embossed Lab Monochrome

The whole style →

Pictogram Mega Nav Bar

Headers & nav bars

Centered Link Footer

Footers

Embossed Advent Tile Grid

Feature sections

Embossed Relief Tile

Cards

Centered Uppercase Intro Panel

Heroes

Quiet Countdown Readout

Stats & metrics