# How to create custom theme component?

**URL:** https://meta.discourse.org/t/how-to-create-custom-theme-component/304319
**Category:** Development
**Created:** [April 17, 2024, 2:19pm UTC](https://meta.discourse.org/t/how-to-create-custom-theme-component/304319 "2024-04-17T14:19:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Harshit\_Dave](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/harshit_dave/32/379059_2.png) [@Harshit\_Dave](https://meta.discourse.org/u/Harshit_Dave)
#### Post date: [April 17, 2024, 2:19pm UTC](https://meta.discourse.org/t/how-to-create-custom-theme-component/304319/1 "2024-04-17T14:19:24Z")

</div>

Hello Discourse,

I want to create a custom theme component to render HTML from third-party API. I did look at the [Brand Header](https://meta.discourse.org/t/brand-header/77977) but I think it won’t work for me as I want to show data from API.

Hence, can anyone help me, how can I create custom theme component?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 17, 2024, 3:48pm UTC](https://meta.discourse.org/t/how-to-create-custom-theme-component/304319/2 "2024-04-17T15:48:02Z")

</div>

A place to start is [Beginner’s guide to developing Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648) other theme guides in #Documentation .

I don’t know if it’ll help, but here’s a trivial example of accessing another site: [GitHub - literatecomputing/runners-onebox-theme: Custom oneboxes for Garmin and Strava · GitHub](https://github.com/literatecomputing/runners-onebox-theme/tree/main)
