Glass Stack
An interactive 3D stacked deck of frosted glass cards with realistic spring fan-out physics when hovered and a 3D flip-cycle transition on click.
- 4.3 KB .bexode
- 3 live inputs
- Responsive fit Layout
Use it
The code follows your customizations. Install with npm i exodeui.
import { ExodeUICanvas } from 'exodeui';
// glass-stack.bexode goes in /public (download it below)
export function GlassStack() {
return (
<ExodeUICanvas
src="/glass-stack.bexode"
fit="Layout" // responsive: redraws at any container size
autoPlay
interactive
onTrigger={(name) => {
// fires: 'cardCycle'
}}
style={{ width: '100%', height: 360 }}
/>
);
}Inputs
| Input | Type | Default | Range |
|---|---|---|---|
speed | Number | 1 | 0.1 – 4 |
accent | Text | #8b5cf6 | hex colour |
bg | Text | #09080e | hex colour |
Events (via onTrigger): cardCycle