Component packs › Setpoint › Language Picker

Language Picker

Pick a language and the order email re-sets line by line with real Intl dates and prices, mirrored right to left for Arabic.

Language Picker is a settings from Setpoint, a component pack with 6 settings panels: Settings panels that show the effect of every change as you make it. Price: $2 for the whole pack.

Built with: Intl date and currency, RTL mirror, line by line swap.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Language Picker props

PropTypeDefaultDescription
languagesLanguagePickerLanguage[]
valuestring
onChange(code: string) => void
autoplaynumber | falseShowcase mode: switches language every N ms while visible.

Methods on the ref

Use it in React

import LanguagePicker from './LanguagePicker';

<LanguagePicker />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Setpoint

Good for: Settings pages.