Kodza

3D Press Button

A button with real thickness: the face sinks into its base, even the quickest tap goes all the way down, and it springs back with a small bounce. A keycap, a brutalist slab, or a toggle that stays down.

Buttons No dependencies buttonpress3dclicktoggle Added Oct 2026
/anim/press-button/ Fullscreen

With your AI

Just ask.

Say it to your AI. It gets the exact code below, not its best guess, and knows where it goes.

Add the Kodza 3D Press Button to my page.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-press-button.html
<button class="kodza-press-button" type="button">
  <span class="kodza-press-button__face">Deploy on Friday</span>
</button>

<button class="kodza-press-button kodza-press-button--offset" type="button">
  <span class="kodza-press-button__face">Push to prod</span>
</button>

<button class="kodza-press-button" type="button" aria-pressed="false">
  <span class="kodza-press-button__face">
    <span class="kodza-press-button__dot" aria-hidden="true"></span>
    Mute Slack
  </span>
</button>

Checked

Checked before you paste.

Robots poked at it before you did. Every component goes through the same checks, and again each time it changes.

What ranLast run
Accessibilityaxe-core 4.10.2: the WCAG 2.1 A and AA rules, plus best practices. 0 issues
KeyboardThe Tab key gets there, and the focus ring shows when it does. Passed
Reduced motionTurn on reduced motion and what moved just appears. Nothing loops. Passed
Light and darkThe same checks on both themes, contrast included. Passed
WordPressPasted into Twenty Twenty-Five, Twenty Twenty-One, Astra, Blocksy, GeneratePress, Hello Elementor, Kadence and OceanWP. Nothing to flag. 8 / 8 themes
Robots checked this. A human with VoiceOver hasn't yet.
KeyboardPress them in the preview
On the toggle
  • Flips it, the face stays down while it is onEnter/Space
On the button
  • Presses the face down, springs back on releaseEnter/Space

More like this

More in Buttons