Skip to content

Bookmark Cat

A playful cat jumps onto the button, curls up inside an open book, sticks its fluffy tail out as a bookmark, purrs happily, and closes its eyes for a nap.

Bookmark Cat

by FreeCsStyles Dev's

AnimatedPlayful
🌐🎨⚛️💚🅰️🔥☁️
#cat#bookmark#book#purr#cute#sleep#tail#playful

Embed this component

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

<iframe src="/embed/bookmark-cat" sandbox="allow-scripts" loading="lazy" title="Bookmark Cat" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for Bookmark Cat, 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-cat"><span class="btn-text">Bookmark</span></button>
CSS
.btn-cat{width:224px;height:60px;border-radius:16px;border:none;background:linear-gradient(135deg,#f97316,#f59e0b);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(249,115,22,.35)}.btn-cat:hover{transform:scale(1.05)}.btn-cat: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-orange-500 to-amber-500 text-white shadow-lg hover:scale-105 active:scale-95 transition-all"><span class="relative z-10">Bookmark</span></button>
React
import { useState } from 'react';
import { motion } from 'framer-motion';
export function BookmarkCat() {
  const [phase, setPhase] = useState('idle');
  const trigger = () => { if (phase !== 'idle') return; const seq = [['jump',0],['bookOpen',300],['curlUp',700],['tailHang',1100],['bookClose',1500],['purr',1900],['idle',3400]]; seq.forEach(([p,t]) => setTimeout(() => setPhase(p), t)); };
  return (<motion.button onClick={trigger} style={{width:224,height:60,borderRadius:16,border:'none',background:phase==='purr'?'linear-gradient(135deg,#f59e0b,#d97706)':'linear-gradient(135deg,#f97316,#f59e0b)',color:'#fff',fontSize:15,fontWeight:'bold',cursor:'pointer',fontFamily:'system-ui'}}><span>{phase==='purr'?'Saved!':'Bookmark'}</span></motion.button>);
}
Vue
<template>
  <button class="btn-cat" @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:'Bookmark',purr:'Saved!'}[phase.value] || 'Adding...'));
function trigger() { if (phase.value !== 'idle') return; const seq = [['jump',0],['bookOpen',300],['curlUp',700],['bookClose',1500],['purr',1900],['idle',3400]]; seq.forEach(([p,t]) => setTimeout(() => phase.value = p, t)); }
</script>
Svelte
<script>
  let phase = 'idle';
  $: label = ({idle:'Bookmark',purr:'Saved!'})[phase] || 'Adding...';
  function trigger() { if (phase !== 'idle') return; const seq = [['jump',0],['bookOpen',300],['curlUp',700],['bookClose',1500],['purr',1900],['idle',3400]]; 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-bookmark-cat',template:`<button class="btn-cat" (click)="trigger()"><span>{{label}}</span></button>`,styles:[`.btn-cat{width:224px;height:60px;border-radius:16px;border:none;background:linear-gradient(135deg,#f97316,#f59e0b);color:#fff;font-size:15px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:system-ui}`]})
export class BookmarkCatComponent { phase='idle'; get label() { return this.phase==='purr'?'Saved!':'Bookmark'; } trigger() { if(this.phase!=='idle')return; const seq=[['jump',0],['bookOpen',300],['curlUp',700],['bookClose',1500],['purr',1900],['idle',3400]]; 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 BookmarkCat extends LightningElement { phase='idle'; get label() { return this.phase==='purr'?'Saved!':'Bookmark'; } trigger() { if(this.phase!=='idle')return; const seq=[['jump',0],['bookOpen',300],['curlUp',700],['bookClose',1500],['purr',1900],['idle',3400]]; seq.forEach(([p,t])=>setTimeout(()=>{this.phase=p;},t)); } }
LWC — CSS
.btn-cat{width:224px;height:60px;border-radius:16px;border:none;background:linear-gradient(135deg,#f97316,#f59e0b);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 Bookmark Cat fits

  • Bookmark
  • Save
  • Favorite
  • Remember

Interaction states & animations

  • Click
  • Multi-stage
  • Character

Topics

  • #cat
  • #bookmark
  • #book
  • #purr
  • #cute
  • #sleep
  • #tail
  • #playful

Accessibility notes

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

Browser support

  • All modern browsers