Put Fave1 button
on your site.
One tag on your own page. Visitors tap it and Fave1 opens right there — or jump straight into any app in the store: share it, grab its images, break it for fun. Add as many as you like. Works on phones too. Nothing loads until they tap.
<!-- Once per page --> <script async src="https://hello.fave1.com/button.js"></script> <!-- Wherever the button goes — as many as you like --> <fave1-button>Fave1</fave1-button>
<fave1-button> after it is its own button — the Fave1 button in your header, Share under every post, a game in the footer. Make each one here and paste them where they go.One tag.
Your rules.
It’s a standard web component — plain HTML, React, Vue, Svelte, WordPress, Webflow. If the script can’t load, the label stays as plain text and nothing breaks.
No cookies, no counters, no calls home. The script is a small static file; hovering the button fetches Fave1 ahead so the tap is instant.
The button lives in its own shadow root — your CSS can’t break it, and it can’t touch yours. Close Fave1 and the page is exactly as it was.
Bookmarks don’t work on phones. Your button does — anyone can open Fave1 from it, signed in or not.
Attributes
appany app ID in the App Store—Opens that app as soon as Fave1 is up — ours or one from another developer. Leave it off for the Fave1 button (the launcher).themedark · light · gradient · outline · violet · sky · mint · lime · coral · sun · sunset · oceandarkOutline takes your text color — it works on any background.bg#rrggbb · transparent—Your own background. Goes over the theme, and the star in the logo takes this color.color#rrggbb—Your own text color. The logo circle takes it too.border#rrggbb—Your own border. Leave it off and the border matches the background.shapepill · rounded · squarepillsizesm · md · lgmd28, 36 and 44 px tall.contentboth · text · iconbothIcon is just the logo — a round star, no border. The text you write becomes its name for screen readers.The text between the tags is the label — write it in your site’s language. Leave it empty and the button says Fave1 for the Fave1 button, the name of the Fave1 apps it knows, and Open for any other app — so write a label when you pick an app. The builder fills in the app’s name for you.
Several buttons, one script
Put the script on the page once, then as many tags as you want — each is its own button with its own app and look. The Fave1 button in your header, Share under every post, a game in the footer.
<script async src="https://hello.fave1.com/button.js"></script> <header> <fave1-button theme="gradient">Fave1</fave1-button> </header> <article> … <fave1-button app="share">Share</fave1-button> <fave1-button app="images" theme="outline" content="icon">Images</fave1-button> </article> <footer> <fave1-button app="site-raid" theme="light" size="sm">Site Raid</fave1-button> </footer>
Make it yours
Every color and size is a CSS variable on the tag. For anything else, style the parts directly.
fave1-button {
--fave1-bg: #0A7CFF; /* background (gradients work) */
--fave1-fg: #fff; /* text */
--fave1-border: transparent;
--fave1-radius: 6px;
--fave1-height: 40px;
--fave1-font: inherit; /* use your site's font */
--fave1-weight: 600;
--fave1-mark: #fff; /* logo circle */
--fave1-star: #0A7CFF; /* logo star */
}
/* Or reach inside — parts: button · icon · label */
fave1-button::part(button) { letter-spacing: 0; text-transform: uppercase; }Know when it opens
window.addEventListener('fave1:open', () => { /* Fave1 is up */ });
window.addEventListener('fave1:close', () => { /* and gone — the page is back */ });If your site has a CSP
Most sites don’t need this. If yours sends a Content-Security-Policy, add these sources — without frame-src, Fave1 still opens but everyone looks signed out.
script-src https://hello.fave1.com https://*.fave1.app frame-src https://account.www.fave1.com https://hello.fave1.com connect-src https://hello.fave1.com https://*.fave1.app https://www.fave1.com img-src https://hello.fave1.com https://fave1.app https://*.fave1.app https://www.fave1.com https://g.fave1.com
https://hello.fave1.com/button.jsHow Fave1 runs on a page