Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

QR Install Footer Block for React

A bike-share footer with a framed QR code for the install page, store links and two columns of ride links.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

An install footer for React with Base UI, for Pedalhurst, a bike-share app. An even split: the start half is the wordmark, one sentence and a framed QR code that encodes the install page, captioned Scan to install. The end half leads with the store links, a Shine Button for iOS and an outline Button for Android, then two link columns in a nav labelled Footer. The divider runs from the top rule to the end of the page, and the legal band continues it. The code tile stays light so a camera can read it; the rest of the footer follows the theme. It's built from QR Code, Shine Button, Button and Guides.

FAQ

What does the QR code open?

It encodes APP_URL (https://pedalhurst.example/install in the demo). Replace that string with your install page and the code changes with it. The store buttons are separate links; they do not use the code's address.

Why does the code stay light in a dark theme?

A camera reads a dark code on a light tile. The QR frame is drawn that way, and this block does not paint over it. The wordmark, the type and the rules follow your theme. Nothing sets a dark scope on the footer.

Where do the store buttons go?

They are links with href="#". Point "Download for iOS" and "Download for Android" at the stores, or at the same install page as the code. Each button renders an anchor through render, with nativeButton off.

How does it fit on a phone?

The wordmark, the sentence and the code come first, then a rule, then the two store buttons (they wrap if they need to), then the two link columns, then the legal row. From lg the code sits beside the stores and the columns, and the divider runs through the legal band. Nothing scrolls sideways at 320 pixels.

Where does the copyright year come from?

It is the current year, read when the footer renders, so it never goes stale. The block is a server component with no state, so on a server-rendered site the year is the server's when the page was built or rendered.

  • Pro

    The classic link-column footer for an email API: a brand column with the wordmark, one sentence and four social links, four groups of links behind a split divider, and a legal band with the copyright and the policy links.

  • Pro

    A brand-first split footer for a design tool: a display wordmark, a tagline and the Shine Button on one half, three link columns and the legal row on the other.

  • Pro

    A footer for a workflow tool whose call to action is the last cell of the link grid: a brand and three link groups beside a card in a card with a small flow drawing, a title, one line and a Shine Button.

  • Pro

    Upgrade Meter Footer

    Plans and estimates

    A slim footer for cloud storage with a plan band: the plan name, the space used and free, a thin meter, the share as a number and an Upgrade button, over a row of links and a legal band.

  • Pro

    A scan-to-install callout for a mobile app: a real QR code in a card in card with a caption, beside the heading, one sentence and links to both store listings.

  • Pro

    Social Icons Footer

    Slim and minimal

    A two-row footer: a wordmark and tagline beside five social icon buttons with tooltips, and a ruled band with the copyright and the policy links.