# Custom Component Tag

**URL:** <https://forum.inductiveautomation.com/t/custom-component-tag/76615>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [July 19, 2023, 9:19pm UTC](https://forum.inductiveautomation.com/t/custom-component-tag/76615 "2023-07-19T21:19:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madeline\_Yi](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Madeline\_Yi](https://forum.inductiveautomation.com/u/Madeline_Yi)\
**Post date:** [July 19, 2023, 9:19pm UTC](https://forum.inductiveautomation.com/t/custom-component-tag/76615/1 "2023-07-19T21:19:03Z")

</div>

I don't know how to explain this but please bear with me.

I want to be able to specifically label components so that if I want them to be styled differently, I can easily do it with the style sheet. As of right now, I've styled the table with the style sheet such that any table component will inherit that style. But, I want different types of table styles so if I could rename them to access their div specifically, I would greatly appreciate it. I'm still new to Ignition and Perspective so I don't know where I can access such a thing if it exists.

Please let me know how I can further clarify this so that I am able to implement my designs properly.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [July 19, 2023, 9:58pm UTC](https://forum.inductiveautomation.com/t/custom-component-tag/76615/2 "2023-07-19T21:58:57Z")

</div>

The closest you're going to get is manipulating the `meta.domId` property of the component to some "unique" value, then updating your stylesheet resource to only apply to specific ids.  
If you set `meta.domId` to "myCoolTable", then you could define your rule like so:

```auto
div#myCoolTable {
    color: #00FF00;
}

```
