A divide (÷) icon that draws itself on hover and snaps its bar into two halves, each taking one dot, when something is split.
React + HTML
Gratis
Status
Selengkapnya di bawah ↓
Sudah termasuk
Yang Anda dapat
Terang dan gelapMemakai warna tema Anda
Paket…
Ukuran kode…
Dicek di setiap perubahan
Pengecekan tipeTypeScript strict
Lint dan formatESLint · Prettier
Tes dan buildTangkapan layar terang dan gelap
Audit keamananTanpa advisori tinggi atau kritis
Usia paketSetiap versi sudah publik 7+ hari
CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps
Kode
Ada yang janggal dengan komponen ini? Kirim masukan ›
divide-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.
Memuat…
Cocok untuk
Split-the-bill buttons, split view or split-payment toggles and calculator keys.
Cara kerjanya
Hover it and the bar draws out from its middle, then the dots pop in. Split it and the bar snaps in two: the halves slide apart and the top dot moves over the left half, the bottom dot under the right; join it and they come back together.
Cara memakai
Tautkan style.css dan script.js dari halaman Anda, lalu tempel markup dari index.html di tempat yang diinginkan.