A birthday cake icon that draws itself on hover and lights a flickering flame on each candle when it is lit.
React + HTML
Безкоштовно
Стан
Більше нижче ↓
Вбудовано
Що ви отримуєте
Світла й темнаВикористовує кольори вашої теми
Пакети…
Розмір коду…
Перевіряється після кожної зміни
Перевірка типівСтрогий TypeScript
Лінтер і форматESLint · Prettier
Тести й збіркаСкриншоти у світлій і темній темах
Аудит безпекиБез високих чи критичних загроз
Вік пакетівКожна версія публічна 7+ днів
Процесор у спокоїМенше половини ядра у спокої, ≤ 30 fps
Код
Щось не так із цим компонентом? Надіслати відгук ›
cake-iconHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
Завантаження…
Підходить для
Birthday reminders, anniversaries, celebrations and party or event apps.
Як це працює
Hover it and the cake draws in, then its icing and candles. Light it and a flame grows on each wick, one after another, and they flicker twice; blow it out and the flames shrink away.
Як користуватися
Підключіть style.css і script.js на своїй сторінці, потім вставте розмітку з index.html туди, куди потрібно.