Skip to content

Ink Splatter Button

Artistic ink drops that fall and burst into organic splatter patterns on impact

Ink Splatter Button

by FreeCsStyles Dev's

AnimatedArtistic
🌐🎨⚛️💚🅰️🔥☁️
#ink#splatter#artistic#drops#burst#creative#organic

Embed this component

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

<iframe src="/embed/ink-splatter-button" sandbox="allow-scripts" loading="lazy" title="Ink Splatter Button" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Ink Splatter Button, 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-ink"><span>🖋 SIGN</span></button>
CSS
.btn-ink{width:160px;height:50px;border-radius:12px;border:2px solid #cbd5e1;background:#f8fafc;color:#0f172a;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-ink .ink-drop{position:absolute;width:5px;height:9px;background:#0f172a;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;opacity:0;pointer-events:none}.btn-ink.is-splashing .ink-drop{animation:drop-fall .45s forwards ease-in}.btn-ink .splat{position:absolute;width:20px;height:20px;border-radius:50%;opacity:0;pointer-events:none}.btn-ink.is-inked .splat{animation:splat-burst .6s forwards ease-out}.btn-ink.is-inked{background:#f1f5f9;border-color:#94a3b8;color:#334155}@keyframes drop-fall{0%{transform:translateY(-25px);opacity:1}100%{transform:translateY(50px);opacity:0}}@keyframes splat-burst{0%{transform:scale(0);opacity:.8}50%{transform:scale(1.6);opacity:.4}100%{transform:scale(.5);opacity:0}}
Tailwind CSS
<button class="w-[160px] h-[50px] rounded-xl border-2 border-slate-300 bg-slate-50 text-slate-900 font-bold cursor-pointer relative flex items-center justify-center overflow-hidden transition-all duration-[400ms] font-sans"><span class="relative z-10">🖋 SIGN</span></button>
React
import { useState } from 'react';
export function InkSplatterButton() {
  const [phase, setPhase] = useState('idle');
  const handleClick = () => {
    if (phase !== 'idle') return;
    setPhase('splashing');
    setTimeout(() => setPhase('inked'), 900);
    setTimeout(() => setPhase('idle'), 3500);
  };
  return (
    <button onClick={handleClick} disabled={phase !== 'idle'}
      style={{ width: 160, height: 50, borderRadius: 12, border: `2px solid ${phase === 'inked' ? '#94a3b8' : '#cbd5e1'}`, background: phase === 'inked' ? '#f1f5f9' : '#f8fafc', color: phase === 'inked' ? '#334155' : '#0f172a', 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' ? '🖋 SIGN' : phase === 'inked' ? '✓ SIGNED' : ''}</span>
    </button>
  );
}
Vue
<template>
  <button class="btn-ink" :class="phase" @click="handleClick" :disabled="phase!=='idle'">
    <span>{{ phase==='idle' ? '🖋 SIGN' : phase==='inked' ? '✓ SIGNED' : '' }}</span>
  </button>
</template>
<script setup>
import { ref } from 'vue';
const phase = ref('idle');
function handleClick() {
  if (phase.value !== 'idle') return;
  phase.value = 'splashing';
  setTimeout(() => phase.value = 'inked', 900);
  setTimeout(() => phase.value = 'idle', 3500);
}
</script>
Svelte
<script>
  let phase = 'idle';
  function handleClick() { if (phase !== 'idle') return; phase = 'splashing'; setTimeout(() => phase = 'inked', 900); setTimeout(() => phase = 'idle', 3500); }
</script>
<button class="btn-ink" class:is-inked={phase==='inked'} on:click={handleClick} disabled={phase!=='idle'}>
  <span>{phase==='idle' ? '🖋 SIGN' : phase==='inked' ? '✓ SIGNED' : ''}</span>
</button>
Angular
import { Component } from '@angular/core';
@Component({
  selector: 'app-ink-splatter-button',
  template: `<button class="btn-ink" [class.is-splashing]="phase==='splashing'" [class.is-inked]="phase==='inked'" (click)="handleClick()" [disabled]="phase!=='idle'"><span>{{ phase==='idle' ? '🖋 SIGN' : phase==='inked' ? '✓ SIGNED' : '' }}</span></button>`,
  styles: [`.btn-ink{width:160px;height:50px;border-radius:12px;border:2px solid #cbd5e1;background:#f8fafc;color:#0f172a;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s}.btn-ink.is-inked{background:#f1f5f9;border-color:#94a3b8;color:#334155}`]
})
export class InkSplatterButtonComponent { phase='idle';handleClick(){if(this.phase!=='idle')return;this.phase='splashing';setTimeout(()=>this.phase='inked',900);setTimeout(()=>this.phase='idle',3500);}}
LWC — HTML template
<template><button class="btn-ink" onclick={handleClick} disabled={disabled}><span>{label}</span></button></template>
LWC — JavaScript
import { LightningElement } from 'lwc';
export default class InkSplatterButton extends LightningElement {
  phase = 'idle';
  get disabled() { return this.phase !== 'idle'; }
  get label() { return this.phase==='idle'?'🖋 SIGN':this.phase==='inked'?'✓ SIGNED':''; }
  handleClick() { if(this.phase!=='idle')return;this.phase='splashing';setTimeout(()=>this.phase='inked',900);setTimeout(()=>this.phase='idle',3500); }
}
LWC — CSS
.btn-ink{width:160px;height:50px;border-radius:12px;border:2px solid #cbd5e1;background:#f8fafc;color:#0f172a;font-size:16px;font-weight:700;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all .4s}.btn-ink.is-inked{background:#f1f5f9;border-color:#94a3b8;color:#334155}
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 Ink Splatter Button fits

  • Art Portfolios
  • Creative Tools
  • Design Studios
  • Signatures
  • Drawing Apps

Interaction states & animations

  • Ink Drops
  • Splatter Burst
  • Organic Splash
  • Drip

Topics

  • #ink
  • #splatter
  • #artistic
  • #drops
  • #burst
  • #creative
  • #organic

Accessibility notes

Splatter animation is decorative. Ensure text contrast remains readable. Respect reduced-motion preference.

Browser support

  • All modern browsers