Origami Bird
Paper folds itself into an origami bird, flaps its wings, flies away with a feather dropping, and shows a delivered checkmark
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/origami-bird-button.
<iframe src="/embed/origami-bird-button" sandbox="allow-scripts" loading="lazy" title="Origami Bird" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Origami Bird, or grab a framework-specific implementation. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<button class="origami-bird-btn"><span class="ob-label">✈ Send</span><span class="ob-bird">🐦</span><span class="ob-feather">🪶</span><span class="ob-check">✓ Delivered</span><div class="ob-paper"></div><div class="ob-paper-2"></div></button>CSS
.origami-bird-btn{position:relative;width:180px;height:56px;border:none;border-radius:12px;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;font-size:15px;font-weight:700;cursor:pointer;overflow:hidden;font-family:system-ui,sans-serif;transition:all .3s ease}.origami-bird-btn:hover{transform:scale(1.04);box-shadow:0 8px 30px rgba(249,115,22,.4)}.origami-bird-btn:active{transform:scale(.97)}.ob-label{position:relative;z-index:2;transition:opacity .3s}.ob-bird{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(0);font-size:28px;opacity:0;transition:all .5s cubic-bezier(.34,1.56,.64,1);z-index:5}.ob-feather{position:absolute;right:-10px;top:10px;font-size:18px;opacity:0;z-index:6}.ob-check{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;font-size:15px;font-weight:700;color:#fff;z-index:6}.ob-paper,.ob-paper-2{position:absolute;width:30px;height:20px;background:rgba(255,255,255,.9);border-radius:2px;opacity:0;z-index:1}.ob-paper{top:50%;left:50%;transform:translate(-50%,-50%) rotate(0deg)}.ob-paper-2{top:50%;left:55%;transform:translate(-50%,-50%) rotate(0deg)}.origami-bird-btn.is-folding .ob-label{opacity:0}.origami-bird-btn.is-folding .ob-paper{opacity:1;animation:ob-fold .4s ease forwards}.origami-bird-btn.is-folding .ob-paper-2{opacity:1;animation:ob-fold2 .4s ease forwards}.origami-bird-btn.is-bird .ob-bird{opacity:1;transform:translate(-50%,-50%) scale(1);animation:ob-bird-hop .4s ease forwards}.origami-bird-btn.is-flying .ob-bird{animation:ob-fly 1s ease forwards}.origami-bird-btn.is-flying .ob-feather{animation:ob-feather-drop 1s ease .2s forwards}.origami-bird-btn.is-done{background:#16a34a;border:2px solid rgba(255,255,255,.3)}.origami-bird-btn.is-done .ob-label,.origami-bird-btn.is-done .ob-bird,.origami-bird-btn.is-done .ob-paper,.origami-bird-btn.is-done .ob-paper-2{opacity:0}.origami-bird-btn.is-done .ob-check{opacity:1;animation:ob-check-pop .5s cubic-bezier(.34,1.56,.64,1) forwards}@keyframes ob-fold{0%{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}100%{transform:translate(-50%,-50%) rotate(-20deg) scale(.6);opacity:.8}}@keyframes ob-fold2{0%{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}100%{transform:translate(-50%,-50%) rotate(20deg) scale(.6);opacity:.8}}@keyframes ob-bird-hop{0%{transform:translate(-50%,-50%) scale(0)}60%{transform:translate(-50%,-60%) scale(1.1)}100%{transform:translate(-50%,-50%) scale(1)}}@keyframes ob-fly{0%{transform:translate(-50%,-50%) scale(1)}30%{transform:translate(0,-60%) scale(.9) rotate(-10deg)}60%{transform:translate(40px,-80px) scale(.7) rotate(5deg)}100%{transform:translate(80px,-120px) scale(.3) rotate(-5deg);opacity:0}}@keyframes ob-feather-drop{0%{transform:translateY(0) rotate(0);opacity:0}20%{opacity:1}100%{transform:translateY(120px) rotate(180deg);opacity:0}}@keyframes ob-check-pop{0%{transform:translate(-50%,-50%) scale(0);opacity:0}60%{transform:translate(-50%,-50%) scale(1.2);opacity:1}100%{transform:translate(-50%,-50%) scale(1);opacity:1}}Tailwind CSS
<button class="relative w-[180px] h-[56px] rounded-xl bg-gradient-to-br from-orange-500 to-orange-600 text-white text-[15px] font-bold cursor-pointer overflow-hidden transition-all hover:scale-105 hover:shadow-lg active:scale-95 font-sans"><span class="relative z-10">✈ Send</span></button>React
import { useState, useCallback } from 'react';
export function OrigamiBirdButton() {
const [phase, setPhase] = useState('idle');
const handleClick = useCallback(() => {
if (phase !== 'idle') return;
setPhase('folding');
setTimeout(() => setPhase('bird'), 400);
setTimeout(() => setPhase('flying'), 800);
setTimeout(() => setPhase('done'), 1800);
setTimeout(() => setPhase('idle'), 3500);
}, [phase]);
const phaseClass = phase === 'idle' ? 'origami-bird-btn' : `origami-bird-btn is-${phase}`;
return (
<button onClick={handleClick} disabled={phase !== 'idle'} className={phaseClass} style={{position:'relative',width:180,height:56,border:'none',borderRadius:12,background:phase==='done'?'#16a34a':'linear-gradient(135deg,#f97316,#ea580c)',color:'#fff',fontSize:15,fontWeight:700,cursor:'pointer',overflow:'hidden',fontFamily:'system-ui,sans-serif',transition:'all 0.3s'}}>
{phase === 'idle' && <span className="ob-label">✈ Send</span>}
{(phase === 'bird' || phase === 'folding') && <span className="ob-bird">🐦</span>}
{phase === 'flying' && <><span className="ob-bird">🐦</span><span className="ob-feather">🪶</span></>}
{phase === 'done' && <span className="ob-check">✓ Delivered</span>}
</button>
);
}Vue
<template>
<button
:class="['origami-bird-btn', phase !== 'idle' ? 'is-' + phase : '']"
@click="handleClick"
:disabled="phase !== 'idle'"
>
<span v-if="phase === 'idle'" class="ob-label">✈ Send</span>
<span v-if="phase === 'bird' || phase === 'folding'" class="ob-bird">🐦</span>
<span v-if="phase === 'flying'" class="ob-feather">🪶</span>
<span v-if="phase === 'done'" class="ob-check">✓ Delivered</span>
</button>
</template>
<script setup>
import { ref } from 'vue';
const phase = ref('idle');
function handleClick() {
if (phase.value !== 'idle') return;
phase.value = 'folding';
setTimeout(() => phase.value = 'bird', 400);
setTimeout(() => phase.value = 'flying', 800);
setTimeout(() => phase.value = 'done', 1800);
setTimeout(() => phase.value = 'idle', 3500);
}
</script>Svelte
<script>
let phase = 'idle';
function handleClick() {
if (phase !== 'idle') return;
phase = 'folding';
setTimeout(() => phase = 'bird', 400);
setTimeout(() => phase = 'flying', 800);
setTimeout(() => phase = 'done', 1800);
setTimeout(() => phase = 'idle', 3500);
}
</script>
<button class="origami-bird-btn" class:is-done={phase === 'done'} on:click={handleClick} disabled={phase !== 'idle'}>
{#if phase === 'idle'}<span class="ob-label">✈ Send</span>{/if}
{#if phase === 'bird' || phase === 'folding'}<span class="ob-bird">🐦</span>{/if}
{#if phase === 'flying'}<span class="ob-feather">🪶</span>{/if}
{#if phase === 'done'}<span class="ob-check">✓ Delivered</span>{/if}
</button>Angular
import { Component } from '@angular/core';
@Component({
selector: 'app-origami-bird-button',
template: `<button [class]="'origami-bird-btn' + (phase !== 'idle' ? ' is-' + phase : '')" (click)="handleClick()" [disabled]="phase !== 'idle'">
<span *ngIf="phase === 'idle'" class="ob-label">✈ Send</span>
<span *ngIf="phase === 'bird' || phase === 'folding'" class="ob-bird">🐦</span>
<span *ngIf="phase === 'flying'" class="ob-feather">🪶</span>
<span *ngIf="phase === 'done'" class="ob-check">✓ Delivered</span>
</button>`,
styles: [`.origami-bird-btn{position:relative;width:180px;height:56px;border:none;border-radius:12px;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;font-size:15px;font-weight:700;cursor:pointer;overflow:hidden;font-family:system-ui,sans-serif;transition:all .3s}.is-done{background:#16a34a}.ob-label,.ob-bird,.ob-feather,.ob-check{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`]
})
export class OrigamiBirdButtonComponent {
phase = 'idle';
handleClick() {
if (this.phase !== 'idle') return;
this.phase = 'folding';
setTimeout(() => this.phase = 'bird', 400);
setTimeout(() => this.phase = 'flying', 800);
setTimeout(() => this.phase = 'done', 1800);
setTimeout(() => this.phase = 'idle', 3500);
}
}LWC — HTML template
<template><button class="origami-bird-btn" onclick={handleClick} disabled={disabled}><span if:true={isIdle} class="ob-label">✈ Send</span><span if:true={isBird} class="ob-bird">🐦</span><span if:true={isFlying} class="ob-feather">🪶</span><span if:true={isDone} class="ob-check">✓ Delivered</span></button></template>LWC — JavaScript
import { LightningElement } from 'lwc';
export default class OrigamiBirdButton extends LightningElement {
phase = 'idle';
get disabled() { return this.phase !== 'idle'; }
get isIdle() { return this.phase === 'idle'; }
get isBird() { return this.phase === 'bird' || this.phase === 'folding'; }
get isFlying() { return this.phase === 'flying'; }
get isDone() { return this.phase === 'done'; }
handleClick() {
if (this.phase !== 'idle') return;
this.phase = 'folding';
setTimeout(() => this.phase = 'bird', 400);
setTimeout(() => this.phase = 'flying', 800);
setTimeout(() => this.phase = 'done', 1800);
setTimeout(() => this.phase = 'idle', 3500);
}
}LWC — CSS
.origami-bird-btn{position:relative;width:180px;height:56px;border:none;border-radius:12px;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;font-size:15px;font-weight:700;cursor:pointer;overflow:hidden;font-family:system-ui,sans-serif;transition:all .3s}.origami-bird-btn.is-done{background:#16a34a}.ob-label,.ob-bird,.ob-feather,.ob-check{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}LWC — Configuration
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>59.0</apiVersion>
<isExposed>true</isExposed>
<targets><target>lightning__AppPage</target><target>lightning__RecordPage</target><target>lightning__HomePage</target></targets>
</LightningComponentBundle>Where Origami Bird fits
- Messaging
- Notifications
- Social Media
Interaction states & animations
- Paper Folding
- Bird Flight
- Feather Drop
- Checkmark Reveal
Topics
- #origami
- #bird
- #paper
- #send
- #animation
- #delivered
- #paper-fold
- #craft
Accessibility notes
Animation is decorative. Button text remains readable. Respect reduced-motion preference.
Browser support
- All modern browsers