An eye icon that draws itself on hover and loses its pupil as a slash draws across when something is hidden, and opens again when it is shown.
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 ý ›
eye-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
Show and hide password buttons, hidden fields and private values.
Cách hoạt động
Hover it and the outline draws in and the pupil pops in. Close it and the pupil shrinks away while a slash draws across, cutting a small gap in the outline where it crosses.
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.