[{"data":1,"prerenderedAt":245},["ShallowReactive",2],{"component-magnetic-buttons":3,"related-components-magnetic-buttons":206},{"id":4,"title":5,"body":6,"categories":174,"createdAt":178,"description":163,"download_url":179,"extension":180,"faq":179,"featured":181,"features":182,"hasGradient":181,"iframe":188,"image":189,"isFree":181,"isNew":181,"lemonsqueezy_variant_id":163,"license":179,"meta":190,"navigation":192,"path":193,"polar_product_id":194,"polar_sandbox_product_id":179,"previewImage":195,"price":196,"published":192,"robots":179,"seo":197,"seoDescription":179,"seoTitle":179,"slug":12,"stem":198,"tagline":199,"tags":200,"__hash__":205},"components/components/magnetic-buttons.md","Magnetic Buttons",{"type":7,"value":8,"toc":162},"minimark",[9,13,17,21,28,34,40,46,50,56,62,68,74,85,89,94,99,109,114,128,134,138,144,150,156],[10,11,5],"h2",{"id":12},"magnetic-buttons",[14,15,16],"p",{},"Buttons that pull toward the cursor when it comes close, with physics-based motion. Use one of 4 preset styles, or connect your own component to make it magnetic.",[10,18,20],{"id":19},"features","Features",[14,22,23,27],{},[24,25,26],"strong",{},"Physics-based motion."," The button follows the cursor with adjustable strength and smoothness.",[14,29,30,33],{},[24,31,32],{},"4 presets."," Rounded Rectangle, Circle Fill, Pill Fill and Circle Outline.",[14,35,36,39],{},[24,37,38],{},"Your own components."," Connect any Framer component (an icon, a card, a full design) to make it magnetic.",[14,41,42,45],{},[24,43,44],{},"Text counter-movement."," The label moves slightly against the button for a sense of depth.",[10,47,49],{"id":48},"use-cases","Use Cases",[14,51,52,55],{},[24,53,54],{},"Call-to-action buttons."," CTAs that react before they're clicked.",[14,57,58,61],{},[24,59,60],{},"Navigation."," Menu items and icons that pull toward the cursor.",[14,63,64,67],{},[24,65,66],{},"Portfolios."," Clickable elements that invite a hover.",[14,69,70,73],{},[24,71,72],{},"Landing pages."," Interaction on the main conversion buttons.",[14,75,76],{},[77,78],"img",{"alt":79,"className":80,"src":84},"Magnetic Buttons Preview",[81,82,83],"w-full","mb-6","rounded-[20px]","/framerhub/img/components/control/magnetic-buttons.jpg",[10,86,88],{"id":87},"how-to-use","How to Use",[90,91,93],"h3",{"id":92},"customization","Customization",[14,95,96],{},[24,97,98],{},"Type Selection",[100,101,102,106],"ul",{},[103,104,105],"li",{},"Default: Use pre-styled button presets",[103,107,108],{},"Custom: Connect your own Framer component",[14,110,111],{},[24,112,113],{},"Magnetic Behavior",[100,115,116,119,122,125],{},[103,117,118],{},"Magnetic Strength: How strongly the button follows cursor (0-1)",[103,120,121],{},"Distance Threshold: Activation range for the effect",[103,123,124],{},"Smoothness: Animation fluidity (lower = smoother)",[103,126,127],{},"Text Counter Move: Depth effect intensity",[14,129,130,133],{},[24,131,132],{},"Button Styles","\nEach preset has full customization for dimensions, typography, colors, and hover states.",[90,135,137],{"id":136},"quick-tips","Quick Tips",[14,139,140,143],{},[24,141,142],{},"Strength."," 0.3 is subtle. 0.5 to 0.8 follows the cursor much more.",[14,145,146,149],{},[24,147,148],{},"Smoothness."," Around 0.1 balances quick response with smooth motion.",[14,151,152,155],{},[24,153,154],{},"Custom mode."," Connected components need visible edges, or the movement is hard to see.",[14,157,158,161],{},[24,159,160],{},"Hover states."," Set a hover color so visitors see when the magnetic effect kicks in.",{"title":163,"searchDepth":164,"depth":164,"links":165},"",2,[166,167,168,169],{"id":12,"depth":164,"text":5},{"id":19,"depth":164,"text":20},{"id":48,"depth":164,"text":49},{"id":87,"depth":164,"text":88,"children":170},[171,173],{"id":92,"depth":172,"text":93},3,{"id":136,"depth":172,"text":137},[175,176,177],"Buttons","Typography","Interactive","2025-12-16T00:00:00.000Z",null,"md",false,[183,184,185,186,187],"Physics-based cursor following","4 pre-styled button presets","Custom component support","Smooth hover animations","Text counter-movement effect","https://exhilarated-needs-927394.framer.app/","/framerhub/img/components/magnetic-buttons.gif",{"variants":191},4,true,"/components/magnetic-buttons","6c79aac6-c2d2-43be-8341-70865125dbd1","/framerhub/img/components/large/magnetic-buttons.jpg",5,{"title":5,"description":163},"components/magnetic-buttons","Buttons that pull toward your cursor.",[201,177,202,203,204],"Magnetic","Hover","Cursor","CTA","5NLkotc2xPW9MBEbgPb-3tYBxfnn-FXutd5xeBB1BqA",[207,221,234],{"slug":208,"title":209,"image":210,"tagline":211,"price":212,"isFree":181,"hasGradient":181,"tags":213,"categories":219},"physics-tags","Physics Tags","/framerhub/img/components/physics-tags.jpg","Interactive 3D physics tags that react to gravity and collisions.",12,[214,215,216,217,218],"physics","tags","matter.js","interactive","falling",[177,220],"Animation",{"slug":222,"title":223,"image":224,"tagline":225,"price":226,"isFree":181,"hasGradient":181,"tags":227,"categories":232},"portfolio-reveal-hero","Portfolio Reveal Hero","/framerhub/img/components/portfolio-reveal-hero.jpg","A blob-shaped mask that reveals one image under another.",9,[228,229,230,231],"WebGL","Canvas","Images","Reveal",[233],"Interactions",{"slug":235,"title":236,"image":237,"tagline":238,"price":226,"isFree":181,"hasGradient":181,"tags":239,"categories":244},"scratch-and-win-coupon","Scratch & Win Coupon","/framerhub/img/components/scratch-and-win-coupon.jpg","A foil coupon visitors scratch away with a mouse or finger to reveal a prize.",[240,241,242,231,243,229],"Scratch Card","Coupon","Gamification","Marketing",[177,243,229],1794241453473]