Drastic UI Kit: 60 Copy-Paste Components
60 copy-paste components, including an Interaction Lab and Frontier set with particle type, a pluckable string slider, physics chips, a 3D tag globe, and a live water simulation.

Drastic UI Kit has 60 copy-paste components, from interface essentials to interactive editors and controls. In the Interaction Lab, you can shape an easing curve, reroute signals, or program a drum loop before copying the source. The Frontier set goes further with simulations you can touch: particles, strings, gravity, water, and paper folds.
Open the live preview to use them. Each card has the working piece and HTML, CSS, and JS buttons. The script is omitted when the piece is CSS only. Paste a snippet into a page that loads Manrope and Instrument Serif, or leave the fallbacks.
The accent is one vermillion, #ff5a1f, on warm paper and near-black. Swap that color if the rest of the product already has a voice.
Sequence
01 Buttons — Shine sweep, border beam, arrow swap, hold to confirm.
02 Text — Shimmer headline, draw underline, flip words, count up.
03 Cards — Border spotlight, tilt glare, reveal note, glass stack.
04 Navigation — Pill tabs, magnify dock, command field, sliding rail.
05 Forms — Floating label, one-time code, billing segment, spring switch.
06 Feedback — Toast stack, progress ring, skeleton resolve, live badge.
07 Overlays — Confirm dialog, tooltip, staggered menu, announcement bar.
08 Motion — Logo marquee, soft accordion, before / after, project list.
09 Surfaces — Aurora wash, dot spotlight, paper grain, beam frame.
10 Data — Stat bento, avatar stack, step timeline, star rating.
11 Interaction Lab — Easing workbench, release replay, step sequencer, signal patch bay, priority stack, annotation map, command wheel, breakpoint studio, contrast workbench, and allocation mixer.
12 Frontier — Particle type, plucked range, gravity chips, detent dial, fisheye timeline, orbit tags, dust delete, fold-out map, gesture pad, and liquid surface.
Shine sweep
<button class="ddk-shine" type="button">
<span>Start free trial</span>
</button>
.ddk-shine {
position: relative;
isolation: isolate;
overflow: hidden;
border: 0;
border-radius: 999px;
padding: 0.9rem 1.45rem;
background: #16130f;
color: #f6f1e7;
font: 600 0.95rem/1 Manrope, system-ui, sans-serif;
letter-spacing: -0.02em;
cursor: pointer;
}
.ddk-shine span { position: relative; z-index: 1; }
.ddk-shine::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.55) 48%, transparent 64%);
transform: translateX(-130%);
}
.ddk-shine:hover::after {
transform: translateX(130%);
transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
Pill tabs
The thumb is a sibling, not a background on the button, so it can travel between labels. The script reads offsetLeft and offsetWidth after fonts load.
<div class="ddk-tabs" role="tablist" aria-label="Sections">
<span class="ddk-tabs-pill" aria-hidden="true"></span>
<button type="button" role="tab" aria-selected="true">Overview</button>
<button type="button" role="tab" aria-selected="false">Motion</button>
<button type="button" role="tab" aria-selected="false">Code</button>
</div>
.ddk-tabs {
position: relative;
display: inline-flex;
padding: 4px;
border-radius: 999px;
background: #efeae2;
}
.ddk-tabs-pill {
position: absolute;
top: 4px;
left: 0;
height: calc(100% - 8px);
border-radius: 999px;
background: #fff;
box-shadow: 0 1px 2px rgba(22, 19, 15, 0.08);
transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ddk-tabs button {
position: relative;
z-index: 1;
border: 0;
background: transparent;
padding: 0.55rem 0.95rem;
border-radius: 999px;
font: 600 0.86rem/1 Manrope, system-ui, sans-serif;
cursor: pointer;
}
.ddk-tabs button[aria-selected="true"] { color: #16130f; }
const tabs = document.querySelector(".ddk-tabs");
const buttons = [...tabs.querySelectorAll("[role='tab']")];
const pill = tabs.querySelector(".ddk-tabs-pill");
function move(btn) {
pill.style.width = btn.offsetWidth + "px";
pill.style.transform = "translateX(" + btn.offsetLeft + "px)";
}
buttons.forEach((btn) => {
btn.addEventListener("click", () => {
buttons.forEach((item) => {
item.setAttribute("aria-selected", item === btn ? "true" : "false");
});
move(btn);
});
});
move(buttons[0]);
The live preview has working demos and copyable source for all 60 components.