Midnight System Decision Modal
Midnight System kit
A real <button> carrying .btn-bracket-hint — the preview is the stylesheet, not a picture of it.
.btn-bracket-hint {
display: inline-block;
padding: 12px 10px;
border: none;
background: transparent;
color: #e2e8f0;
font-family: inherit;
font-size: 15px;
font-weight: 600;
cursor: pointer;
}
.btn-bracket-hint::before {
content: "[";
display: inline-block;
margin-right: 10px;
color: #38bdf8;
opacity: 0;
transform: translateX(10px);
transition: opacity 0.25s ease, transform 0.25s ease;
}
.btn-bracket-hint::after {
content: "]";
display: inline-block;
margin-left: 10px;
color: #38bdf8;
opacity: 0;
transform: translateX(-10px);
transition: opacity 0.25s ease, transform 0.25s ease;
}
.btn-bracket-hint:hover::before,
.btn-bracket-hint:hover::after {
opacity: 1;
transform: translateX(0);
}
.btn-bracket-hint:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
Implementation notes
Bracket Hint uses a lightweight treatment that keeps secondary actions visible. Its square geometry creates a compact, precise control. The icon fx details are included in the copy-paste CSS.
Usage
<button class="btn-bracket-hint">Button</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.
Midnight System kit
Midnight System kit
Midnight System kit
Midnight System kit
Midnight System kit
Midnight System 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