Warehouse Archive
A warehouse door rolls open. A tiny forklift picks up the archive box, drives carefully through shelves, stores it, scans the barcode, and exits while the warehouse lights dim.
Warehouse Archive
by FreeCsStyles Dev's
AnimatedPlayful
🌐HTML/CSS🎨Tailwind⚛️React💚Vue🅰️Angular🔥Svelte☁️LWC
#warehouse#archive#forklift#box#barcode#shelf#store
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/warehouse-archive.
<iframe src="/embed/warehouse-archive" sandbox="allow-scripts" loading="lazy" title="Warehouse Archive" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Warehouse Archive, 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-warehouse"><span class="btn-text">Archive</span></button>CSS
.btn-warehouse{width:224px;height:60px;border-radius:16px;border:none;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;font-size:15px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;font-family:system-ui,sans-serif;box-shadow:0 4px 20px rgba(30,41,59,.35)}.btn-warehouse:hover{transform:scale(1.05)}.btn-warehouse:active{transform:scale(.94)}.btn-text{position:relative;z-index:5}Tailwind CSS
<button class="w-56 h-[60px] rounded-2xl font-bold cursor-pointer border-none overflow-hidden bg-gradient-to-br from-slate-800 to-slate-700 text-white shadow-lg hover:scale-105 active:scale-95 transition-all"><span class="relative z-10">Archive</span></button>React
import { useState } from 'react';
import { motion } from 'framer-motion';
export function WarehouseArchive() {
const [phase, setPhase] = useState('idle');
const trigger = () => { if (phase !== 'idle') return; const seq = [['doorOpen',0],['forkliftEnter',400],['pickBox',800],['drive',1300],['shelfStore',1800],['barcode',2200],['doorClose',2600],['idle',3600]]; seq.forEach(([p,t]) => setTimeout(() => setPhase(p), t)); };
return (<motion.button onClick={trigger} style={{width:224,height:60,borderRadius:16,border:'none',background:phase==='doorClose'?'linear-gradient(135deg,#4f46e5,#6366f1)':'linear-gradient(135deg,#1e293b,#334155)',color:'#fff',fontSize:15,fontWeight:'bold',cursor:'pointer',fontFamily:'system-ui'}}><span>{phase==='doorClose'?'Archived!':'Archive'}</span></motion.button>);
}Vue
<template>
<button class="btn-warehouse" @click="trigger">
<span class="btn-text">{{ label }}</span>
</button>
</template>
<script setup>
import { ref, computed } from 'vue';
const phase = ref('idle');
const label = computed(() => ({idle:'Archive',doorClose:'Archived!'}[phase.value] || 'Processing...'));
function trigger() { if (phase.value !== 'idle') return; const seq = [['doorOpen',0],['forkliftEnter',400],['pickBox',800],['drive',1300],['shelfStore',1800],['barcode',2200],['doorClose',2600],['idle',3600]]; seq.forEach(([p,t]) => setTimeout(() => phase.value = p, t)); }
</script>Svelte
<script>
let phase = 'idle';
$: label = ({idle:'Archive',doorClose:'Archived!'})[phase] || 'Processing...';
function trigger() { if (phase !== 'idle') return; const seq = [['doorOpen',0],['forkliftEnter',400],['pickBox',800],['drive',1300],['shelfStore',1800],['barcode',2200],['doorClose',2600],['idle',3600]]; seq.forEach(([p,t]) => setTimeout(() => phase = p, t)); }
</script>
<button on:click={trigger}><span>{label}</span></button>Angular
import { Component } from '@angular/core';
@Component({selector:'app-warehouse-archive',template:`<button class="btn-warehouse" (click)="trigger()"><span>{{label}}</span></button>`,styles:[`.btn-warehouse{width:224px;height:60px;border-radius:16px;border:none;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;font-size:15px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:system-ui}`]})
export class WarehouseArchiveComponent { phase='idle'; get label() { return this.phase==='doorClose'?'Archived!':'Archive'; } trigger() { if(this.phase!=='idle')return; const seq=[['doorOpen',0],['forkliftEnter',400],['pickBox',800],['drive',1300],['shelfStore',1800],['barcode',2200],['doorClose',2600],['idle',3600]]; seq.forEach(([p,t])=>setTimeout(()=>this.phase=p,t)); } }LWC — HTML template
<template><button onclick={trigger}><span>{label}</span></button></template>LWC — JavaScript
import { LightningElement } from 'lwc';
export default class WarehouseArchive extends LightningElement { phase='idle'; get label() { return this.phase==='doorClose'?'Archived!':'Archive'; } trigger() { if(this.phase!=='idle')return; const seq=[['doorOpen',0],['forkliftEnter',400],['pickBox',800],['drive',1300],['shelfStore',1800],['barcode',2200],['doorClose',2600],['idle',3600]]; seq.forEach(([p,t])=>setTimeout(()=>{this.phase=p;},t)); } }LWC — CSS
.btn-warehouse{width:224px;height:60px;border-radius:16px;border:none;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;font-size:15px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:system-ui}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 Warehouse Archive fits
- Archive
- Store
- Save
- Organize
Interaction states & animations
- Click
- Multi-stage
- Character
Topics
- #warehouse
- #archive
- #forklift
- #box
- #barcode
- #shelf
- #store
Accessibility notes
Animation is decorative. Button text remains readable. Respect reduced-motion preference.
Browser support
- All modern browsers