# Custom Buttons with own functions

**URL:** https://meta.discourse.org/t/custom-buttons-with-own-functions/166947
**Category:** Support
**Created:** [October 12, 2020, 8:19am UTC](https://meta.discourse.org/t/custom-buttons-with-own-functions/166947 "2020-10-12T08:19:04Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [October 12, 2020, 9:18am UTC](https://meta.discourse.org/t/custom-buttons-with-own-functions/166947/2 "2020-10-12T09:18:44Z")

</div>

You should be able to use a theme component for this. Here is a pre-built one:

> [@Custom Header Links (icons)](https://meta.discourse.org/t/custom-header-links-icons/86307):
>
> discourse2Summary Custom Header Links (icons) will allow you to easily add linked icons to the Discourse header.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/custom-header-links-icons)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-icon-header-links](https://github.com/discourse/discourse-icon-header-links)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Screenshots Desktop Mobile Settings This component includes a …

If you need it to run your own function, you can create your own theme component using the custom header links component as a starting point.

---

_[View the full topic](https://meta.discourse.org/t/custom-buttons-with-own-functions/166947)._
