A compass icon that draws itself on hover and spins its needle round to point north when it is turned on, and lets it drift off again when turned off.
React + HTML
मुफ़्त
स्थिति
नीचे और ↓
पहले से मौजूद
आपको क्या मिलता है
लाइट और डार्कआपकी थीम के रंग इस्तेमाल करता है
पैकेज…
कोड साइज़…
हर बदलाव पर जाँचा गया
टाइप जाँचTypeScript स्ट्रिक्ट
लिंट और फ़ॉर्मैटESLint · Prettier
टेस्ट और बिल्डलाइट और डार्क स्क्रीनशॉट
सिक्योरिटी ऑडिटकोई हाई या क्रिटिकल एडवाइज़री नहीं
पैकेज की उम्रहर वर्शन 7+ दिन से पब्लिक
आइडल CPUरुके रहने पर आधे कोर से कम, ≤ 30 fps
कोड
इस कंपोनेंट में कुछ गड़बड़ है? फ़ीडबैक भेजें ›
compass-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.
लोड हो रहा है…
इनके लिए अच्छा
Heading or compass mode on a map, a locate-me button and travel apps.
यह कैसे काम करता है
Hover it and the ring draws in, then the needle spins in. Turn it on and the needle spins one turn past north and settles, its north half fills and an N mark draws at the top.
कैसे इस्तेमाल करें
अपने पेज से style.css और script.js लिंक करें, फिर index.html का मार्कअप वहाँ पेस्ट करें जहाँ उसे जाना है।