A tabs icon that draws itself on hover and moves its tinted open tab over to its neighbor when you switch tabs, then back.
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 ›
tabs-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
Tab bars, browser-style tabs and view switchers that move between two panes.
Cara kerjanya
Hover it and the window, the tab divider, the edge under the second tab and the content draw in. The open tab is softly tinted. Switch tabs and the tint moves to the other tab, the edge under it pulls back into the divider as a new one draws out under the first tab, and the content lines swap.
Cara memakai
Tautkan style.css dan script.js dari halaman Anda, lalu tempel markup dari index.html di tempat yang diinginkan.