A route icon that draws itself on hover and traces its road to the end point when a trip arrives, then goes back on its own.
React + HTML
مفت
حالت
نیچے مزید ↓
پہلے سے شامل
آپ کو کیا ملتا ہے
لائٹ اور ڈارکآپ کی تھیم کے رنگ استعمال کرتا ہے
پیکجز…
کوڈ کا سائز…
ہر تبدیلی پر جانچ
ٹائپ چیکTypeScript strict
لنٹ اور فارمیٹESLint · Prettier
ٹیسٹ اور بلڈلائٹ اور ڈارک اسکرین شاٹس
سکیورٹی آڈٹکوئی ہائی یا کریٹیکل ایڈوائزری نہیں
پیکج کی عمرہر ورژن 7+ دن سے عوامی
فارغ CPUآرام میں آدھے کور سے کم، ≤ 30 fps
کوڈ
اس کمپوننٹ میں کچھ گڑبڑ ہے؟ فیڈبیک بھیجیں ›
route-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.
لوڈ ہو رہا ہے…
کس کے لیے بہتر
Directions buttons, delivery and ride tracking, and trip-finished moments.
یہ کیسے کام کرتا ہے
Hover it and the start, the road and the end draw in. Once arrived, the start lights up, the road is traced to the end, and the end point pulses and fills, then it goes back.
استعمال کا طریقہ
اپنے صفحے سے style.css اور script.js کو لنک کریں، پھر index.html کا مارک اپ وہاں پیسٹ کریں جہاں اسے ہونا چاہیے۔