# twemojiアイコンコンポーネントを最適にセットアップするにはどうすればよいですか？

**URL:** <https://meta.discourse.org/t/how-would-i-best-setup-a-twemoji-icons-component/270181>\
**Category:** Development\
**Created:** [2023 年 6 月 30 日午後 5:19 UTC](https://meta.discourse.org/t/how-would-i-best-setup-a-twemoji-icons-component/270181 "2023-06-30T17:19:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)\
**Post date:** [2023 年 7 月 1 日午後 4:12 UTC](https://meta.discourse.org/t/how-would-i-best-setup-a-twemoji-icons-component/270181/5 "2023-07-01T16:12:21Z")

</div>

アレクサンダーさん、ありがとうございます！後押しが必要だったようです 🙂

これで動作するようになりました ✨ スキンカラーや性別のバリエーションを除いた、主要な絵文字セットを追加しました。これは1869個のアイコン（Twemojiアセットフォルダ内の3689個のSVGファイルのうち）です。アイコンの名前には`tw-`を接頭辞として、それに英語のショートコードを付けました。名前にはタグが含まれていないため、適切な絵文字を見つけるには、参照サイトを使用する必要があるかもしれません。例えば、このアイコンは、アイコンピッカーで_golf_と入力しても表示されません。

 ![Screenshot from 2023-07-01 16-49-43](https://global.discourse-cdn.com/meta/original/4X/b/f/c/bfc755cf1eaeee915388942a5c9cf95ad4f91b35.png)

テーマの準備ができたら、コンポーネントをtheme-componentsで共有します。すでに試してみたい方は、リポジトリはこちらです: [GitHub - nolosb/discourse-twemoji-icons: Use twemojis as icons in Discourse.](https://github.com/nolosb/discourse-twemoji-icons.git)

---

_[View the full topic](https://meta.discourse.org/t/how-would-i-best-setup-a-twemoji-icons-component/270181)._
