A garage icon that draws itself on hover and rolls its door up to show the car inside when it is open.
React + HTML
Безкоштовно
Стан
Більше нижче ↓
Вбудовано
Що ви отримуєте
Світла й темнаВикористовує кольори вашої теми
Пакети…
Розмір коду…
Перевіряється після кожної зміни
Перевірка типівСтрогий TypeScript
Лінтер і форматESLint · Prettier
Тести й збіркаСкриншоти у світлій і темній темах
Аудит безпекиБез високих чи критичних загроз
Вік пакетівКожна версія публічна 7+ днів
Процесор у спокоїМенше половини ядра у спокої, ≤ 30 fps
Код
Щось не так із цим компонентом? Надіслати відгук ›
garage-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.
Завантаження…
Підходить для
Smart home apps, garage door controls, parking spots and vehicle status.
Як це працює
Hover it and the roof and walls draw in, then the door and its slats. Set it open and the slats roll up into the top one after another and a car rises into the opening.
Як користуватися
Підключіть style.css і script.js на своїй сторінці, потім вставте розмітку з index.html туди, куди потрібно.