KodeKarsa UI

基本

Copy Button

テキストをコピーし、少しのあいだ確認を表示します。テキスト付きでもアイコンだけでも。

src/components/ui/copy-button.tsxui-sdkなし

APIキーとリンク

Memuat

インポート

tsx
import { CopyButton } from "@/components/ui/copy-button";

ガイドライン

  • アイコンだけの場合は label が必須です。