[{"data":1,"prerenderedAt":323},["ShallowReactive",2],{"component-scratch-and-win-coupon":3,"related-components-scratch-and-win-coupon":285},{"id":4,"title":5,"body":6,"categories":239,"createdAt":243,"description":226,"download_url":244,"extension":245,"faq":246,"featured":259,"features":260,"hasGradient":259,"iframe":266,"image":267,"isFree":259,"isNew":259,"lemonsqueezy_variant_id":226,"license":244,"meta":268,"navigation":270,"path":271,"polar_product_id":272,"polar_sandbox_product_id":244,"previewImage":273,"price":274,"published":270,"robots":244,"seo":275,"seoDescription":244,"seoTitle":244,"slug":276,"stem":277,"tagline":278,"tags":279,"__hash__":284},"components/components/scratch-and-win-coupon.md","Scratch & Win Coupon",{"type":7,"value":8,"toc":225},"minimark",[9,14,18,21,25,32,38,44,50,56,62,66,72,78,84,90,101,105,110,115,122,127,138,143,151,156,164,169,174,178,184,190,196,200,203,207],[10,11,13],"h2",{"id":12},"a-scratch-off-coupon-for-framer-sites","A scratch-off coupon for Framer sites",[15,16,17],"p",{},"Scratch & Win Coupon covers a prize with a shiny foil layer that visitors scratch away with the mouse or a finger. Once they have uncovered enough, the rest clears automatically and a confetti burst celebrates the reveal. It turns a discount code, a secret message or a product teaser into a small game that people actually finish.",[15,19,20],{},"You style the card border, the foil (color, texture image and a call-to-action like \"SCRATCH ME\"), the prize label, code and background, the confetti, the brush size and the reveal threshold in Framer's properties panel. For full control, connect your own design as the prize.",[10,22,24],{"id":23},"features","Features",[15,26,27,31],{},[28,29,30],"strong",{},"Realistic scratching."," Interpolated strokes, so fast movements leave continuous lines.",[15,33,34,37],{},[28,35,36],{},"Animated foil."," A moving shine that disappears as the foil is scratched.",[15,39,40,43],{},[28,41,42],{},"Auto-reveal."," The prize clears once a set percentage is scratched.",[15,45,46,49],{},[28,47,48],{},"Confetti."," A ribbon burst on reveal, with custom colors.",[15,51,52,55],{},[28,53,54],{},"Custom prize slot."," Use any Frame or component as the winning state.",[15,57,58,61],{},[28,59,60],{},"Touch support."," Works on phones and tablets.",[10,63,65],{"id":64},"where-scratch-win-coupon-works-best","Where Scratch & Win Coupon works best",[15,67,68,71],{},[28,69,70],{},"E-commerce discount codes."," Put the card on a landing page with \"Scratch to reveal your discount\" above it and the code underneath. Earning the code feels like a win, and the confetti adds a moment of delight before checkout.",[15,73,74,77],{},[28,75,76],{},"Newsletter rewards."," Show the card on the thank-you page after signup, with a welcome offer as the prize. Visitors leave the flow with something.",[15,79,80,83],{},[28,81,82],{},"Product and feature teasers."," Hide a product image or launch date behind the foil on a \"coming soon\" page, using the custom prize slot.",[15,85,86,89],{},[28,87,88],{},"Event and holiday campaigns."," Seasonal foil textures and confetti colors make a festive giveaway page with very little design work.",[15,91,92],{},[93,94],"img",{"alt":95,"className":96,"src":100},"Scratch & Win Coupon Preview",[97,98,99],"w-full","mb-6","rounded-[20px]","/framerhub/img/components/control/scratch-and-win-coupon.jpg",[10,102,104],{"id":103},"how-to-use","How to Use",[106,107,109],"h3",{"id":108},"customization","Customization",[15,111,112],{},[28,113,114],{},"Card styles",[116,117,118],"ul",{},[119,120,121],"li",{},"Border color, width and radius",[15,123,124],{},[28,125,126],{},"Scratch layer",[116,128,129,132,135],{},[119,130,131],{},"Scratch Color: the foil color",[119,133,134],{},"Scratch Image: a custom foil texture",[119,136,137],{},"Scratch Text: a call-to-action such as \"SCRATCH ME\"",[15,139,140],{},[28,141,142],{},"Prize layer",[116,144,145,148],{},[119,146,147],{},"Prize label and code",[119,149,150],{},"Prize background color or image",[15,152,153],{},[28,154,155],{},"Confetti",[116,157,158,161],{},[119,159,160],{},"Enable confetti",[119,162,163],{},"Confetti colors",[15,165,166],{},[28,167,168],{},"Custom prize",[116,170,171],{},[119,172,173],{},"Connect any Frame or component to the Custom prize connector (hides the default text controls)",[106,175,177],{"id":176},"starting-settings","Starting settings",[15,179,180,183],{},[28,181,182],{},"Classic coupon."," Silver foil, \"SCRATCH ME\", brush size 25, reveal at 55%, confetti in brand colors.",[15,185,186,189],{},[28,187,188],{},"Premium offer."," Gold foil texture image, dark prize background with a white code, brush size 20.",[15,191,192,195],{},[28,193,194],{},"Teaser."," Custom prize slot with a product image, reveal at 50%, confetti off for a calmer reveal.",[10,197,199],{"id":198},"performance-and-mobile","Performance and mobile",[15,201,202],{},"The scratch surface is an HTML5 canvas with offscreen buffering, so it stays smooth on mobile. A brush size of 20 to 30 feels most satisfying: smaller is tedious and larger is too easy. Keep the reveal threshold around 50 to 60% so nobody has to hunt for the last flecks of foil.",[10,204,206],{"id":205},"compared-with-similar-components","Compared with similar components",[15,208,209,214,215,219,220,224],{},[210,211,213],"a",{"href":212},"/components/before-after-picture","Before After Picture"," also reveals one layer under another, but as a comparison slider. ",[210,216,218],{"href":217},"/components/counter-number","Counter Number"," animates figures such as a discount percentage. ",[210,221,223],{"href":222},"/components/exist-popup","Exit Popup"," can present the offer when visitors are about to leave. Choose Scratch & Win Coupon when you want the reveal itself to be the fun part.",{"title":226,"searchDepth":227,"depth":227,"links":228},"",2,[229,230,231,232,237,238],{"id":12,"depth":227,"text":13},{"id":23,"depth":227,"text":24},{"id":64,"depth":227,"text":65},{"id":103,"depth":227,"text":104,"children":233},[234,236],{"id":108,"depth":235,"text":109},3,{"id":176,"depth":235,"text":177},{"id":198,"depth":227,"text":199},{"id":205,"depth":227,"text":206},[240,241,242],"Interactive","Marketing","Canvas","2023-11-20T00:00:00.000Z",null,"md",[247,250,253,256],{"question":248,"answer":249},"Does the scratch card work on phones?","Yes. It handles touch automatically, so visitors scratch with a finger on phones and tablets.",{"question":251,"answer":252},"Can I design my own prize instead of a code?","Yes. Connect any Frame or component to the Custom prize connector and it becomes the prize layer. The default text controls are then hidden.",{"question":254,"answer":255},"How much does a visitor need to scratch?","You set a reveal percentage. Around 50 to 60% works well: once that much is scratched, the whole prize is revealed automatically.",{"question":257,"answer":258},"Can I turn off the confetti?","Yes. Confetti is on by default when the prize is revealed, and you can switch it off or change its colors.",false,[261,262,263,264,265],"Realistic scratch effect","Confetti celebration","Custom images & text","Mobile optimized","Auto-reveal threshold","https://adored-clicks-548122.framer.app/","/framerhub/img/components/scratch-and-win-coupon.jpg",{"variants":269},1,true,"/components/scratch-and-win-coupon","b860101f-69f5-41f4-8f91-a7b1754ff956","/framerhub/img/components/large/scratch-and-win-coupon.jpg",9,{"title":5,"description":226},"scratch-and-win-coupon","components/scratch-and-win-coupon","A foil coupon visitors scratch away with a mouse or finger to reveal a prize.",[280,281,282,283,241,242],"Scratch Card","Coupon","Gamification","Reveal","A_pM7ESU4KSSi53TTSxDjuTei1p_22UxJ-r9xIZ_OJ8",[286,298,310],{"slug":287,"title":288,"image":289,"tagline":290,"price":274,"isFree":259,"hasGradient":259,"tags":291,"categories":297},"tag-splitter","Tag Splitter","/framerhub/img/components/tag-splitter.jpg","Turns a comma-separated list into tag pills.",[292,293,294,295,296],"Tags","Pills","List","Splitter","Layout",[240],{"slug":299,"title":213,"image":300,"tagline":301,"price":302,"isFree":259,"hasGradient":259,"tags":303,"categories":309},"before-after-picture","/framerhub/img/components/before-after-picture.jpg","A before-and-after image slider with arrow handles.",12,[304,305,306,307,240,308],"Picture","Images","Comparison","Before After","Drag",[240,304],{"slug":311,"title":312,"image":313,"tagline":314,"price":315,"isFree":270,"hasGradient":259,"tags":316,"categories":322},"bouncing-balls","Gravity Bouncing Balls","/framerhub/img/components/physics-gravity.jpg","Interactive 2D physics simulation with gravity, collisions, and mouse repulsion.",0,[317,318,319,240,320,321],"Physics","Gravity","Collision","2D","Animation",[240],1794241456758]