OBJECT 001 / PAPER
View source The Envelope.
A little note worth opening. An interactive paper object with a folding flap, emerging letter, and material colourways.
FIG. 001 / THE ENVELOPECLICK TO OPEN
Click the envelope to open
COLORWAYSandstone
Early prototype. This component is still being refined. The motion, material fidelity, and interaction API may change before release.
Use it in your project.
Import the component and stylesheet from the local workspace package. It accepts your own React content and provides both controlled and uncontrolled interaction state.
React / TSX
import { Envelope } from "@tactile/objects";
import "@tactile/objects/styles.css";
export default function Note() {
return (
<Envelope tone="clay" recipient="A curious mind">
<h3>A little more magic, please.</h3>
<p>The web can feel more human.</p>
</Envelope>
);
}This package is currently available only inside the repository workspace. It has not been published to npm.
Deliberately tactile.
Physical layers
The envelope uses overlapping surfaces, a folding flap and a paper note to suggest depth.
Thoughtful interaction
Mouse, touch and keyboard can open and close the note. Reduced-motion preferences are respected.