# Select font while creating a topic

**URL:** https://meta.discourse.org/t/select-font-while-creating-a-topic/407745
**Category:** Support
**Tags:** composer
**Created:** [July 15, 2026, 10:37pm UTC](https://meta.discourse.org/t/select-font-while-creating-a-topic/407745 "2026-07-15T22:37:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sorokin](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sorokin](https://meta.discourse.org/u/sorokin)
#### Post date: [July 15, 2026, 10:37pm UTC](https://meta.discourse.org/t/select-font-while-creating-a-topic/407745/1 "2026-07-15T22:37:05Z")

</div>

I looked for threads that had already discussed this topic, but didn’t find anything specific…

Is there a plugin or a simple way to choose a font when writing text? If not, how feasible would it be to add such an option? I’d appreciate any response!

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [July 15, 2026, 10:44pm UTC](https://meta.discourse.org/t/select-font-while-creating-a-topic/407745/2 "2026-07-15T22:44:50Z")

</div>

Hi there, this is relatively easy to do using a theme component. Just create one and add as many fonts you’d like in the `CSS` section.

```css
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@100..900&display=swap");

.d-wrap[data-wrap="inter"] {
    font-family: "Inter", sans-serif;
}

.d-wrap[data-wrap="oswald"] {
    font-family: "Oswald", sans-serif;
}

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/2/e/32e00c4661863b22be322bb903f4c5db63d12776.png)

```markdown
[wrap="inter"]hello from inter[/wrap]
[wrap="oswald"]hello from oswald[/wrap]

```

---

<div class="post-metadata">

### Author: ![sorokin](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sorokin](https://meta.discourse.org/u/sorokin)
#### Post date: [July 15, 2026, 10:49pm UTC](https://meta.discourse.org/t/select-font-while-creating-a-topic/407745/3 "2026-07-15T22:49:02Z")

</div>

Thank you for answering! I will try for sure!

However, if I would like to have a dropdown menu with fonts, I will need to create a plugin for that?

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [July 15, 2026, 10:53pm UTC](https://meta.discourse.org/t/select-font-while-creating-a-topic/407745/4 "2026-07-15T22:53:25Z")

</div>

> [@sorokin](#):
>
> However, if I would like to have a dropdown menu with fonts, I will need to create a plugin for that?

You can use JavaScript in the same component. It’s a bit more involved (using `apiInitializer`, `api.addComposerToolbarPopupMenuOption`, etc) but it can be done if you’re willing to put some time into it
