本文へ移動
はじめに

Component

Attachment

配布 component の実装と同じ isolated preview を表示します。

Preview

操作できる隔離プレビュー

別ページで開く

隔離プレビューを開始

Dialog などの focus trap をこのページから分離した状態で読み込みます。

Install

プロジェクトに合う経路を選べます。

直接 URL

設定を追加せず、この component を取得します。

npx shadcn@latest add https://ui.elchika.dev/r/attachment.json

@elchika 名前空間

components.json の registry 設定を使います。

npx shadcn@latest add @elchika/attachment

Props

Props一覧は次段で追加します。