Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

rtk-icon

最終更新 Markdown で表示Agent セットアップ

SVG 文字列を受け取り、描画するアイコンコンポーネントです。

プロパティ

プロパティ 型 必須 デフォルト 説明
icon string ✅ - アイコン
size Size1 ✅ - サイズ
variant IconVariant ✅ - アイコンのバリアント

使用例

基本的な使い方

<!-- component.html -->
<rtk-icon></rtk-icon>

プロパティを指定する場合

<!-- component.html -->
<rtk-icon
 icon="example"
 size="md"
 variant="primary">
</rtk-icon>

役に立ちましたか?