Skip to the content
FilCommunityWorkflowsSkillsDocsOpen Fil
A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…
A web page: run it in Fil

Code · Claude Sonnet 5.5

A single, original, premium

A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries): a "Vending machine coil" add-to-cart on a product card for a snack / coffee shop (product name 'Dark Roast · 250 g', price €12.90, short description, a quantity, an 'Add to cart' button), with a cart icon and count in a small header above. The component: the product image area of the card is a realistic vending machine slot seen through slightly reflective glass with a faint reflection streak: a chrome spiral coil holding 4 identical small coffee bags (made with CSS/canvas, kraft paper with a label), a price tag strip under the slot ('A3 · €12.90'), and below the card's image a dark delivery tray with a flap. Interaction: pressing 'Add to cart' (button presses down like a chunky vending keypad key) turns the coil one full rotation with a motor whir feel: the front bag inches forward, tips over the edge, falls with gravity and a slight spin, disappears behind the tray flap which swings, then a small copy of the bag flies in an arc from the tray to the cart icon in the header, the cart count bumps with a spring. The coil has one less bag. When empty the slot shows 'Sold out', the button disables, and a 'Restock' text button refills the coil with bags sliding in from the back. Hovering the glass makes the reflection drift with the cursor. Quantity +/- choose how many turns. Semantics: a real button, aria-live polite 'Added to cart, 3 items', the cart count with aria-label. CONFIG object at the top (product, stock, price, sound on/off). CustomEvents 'addtocart' and 'soldout'. prefers-reduced-motion: no fall, count updates instantly. Responsive from 375px to desktop. Clean light page, photoreal chrome and glass, small mono caption.

Model
Claude Sonnet 5.5
Made by
Sourasith Phomhome
Shared
Likes
0
Open in Fil

Use its prompt, turn it into a video or a 3D model, or find more like it in Fil. Fil is invite-only for now: without an invitation, Open in Fil shows the waitlist.

More like this

A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries): a…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries): a…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries)…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries): a…A single, original, premium UI component on its own page: a "Split-flap" stat counter card, like an old train station…A single, original, premium UI component on its own page: a "Split-flap" stat counter card, like an old train station departure board…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries): a…A single, original, premium UI component on its own page: a "Matchbox" theme toggle (light/dark switch). One self-contained…A single, original, premium UI component on its own page: a "Matchbox" theme toggle (light/dark switch). One self-contained HTML file, no…Generate button: one premium AI "Generate" button that walks through the states of a generation, as a single HTML file with…Generate button: one premium AI "Generate" button that walks through the states of a generation, as a single HTML file with plain CSS and…Keycap: one mechanical keyboard key built in Three.js, centred on the screen like a premium hardware control. Nothing else…Keycap: one mechanical keyboard key built in Three.js, centred on the screen like a premium hardware control. Nothing else on the page. It…A single, original, premium UI component on its own page: a "Zipper" slide-to-unlock control. One self-contained HTML file…A single, original, premium UI component on its own page: a "Zipper" slide-to-unlock control. One self-contained HTML file, no libraries…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file…A single, original, premium, fully functional and animated UI component on its own page, in one self-contained HTML file (no libraries): a…Slide 5: point 4 from Slides.md, one of the skill’s middle slides, in the design of the wired Slide 1, without its swipe…Slide 5: point 4 from Slides.md, one of the skill’s middle slides, in the design of the wired Slide 1, without its swipe arrow. Reference…