A share icon that draws itself on hover and shoots its arrow out of the box when something is shared, then shows a check badge and goes back on its own.
React + HTML
مفت
حالت
نیچے مزید ↓
پہلے سے شامل
آپ کو کیا ملتا ہے
لائٹ اور ڈارکآپ کی تھیم کے رنگ استعمال کرتا ہے
پیکجز…
کوڈ کا سائز…
ہر تبدیلی پر جانچ
ٹائپ چیکTypeScript strict
لنٹ اور فارمیٹESLint · Prettier
ٹیسٹ اور بلڈلائٹ اور ڈارک اسکرین شاٹس
سکیورٹی آڈٹکوئی ہائی یا کریٹیکل ایڈوائزری نہیں
پیکج کی عمرہر ورژن 7+ دن سے عوامی
فارغ CPUآرام میں آدھے کور سے کم، ≤ 30 fps
کوڈ
اس کمپوننٹ میں کچھ گڑبڑ ہے؟ فیڈبیک بھیجیں ›
share-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.
لوڈ ہو رہا ہے…
کس کے لیے بہتر
Share buttons on posts, articles, product pages and invite screens.
یہ کیسے کام کرتا ہے
Hover it and the box draws in as the arrow slides out of it. Once shared, the arrow shoots up and right, the box recoils, and a check badge pops in where the arrow was, then it goes back.
استعمال کا طریقہ
اپنے صفحے سے style.css اور script.js کو لنک کریں، پھر index.html کا مارک اپ وہاں پیسٹ کریں جہاں اسے ہونا چاہیے۔