Back to components
ComponentBannerFree

Language Suggestion Banner React component

Offers a page in the visitor's own language, written in that language, with a picker for the others. It remembers the answer and only appears when it helps.

About the Language Suggestion Banner component

Language Suggestion Banner helps visitors who landed on the wrong language, without redirecting them against their will. It speaks to them in their own language and offers to switch.

It only appears when the browser's language differs from the page and you support it, and it remembers the answer, so nobody is asked twice.

When to use it

Use it on multilingual sites, instead of forcing a redirect based on the browser or location.

For a single-language site it stays hidden, so it does no harm to leave it out.

Installation

Add the Language Suggestion Banner component to your project with the shadcn CLI. It lands in components/language-suggestion-banner.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/language-suggestion-banner

Related components

New Feature Spotlight Bar
Free
Floating Promo Pill
Free
Corner Ribbon
Free
Branching Logic Explorer
Free
Incident Cause Tracer
Free
A/B Test Result Card
Free