A left arrow that draws itself on hover and turns into swap arrows when swapped, a second arrow sliding in underneath pointing the other way.
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 ý ›
arrow-left-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
Swap buttons between two languages, currencies, accounts or from and to fields; also plain back buttons.
Cách hoạt động
Hover it and the line draws in, then the arrow head. Swap and the arrow lifts up while a second arrow pointing right slides in underneath; swap back and it slides away.
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.