Black Friday is here 🔥 Get Wensity Pro for 20% less with

Tactile Keyboard

Pro

A 65% QWERTY board with real key travel, live shift legends, and five colorways.

css 3d3dcsskeyboardkeystactilehover
Tactile Keyboard component preview

Overview

Tactile Keyboard is a React and Tailwind CSS 65 percent mechanical keyboard with real key travel, in Next.js or any React app, with no dependencies. Caps float above visible switch housings and press down onto them, shift legends update live, and the board scales fluidly with container query units instead of media queries. Switch sound is synthesized in the Web Audio API from filtered noise in thock, click, or linear profiles, so there is no audio file to host. Five colorways, tilt, and travel are props, it can mirror your real keyboard, and listeners pause off screen.

Installation

Run the following command

~/your-project
pnpm dlx wensity@latest add tactile-keyboard

Usage

Import TactileKeyboard from @/components/wensity/tactile-keyboard and render it anywhere in your React or Next.js app. The source lands in your own repo, so every prop, class and animation below is yours to edit.

app/example.tsx
"use client";
import { useState } from "react";
import { TactileKeyboard } from "@/components/wensity/tactile-keyboard";
export default function Example() {
const [typed, setTyped] = useState("");
return (
<TactileKeyboard
theme="graphite"
tilt={11}
travel={4}
onKeyPress={(event) => {
if (event.code === "Backspace") setTyped((t) => t.slice(0, -1));
else if (event.code === "Space") setTyped((t) => t + " ");
else if (event.legend.length === 1) setTyped((t) => t + event.legend);
}}
/>
);
}

Props

PropTypeDefaultDescription
theme"graphite" | "glacier" | "ivory" | "ember" | "moss""graphite"Keycap and case colorway.
tiltnumber11Forward tilt of the case in degrees, clamped to 0–20.
travelnumber4Key travel distance in pixels, clamped to 1–10.
physicalKeysbooleantrueMirror real keyboard events onto the board.
accentKeysbooleantruePaint Esc and Enter in the colorway's accent tone.
soundbooleantruePlay a synthesized switch sound on press and release. No audio file to host.
soundProfile"thock" | "click" | "linear""thock"Switch sound character. Wide caps ring lower, and every press is slightly detuned.
volumenumber0.45Sound volume from 0 to 1.
onKeyPress(event: TactileKeyPressEvent) => void-Fires once per key-down, from on-screen or physical input.
  • Split-Flap Display component preview

    Split-Flap Display

    A ceramic and graphite split-flap device that ripples each flap into your message.

  • Interactive 3D Globe component preview

    Interactive 3D Globe

    A 3D Earth lit day and night from the real sun position, wrapped in a soft atmosphere, with smooth drag-to-orbit controls.

  • Animated Code Diff Viewer component preview

    Animated Code Diff Viewer

    Inline or toggled code diffs rendered inside the same polished code block frame, flipping between before and after.

  • Animated Terminal component preview

    Animated Terminal

    A terminal UI with self-typing commands, CRT phosphor glow and scanlines, streaming output that never re-renders a line.

Featured in React 3D components.