An up and down chevrons icon that draws itself on hover and, once a column is sorted, grows its up chevron bold while the down one fades.
React + HTML
חינם
מצב
עוד למטה ↓
מובנה
מה מקבלים
בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
חבילות…
גודל הקוד…
נבדק בכל שינוי
בדיקת טיפוסיםTypeScript strict
Lint ועיצוב קודESLint · Prettier
בדיקות ובנייהצילומי מסך בהיר וכהה
בדיקת אבטחהללא התראות חמורות או קריטיות
גיל החבילותכל גרסה פומבית 7 ימים לפחות
מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
יש בעיה ברכיב הזה? שליחת משוב ›
chevrons-up-down-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.
טוען…
מתאים ל
Sortable table column headers, select and combobox triggers, and anything that orders a list.
איך זה עובד
Hover it and both chevrons draw out from the left. Sort and the up chevron grows big and bold as the down one shrinks and fades; unsort and they even out again.
איך משתמשים
קשרו את style.css ו-script.js מהעמוד שלכם, ואז הדביקו את הקוד מ-index.html במקום שבו הוא צריך להופיע.