geist mono

geist mono

Search…

Dynamic app buttons

Show iOS and Android buttons.

Dynamic app buttons

Show iOS and Android buttons.

Head to the desktop site to copy.

Updated:

Nov 8, 2023

Type:

Override

Notes

  • There will be a slight delay as the override determines which platform/variant to show, to combat this you can just add a small appear animation/delay.

  • Ensure your variant names match the names in the code override (my variants here are "ios", "android" and "default — they're case sensitive):

        return "ios"
    } else if (userAgent.includes("android")) {
        return "android"
    } else {
        return "default"
  • Will render the default variant on the Canvas and on desktop.

Help

How do I add code overrides?