본문으로 건너뛰기
언어

Korean locale presetkr

koLocaleSettings preset with the ko-KR locale, Asia/Seoul time zone, KRW currency and Sunday week start for LocaleProvider.

설치

pnpm
pnpm dlx shadcn@4.23.0 add @uikit/locale-ko

의존 아이템localestyle

Default

₩51,000

locale-ko-demo.tsx
"use client";
import { koLocaleSettings } from "@/lib/locale-ko";import { LocaleProvider, useFormat } from "@/lib/locale";
function Amount() {  const format = useFormat();  return <p className="text-sm">{format.currency(51000)}</p>;}
export default function LocaleKoDemo() {  return (    <LocaleProvider {...koLocaleSettings}>      <Amount />    </LocaleProvider>  );}