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 кадров/с
Код
Что-то не так с этим компонентом? Отправить отзыв ›
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 туда, где она нужна.