A key icon that draws itself on hover and pushes in and turns when access is granted, then lights its bow and goes back on its own.
React + HTML
Miễn phí
Trạng thái
Xem thêm bên dưới ↓
Tích hợp sẵn
Bạn nhận được
Sáng và tốiDùng màu theo giao diện của bạn
Package…
Dung lượng mã…
Được kiểm tra ở mỗi thay đổi
Kiểm tra kiểuTypeScript strict
Lint và định dạngESLint · Prettier
Test và buildẢnh chụp sáng và tối
Kiểm tra bảo mậtKhông có cảnh báo mức cao hoặc nghiêm trọng
Tuổi của packageMọi phiên bản công khai từ 7 ngày trở lên
CPU khi nghỉDưới nửa nhân khi đứng yên, ≤ 30 fps
Mã nguồn
Component này có gì không ổn? Gửi góp ý ›
key-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.
Đang tải…
Phù hợp cho
Access granted moments, passkeys, API key reveals, unlock and sign-in buttons.
Cách hoạt động
Hover it and the bow, blade and teeth draw in. Once granted, the key pushes in and turns, so its teeth flip over, and the bow lights up, then it goes back.
Cách dùng
Liên kết style.css và script.js từ trang của bạn, rồi dán đoạn markup từ index.html vào chỗ bạn muốn.