Tactile Citrus Decision Modal
Tactile Citrus kit
A real <button> carrying .btn-duck-yellow — the preview is the stylesheet, not a picture of it.
.btn-duck-yellow {
display: inline-block;
padding: 14px 30px;
border: 3px solid #451a03;
border-radius: 16px;
background: #fbbf24;
color: #451a03;
font-family: inherit;
font-size: 16px;
font-weight: 800;
cursor: pointer;
box-shadow: 4px 4px 0 #451a03;
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-duck-yellow:hover {
background: #f59e0b;
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0 #451a03;
}
.btn-duck-yellow:active {
transform: translate(4px, 4px);
box-shadow: 0 0 0 #451a03;
}
.btn-duck-yellow:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
Implementation notes
Duck Yellow uses expressive color, shape and feedback for characterful products. Its rounded corners balance product-friendly softness with a clear boundary. It combines a 3px border and a 150ms hover shift. The interaction stays intentionally restrained.
Usage
<button class="btn-duck-yellow">Quack</button>Pair it with the CSS tab above — the class is self-contained.
:focus-visible state. If you retain motion, include a prefers-reduced-motion override.We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Tactile Citrus kit
Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does