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

71 lines
1.4 KiB
HTML
Vendored

<!--
Table - 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.
-->
<table class="hf-ui-table">
<thead>
<tr>
<th>Scene</th>
<th>Status</th>
<th>Time</th>
</tr>
</thead>
<tbody>
<tr>
<td>Intro</td>
<td>Ready</td>
<td>0:04</td>
</tr>
<tr>
<td>Demo</td>
<td>Rendering</td>
<td>0:12</td>
</tr>
<tr>
<td>CTA</td>
<td>Queued</td>
<td>0:03</td>
</tr>
</tbody>
</table>
<style>
.hf-ui-table {
width: 520px;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
border: 1px solid #e4e4e7;
border-radius: 12px;
background: #fff;
color: #18181b;
font-family: Inter, system-ui, sans-serif;
box-shadow: 0 18px 48px rgba(24, 24, 27, 0.1);
}
.hf-ui-table th,
.hf-ui-table td {
padding: 13px 16px;
text-align: left;
border-bottom: 1px solid #f1f1f4;
font-size: 14px;
}
.hf-ui-table th {
background: #fafafa;
color: #71717a;
font-size: 12px;
font-weight: 850;
text-transform: uppercase;
}
.hf-ui-table tr:last-child td {
border-bottom: 0;
}
</style>
<!--
Timeline integration:
tl.fromTo('.hf-ui-table tbody tr', { opacity: 0, y: 12 }, { opacity: 1, y: 0, duration: 0.24, stagger: 0.08, ease: 'power2.out' }, startTime);
-->