The Open Standard for Generative UI
.showcase {
width: 100%;
font-family: var(--home-font-text);
}
/* The screenshots share one frame and crossfade; the frame keeps their 16:10
shape so nothing jumps between demos. */
.frame {
position: relative;
overflow: hidden;
aspect-ratio: 16 / 10;
border: 1px solid var(--openui-border-default);
border-radius: 20px;
background: #fff;
box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.28);
}
[data-theme="dark"] .frame {
box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
}
.shot {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top center;
opacity: 0;
transform: scale(1.015);
transition:
opacity 600ms ease,
transform 900ms ease;
}
.shotActive {
opacity: 1;
transform: none;
}
/* ── Chat bar ── */
.chatBar {
position: absolute;
left: 50%;
bottom: clamp(1rem, 3vw, 2rem);
display: flex;
align-items: center;
gap: 0.75rem;
width: min(620px, calc(100% - 2rem));
box-sizing: border-box;
padding: 0.5rem 0.5rem 0.5rem 1.125rem;
transform: translateX(-50%);
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 16px;
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(12px);
box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.35);
color: #0a0a0a;
text-decoration: none;
animation: barIn 450ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
transition:
box-shadow 200ms ease,
transform 200ms ease;
}
.chatBar:hover {
box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.45);
transform: translateX(-50%) translateY(-2px);
}
@keyframes barIn {
from {
opacity: 0;
transform: translateX(-50%) translateY(8px);
}
}
.chatPrompt {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.9375rem;
}
.chatHint {
flex: none;
font-size: 0.8125rem;
color: #6b6b6b;
}
.chatSend {
display: grid;
place-items: center;
flex: none;
width: 34px;
height: 34px;
border-radius: 10px;
background: #0a0a0a;
color: #fff;
}
/* ── Tabs ── */
.tabs {
display: flex;
justify-content: center;
gap: 0.25rem;
width: fit-content;
margin: 1.25rem auto 0;
padding: 0.25rem;
border: 1px solid var(--openui-border-default);
border-radius: 999px;
background: var(--openui-foreground);
}
.tab {
position: relative;
overflow: hidden;
padding: 0.5rem 1.125rem;
border: 0;
border-radius: 999px;
background: transparent;
color: var(--openui-text-neutral-secondary);
font: inherit;
font-size: 0.9375rem;
font-weight: 500;
cursor: pointer;
transition:
background 150ms ease,
color 150ms ease;
}
.tab:hover {
color: var(--openui-text-neutral-primary);
}
.tabActive {
background: var(--openui-background);
color: var(--openui-text-neutral-primary);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .tabActive {
background: #1f1f22;
}
.tabProgress {
position: absolute;
left: 0.875rem;
right: 0.875rem;
bottom: 4px;
height: 2px;
border-radius: 999px;
background: var(--openui-text-neutral-primary);
transform-origin: left;
animation: progress linear both;
}
@keyframes progress {
from {
transform: scaleX(0);
}
to {
transform: scaleX(1);
}
}
@media (prefers-reduced-motion: reduce) {
.shot,
.chatBar,
.tabProgress {
animation: none;
transition: none;
}
}
@media (max-width: 767px) {
.frame {
border-radius: 14px;
}
.chatBar {
padding-left: 0.875rem;
}
.chatPrompt {
font-size: 0.8125rem;
}
.chatHint {
display: none;
}
.tab {
padding-inline: 0.875rem;
font-size: 0.875rem;
}
}