mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
43 lines
1.1 KiB
HTML
Vendored
43 lines
1.1 KiB
HTML
Vendored
<!--
|
|
Button Group - remocn-inspired UI primitive for HyperFrames.
|
|
|
|
Paste the markup and CSS into a composition. Animate the CSS variables
|
|
from a paused GSAP timeline for deterministic video renders.
|
|
-->
|
|
|
|
<div class="hf-ui-button-group" role="group" aria-label="Export mode">
|
|
<button type="button">Draft</button>
|
|
<button type="button" aria-pressed="true">Final</button>
|
|
<button type="button">Archive</button>
|
|
</div>
|
|
|
|
<style>
|
|
.hf-ui-button-group {
|
|
display: inline-flex;
|
|
padding: 4px;
|
|
border: 1px solid #e4e4e7;
|
|
border-radius: 12px;
|
|
background: #f4f4f5;
|
|
font-family: Inter, system-ui, sans-serif;
|
|
}
|
|
.hf-ui-button-group button {
|
|
height: 36px;
|
|
padding: 0 15px;
|
|
border: 0;
|
|
border-radius: 9px;
|
|
background: transparent;
|
|
color: #52525b;
|
|
font-weight: 800;
|
|
}
|
|
.hf-ui-button-group button[aria-pressed="true"] {
|
|
background: #18181b;
|
|
color: #fff;
|
|
box-shadow: 0 10px 24px rgba(24, 24, 27, 0.18);
|
|
}
|
|
</style>
|
|
|
|
<!--
|
|
Timeline integration:
|
|
tl.fromTo('.hf-ui-button-group button[aria-pressed="true"]', { scale: 0.92 }, { scale: 1, duration: 0.28, ease: 'back.out(1.7)' }, startTime);
|
|
-->
|