勤
Acme{" "}
·
{" "}
勤怠
勤怠管理プラットフォーム
);
}
const LOCALES: Array<{ code: string; label: string }> = [
{ code: "ja", label: "日本語" },
{ code: "en", label: "English" },
{ code: "vi", label: "Tiếng Việt" },
];
export default function LoginShowcase() {
// Independent local state (Rule #6) — controlled + uncontrolled both shown:
// theme/locale are controlled (value + onValueChange), the fields are uncontrolled
// with seeded defaultValue so the filled state is visible at rest (Rule #2).
const [locale, setLocale] = React.useState("ja");
const [theme, setTheme] = React.useState("light");
return (