Files
hyperframes/registry/components/item/item.html
T

58 lines
1.2 KiB
HTML
Vendored

<!--
Item - 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-item">
<span class="hf-ui-item-icon">A</span>
<div>
<strong>Audio synced</strong>
<p>Beat grid detected</p>
</div>
<em>Now</em>
</div>
<style>
.hf-ui-item {
display: grid;
grid-template-columns: 42px 1fr auto;
align-items: center;
gap: 12px;
width: 420px;
padding: 12px;
border: 1px solid #e4e4e7;
border-radius: 12px;
background: #fff;
color: #18181b;
font-family: Inter, system-ui, sans-serif;
}
.hf-ui-item-icon {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border-radius: 10px;
background: #eef2ff;
color: #4338ca;
font-weight: 900;
}
.hf-ui-item p {
margin: 4px 0 0;
color: #71717a;
font-size: 13px;
}
.hf-ui-item em {
color: #71717a;
font-style: normal;
font-size: 12px;
font-weight: 800;
}
</style>
<!--
Timeline integration:
tl.fromTo('.hf-ui-item', { opacity: 0, x: -14 }, { opacity: 1, x: 0, duration: 0.26, ease: 'power2.out' }, startTime);
-->