Skip to content

Bee Delivery

Bees fly in carrying a tiny package, then fly away leaving honey sparkles behind

Bee Delivery

by FreeCsStyles Dev's

AnimatedStorybook
🌐🎨⚛️💚🅰️🔥☁️
#bee#honey#delivery#share#fly#sparkle#nature

Embed this component

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

<iframe src="/embed/bee-delivery" sandbox="allow-scripts" loading="lazy" title="Bee Delivery" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Bee Delivery, 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-bee"><span class="bee">🐝</span><span class="package">📦</span><span class="text">Share</span></button>
CSS
.btn-bee{width:150px;height:50px;border-radius:12px;border:none;background:#d97706;color:#fff;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s;font-family:system-ui,sans-serif}.btn-bee .bee{position:absolute;font-size:18px;left:-25px;transition:all .8s cubic-bezier(.3,.8,.5,1);z-index:2}.btn-bee .package{position:absolute;font-size:14px;left:-25px;opacity:0;transition:all .5s;z-index:3}.btn-bee .text{z-index:1;transition:.3s}.btn-bee.is-flying .bee{left:160px;top:-15px;transform:rotate(10deg)}.btn-bee.is-flying .package{opacity:1;left:75px;transition-delay:.2s}.btn-bee.is-flying .text{opacity:0}.btn-bee .sparkle{position:absolute;opacity:0;font-size:8px;pointer-events:none}.btn-bee.is-delivered .sparkle{animation:sparkle-pop .8s forwards ease-out}.btn-bee.is-delivered{background:#a16207;border:1px solid #fbbf24}@keyframes sparkle-pop{0%{opacity:1;transform:scale(0) translateY(0)}50%{opacity:1;transform:scale(1.5) translateY(-10px)}100%{opacity:0;transform:scale(0) translateY(-20px)}}
Tailwind CSS
<button class="w-[150px] h-[50px] rounded-xl border-none bg-amber-600 text-white font-bold cursor-pointer relative flex items-center justify-center overflow-hidden transition-all duration-[400ms] font-sans"><span class="relative z-10">🐝 Share</span></button>
React
import { useState } from 'react';
export function BeeDelivery() {
  const [phase, setPhase] = useState('idle');
  const handleClick = () => {
    if (phase !== 'idle') return;
    setPhase('flying');
    setTimeout(() => setPhase('delivered'), 1200);
    setTimeout(() => setPhase('idle'), 3500);
  };
  return (
    <button onClick={handleClick} disabled={phase !== 'idle'}
      style={{ width: 150, height: 50, borderRadius: 12, border: phase === 'delivered' ? '1px solid #fbbf24' : 'none', background: phase === 'delivered' ? '#a16207' : '#d97706', color: '#fff', fontSize: 16, fontWeight: 'bold', cursor: 'pointer', position: 'relative', display: 'flex', alignItems: 'center', justifyContent: 'center', overflow: 'hidden', fontFamily: 'system-ui,sans-serif', transition: 'all 0.4s' }}>
      <span>{phase === 'idle' ? '🐝 Share' : phase === 'delivered' ? '✨ Shared!' : ''}</span>
    </button>
  );
}
Vue
<template>
  <button class="btn-bee" :class="phase" @click="handleClick" :disabled="phase!=='idle'">
    <span class="bee">🐝</span>
    <span class="package">📦</span>
    <span class="text">{{ phase==='idle' ? 'Share' : phase==='delivered' ? 'Shared!' : '' }}</span>
  </button>
</template>
<script setup>
import { ref } from 'vue';
const phase = ref('idle');
function handleClick() {
  if (phase.value !== 'idle') return;
  phase.value = 'flying';
  setTimeout(() => phase.value = 'delivered', 1200);
  setTimeout(() => phase.value = 'idle', 3500);
}
</script>
Svelte
<script>
  let phase = 'idle';
  function handleClick() { if (phase !== 'idle') return; phase = 'flying'; setTimeout(() => phase = 'delivered', 1200); setTimeout(() => phase = 'idle', 3500); }
</script>
<button class="btn-bee" class:is-delivered={phase==='delivered'} on:click={handleClick} disabled={phase!=='idle'}>
  <span class="bee">🐝</span>
  <span class="package">📦</span>
  <span>{phase==='idle' ? '🐝 Share' : phase==='delivered' ? '✨ Shared!' : ''}</span>
</button>
Angular
import { Component } from '@angular/core';
@Component({
  selector: 'app-bee-delivery',
  template: `<button class="btn-bee" [class.is-flying]="phase==='flying'" [class.is-delivered]="phase==='delivered'" (click)="handleClick()" [disabled]="phase!=='idle'"><span>{{ phase==='idle' ? '🐝 Share' : phase==='delivered' ? '✨ Shared!' : '' }}</span></button>`,
  styles: [`.btn-bee{width:150px;height:50px;border-radius:12px;border:none;background:#d97706;color:#fff;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.btn-bee.is-delivered{background:#a16207;border:1px solid #fbbf24}`]
})
export class BeeDeliveryComponent { phase='idle';handleClick(){if(this.phase!=='idle')return;this.phase='flying';setTimeout(()=>this.phase='delivered',1200);setTimeout(()=>this.phase='idle',3500);}}
LWC — HTML template
<template><button class="btn-bee" onclick={handleClick} disabled={disabled}><span>{label}</span></button></template>
LWC — JavaScript
import { LightningElement } from 'lwc';
export default class BeeDelivery extends LightningElement {
  phase = 'idle';
  get disabled() { return this.phase !== 'idle'; }
  get label() { return this.phase==='idle'?'🐝 Share':this.phase==='delivered'?'✨ Shared!':''; }
  handleClick() { if(this.phase!=='idle')return;this.phase='flying';setTimeout(()=>this.phase='delivered',1200);setTimeout(()=>this.phase='idle',3500); }
}
LWC — CSS
.btn-bee{width:150px;height:50px;border-radius:12px;border:none;background:#d97706;color:#fff;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s}.btn-bee.is-delivered{background:#a16207;border:1px solid #fbbf24}
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 Bee Delivery fits

  • Share Actions
  • Send
  • Delivery
  • Notification

Interaction states & animations

  • Bee Flight
  • Package Carry
  • Sparkle Effect

Topics

  • #bee
  • #honey
  • #delivery
  • #share
  • #fly
  • #sparkle
  • #nature

Accessibility notes

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

Browser support

  • All modern browsers