Skip to content

Crane Download

A construction crane appears and hooks the file, slowly lowers it down, places it safely, then the crane waves goodbye

Crane Download

by FreeCsStyles Dev's

AnimatedStorybook
🌐🎨⚛️💚🅰️🔥☁️
#crane#download#construction#lower#save#export

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/crane-download.

<iframe src="/embed/crane-download" sandbox="allow-scripts" loading="lazy" title="Crane Download" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Crane Download, 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="btn-crane"><div class="crane"><div class="crane-arm"></div><div class="crane-cab">🏗️</div><div class="cable"></div><div class="hook">🪝</div></div><div class="file-box"><div class="box-icon">📦</div><div class="box-label">FILE</div></div><div class="landing-pad"></div><div class="wave-hand">👋</div><span class="btn-text">Download</span></button>
CSS
.btn-crane{width:190px;height:56px;border-radius:14px;border:none;background:linear-gradient(135deg,#422006,#5c2d0a);color:#fbbf24;font-size:15px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;font-family:system-ui,-apple-system,sans-serif;box-shadow:0 4px 15px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.05)}.btn-crane:hover{box-shadow:0 6px 20px rgba(0,0,0,.4)}.btn-crane .crane{position:absolute;left:5px;top:-25px;display:flex;flex-direction:column;align-items:flex-start;z-index:3;opacity:0;transition:all .5s cubic-bezier(.34,1.56,.64,1)}.btn-crane .crane-cab{font-size:16px;line-height:1}.btn-crane .crane-arm{position:absolute;top:8px;left:16px;width:60px;height:3px;background:linear-gradient(90deg,#f59e0b,#d97706);border-radius:2px;transform-origin:left;transform:rotate(-5deg)}.btn-crane .cable{position:absolute;top:11px;left:55px;width:1px;height:0;background:#94a3b8;transition:height .8s ease-in-out}.btn-crane .hook{position:absolute;top:0;left:52px;font-size:10px;opacity:0;transition:all .3s}.btn-crane .file-box{position:absolute;top:-40px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;opacity:0;z-index:2}.btn-crane .box-icon{font-size:20px;transition:all .3s}.btn-crane .box-label{font-size:6px;letter-spacing:2px;color:#94a3b8;margin-top:-2px}.btn-crane .landing-pad{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);width:40px;height:3px;background:#475569;border-radius:2px;opacity:0;transition:all .3s}.btn-crane .wave-hand{position:absolute;right:10px;font-size:16px;opacity:0;z-index:3}.btn-crane .btn-text{z-index:5;transition:all .3s;position:relative}.btn-crane.is-hooking .crane{opacity:1;top:-20px}.btn-crane.is-hooking .cable{height:25px}.btn-crane.is-hooking .hook{opacity:1;top:35px}.btn-crane.is-hooking .btn-text{opacity:0}.btn-crane.is-lowering .crane{opacity:1}.btn-crane.is-lowering .file-box{opacity:1;animation:lower-file 1.2s ease-in-out forwards}.btn-crane.is-lowering .cable{height:25px}.btn-crane.is-lowering .landing-pad{opacity:1}.btn-crane.is-placing .file-box{opacity:1;top:15px}.btn-crane.is-placing .crane{opacity:0;top:-30px}.btn-crane.is-placing .landing-pad{opacity:1}.btn-crane.is-waving .wave-hand{opacity:1;animation:wave-bye .4s ease-in-out 3}.btn-crane.is-done{background:linear-gradient(135deg,#422006,#3a1a04);box-shadow:0 4px 20px rgba(245,158,11,.15)}.btn-crane.is-done .btn-text{color:#22c55e}.btn-crane.is-done .file-box{opacity:1;top:15px}@keyframes lower-file{0%{top:-40px;opacity:0}20%{opacity:1}100%{top:15px;opacity:1}}@keyframes wave-bye{0%,100%{transform:rotate(0)}50%{transform:rotate(20deg) translateY(-3px)}}
Tailwind CSS
<button class="w-[190px] h-[56px] rounded-[14px] border-none bg-gradient-to-br from-[#422006] to-[#5c2d0a] text-amber-400 font-bold text-[15px] cursor-pointer relative flex items-center justify-center overflow-hidden font-sans shadow-lg"><span class="relative z-10">🏗️ Download</span></button>
React
import { useState } from 'react';
export function CraneDownload() {
  const [phase, setPhase] = useState('idle');
  const handleClick = () => {
    if (phase !== 'idle') return;
    setPhase('hooking');
    setTimeout(() => setPhase('lowering'), 1000);
    setTimeout(() => setPhase('placing'), 2200);
    setTimeout(() => setPhase('waving'), 2800);
    setTimeout(() => setPhase('done'), 3500);
    setTimeout(() => setPhase('idle'), 5000);
  };
  return (
    <button onClick={handleClick} disabled={phase !== 'idle'}
      style={{ width: 190, height: 56, borderRadius: 14, border: 'none', background: 'linear-gradient(135deg, #422006, #5c2d0a)', color: phase === 'done' ? '#22c55e' : '#fbbf24', fontSize: 15, fontWeight: 'bold', cursor: 'pointer', position: 'relative', display: 'flex', alignItems: 'center', justifyContent: 'center', overflow: 'hidden', fontFamily: 'system-ui,sans-serif', transition: 'all 0.3s', boxShadow: '0 4px 15px rgba(0,0,0,0.3)' }}>
      <span style={{ zIndex: 5, opacity: phase === 'hooking' || phase === 'lowering' || phase === 'placing' ? 0 : 1, transition: 'all 0.3s' }}>
        {phase === 'done' ? '✓ Saved!' : '🏗️ Download'}
      </span>
      {(phase === 'hooking' || phase === 'lowering') && (
        <span style={{ position: 'absolute', left: 10, top: -20, fontSize: 18, zIndex: 3, animation: phase === 'hooking' ? 'none' : undefined }}>🏗️</span>
      )}
      {(phase === 'lowering' || phase === 'placing' || phase === 'waving') && (
        <span style={{ position: 'absolute', left: '50%', top: phase === 'placing' ? 15 : -40, transform: 'translateX(-50%)', fontSize: 22, zIndex: 2, transition: 'top 1.2s ease-in-out', opacity: 1 }}>📦</span>
      )}
      {phase === 'waving' && (
        <span style={{ position: 'absolute', right: 10, fontSize: 16, zIndex: 3, animation: 'wave-bye 0.4s ease-in-out 3' }}>👋</span>
      )}
    </button>
  );
}
Vue
<template>
  <button class="btn-crane" :class="phase" @click="handleClick" :disabled="phase!=='idle'">
    <div class="crane"><div class="crane-arm"></div><div class="crane-cab">🏗️</div><div class="cable"></div><div class="hook">🪝</div></div>
    <div class="file-box"><div class="box-icon">📦</div><div class="box-label">FILE</div></div>
    <div class="landing-pad"></div>
    <div class="wave-hand">👋</div>
    <span class="btn-text">{{ label }}</span>
  </button>
</template>
<script setup>
import { ref, computed } from 'vue';
const phase = ref('idle');
const label = computed(() => ({idle:'🏗️ Download',hooking:'',lowering:'',placing:'',waving:'',done:'✓ Saved!'}[phase.value]));
function handleClick() {
  if (phase.value !== 'idle') return;
  phase.value = 'hooking';
  setTimeout(() => phase.value = 'lowering', 1000);
  setTimeout(() => phase.value = 'placing', 2200);
  setTimeout(() => phase.value = 'waving', 2800);
  setTimeout(() => phase.value = 'done', 3500);
  setTimeout(() => phase.value = 'idle', 5000);
}
</script>
Svelte
<script>
  let phase = 'idle';
  $: label = ({idle:'🏗️ Download',hooking:'',lowering:'',placing:'',waving:'',done:'✓ Saved!'})[phase];
  function handleClick() {
    if (phase !== 'idle') return;
    phase = 'hooking';
    setTimeout(() => phase = 'lowering', 1000);
    setTimeout(() => phase = 'placing', 2200);
    setTimeout(() => phase = 'waving', 2800);
    setTimeout(() => phase = 'done', 3500);
    setTimeout(() => phase = 'idle', 5000);
  }
</script>
<button class="btn-crane" class:is-hooking={phase==='hooking'} class:is-lowering={phase==='lowering'} class:is-placing={phase==='placing'} class:is-waving={phase==='waving'} class:is-done={phase==='done'} on:click={handleClick} disabled={phase!=='idle'}>
  <div class="crane"><div class="crane-arm"></div><div class="crane-cab">🏗️</div><div class="cable"></div><div class="hook">🪝</div></div>
  <div class="file-box"><div class="box-icon">📦</div><div class="box-label">FILE</div></div>
  <div class="landing-pad"></div>
  <div class="wave-hand">👋</div>
  <span class="btn-text">{label}</span>
</button>
Angular
import { Component } from '@angular/core';
@Component({
  selector: 'app-crane-download',
  template: `<button class="btn-crane" [class.is-hooking]="phase==='hooking'" [class.is-lowering]="phase==='lowering'" [class.is-placing]="phase==='placing'" [class.is-waving]="phase==='waving'" [class.is-done]="phase==='done'" (click)="handleClick()" [disabled]="phase!=='idle'"><div class="crane"><div class="crane-arm"></div><div class="crane-cab">🏗️</div><div class="cable"></div><div class="hook">🪝</div></div><div class="file-box"><div class="box-icon">📦</div><div class="box-label">FILE</div></div><div class="landing-pad"></div><div class="wave-hand">👋</div><span class="btn-text">{{ label }}</span></button>`,
  styles: [`.btn-crane{width:190px;height:56px;border-radius:14px;border:none;background:linear-gradient(135deg,#422006,#5c2d0a);color:#fbbf24;font-size:15px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.btn-crane .crane{position:absolute;left:5px;top:-25px;display:flex;flex-direction:column;align-items:flex-start;z-index:3;opacity:0;transition:all .5s}.btn-crane.is-hooking .crane{opacity:1}.btn-crane.is-hooking .btn-text{opacity:0}.btn-crane.is-done{background:linear-gradient(135deg,#422006,#3a1a04)}.btn-crane.is-done .btn-text{color:#22c55e}`]
})
export class CraneDownloadComponent { phase='idle'; get label() { return {idle:'🏗️ Download',hooking:'',lowering:'',placing:'',waving:'',done:'✓ Saved!'}[this.phase]; } handleClick() { if(this.phase!=='idle')return;this.phase='hooking';setTimeout(()=>this.phase='lowering',1000);setTimeout(()=>this.phase='placing',2200);setTimeout(()=>this.phase='waving',2800);setTimeout(()=>this.phase='done',3500);setTimeout(()=>this.phase='idle',5000); } }
LWC — HTML template
<template><button class="btn-crane" onclick={handleClick} disabled={disabled}><span class="btn-text">{label}</span></button></template>
LWC — JavaScript
import { LightningElement } from 'lwc';
export default class CraneDownload extends LightningElement {
  phase = 'idle';
  get disabled() { return this.phase !== 'idle'; }
  get label() { return {idle:'🏗️ Download',hooking:'',lowering:'',placing:'',waving:'',done:'✓ Saved!'}[this.phase]; }
  handleClick() { if(this.phase!=='idle')return;this.phase='hooking';setTimeout(()=>this.phase='lowering',1000);setTimeout(()=>this.phase='placing',2200);setTimeout(()=>this.phase='waving',2800);setTimeout(()=>this.phase='done',3500);setTimeout(()=>this.phase='idle',5000); }
}
LWC — CSS
.btn-crane{width:190px;height:56px;border-radius:14px;border:none;background:linear-gradient(135deg,#422006,#5c2d0a);color:#fbbf24;font-size:15px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .3s}.btn-crane.is-done{background:linear-gradient(135deg,#422006,#3a1a04)}.btn-crane.is-done .btn-text{color:#22c55e}
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 Crane Download fits

  • Download
  • Save
  • Export
  • Fetch

Interaction states & animations

  • Crane Hook
  • Lower
  • Place
  • Wave Goodbye

Topics

  • #crane
  • #download
  • #construction
  • #lower
  • #save
  • #export

Accessibility notes

Animation is decorative. Button text remains readable. Respect reduced-motion preference.

Browser support

  • All modern browsers