Skip to main content
← All 20 Halloween UI animations

Trick or Treat Card: a Halloween micro-interaction

A flip card: one tap for a treat, the next for a trick. A free, live card for spooky season.

Updated November 2026

Add the Trick or Treat Card to React or Next.js

  1. Pick an animation above. Open it in ExodeUI to change its text and colours, or keep it as it is.
  2. Download the .bexode file and put it in your public folder.
  3. Install the runtime with npm i exodeui.
  4. Render it with ExodeUICanvas. Taps and hovers work out of the box.
import { ExodeUICanvas } from 'exodeui';

export function TrickOrTreatCard() {
  return (
    <ExodeUICanvas
      src="/ui-gallery/files/trick-or-treat.bexode"
      autoPlay
      style={{ width: 400, height: 300 }}
    />
  );
}

Frequently asked questions

Is the Trick or Treat Card free to use?
Yes. Try it here, open it in ExodeUI on the free plan or download the .exode file, and ship it with any ExodeUI runtime.
What does the Trick or Treat Card do?
A flip card: one tap for a treat, the next for a trick. Tap the card to see it.
Can I restyle the Trick or Treat Card for my brand?
Open it in ExodeUI and every colour, label, shape and timing is editable, with its states and triggers already wired in the Logic tab.
Does it work outside React?
The same file plays in the Vue, Svelte, Angular, React Native, SwiftUI and Flutter runtimes.