# Perspective Tab Container

**URL:** <https://forum.inductiveautomation.com/t/perspective-tab-container/35416>\
**Category:** Ignition\
**Created:** [June 8, 2020, 4:26pm UTC](https://forum.inductiveautomation.com/t/perspective-tab-container/35416 "2020-06-08T16:26:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 8, 2020, 4:57pm UTC](https://forum.inductiveautomation.com/t/perspective-tab-container/35416/2 "2020-06-08T16:57:33Z")

</div>

Since Tabs can render as either text or Views, you just need to supply a View which has both an Icon and a Label present. (Update: [documentation](https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Tab+Container))

![Screen Shot 2020-06-08 at 9.50.25 AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bfa954bd7a6e32ae2959b2c0404dc9f234b63587.png)

Here’s how I did this:

1. Right-click `props.tabs[1]`, and select “Change To” and select “Object”.
2. Expand `props.tabs[1]` and select “Add Object Member”, then supply a key of “viewPath”.
3. Supply a valid viewPath.

![Screen Shot 2020-06-08 at 9.50.14 AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/21fbf3d11d701b6bfd4e6a17669a3a7eab05e9cb.png)  
In my project, there exists a View (“Experimentation/Repl”) which contains an Icon and a Label. If your View requires parameters, you can also supply a `viewParams` object alongside `viewpath`.

![Screen Shot 2020-06-08 at 9.54.25 AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/acf81ce91cc0c68c9a876b5c5141e360f943c750.png)

NOTE: In 8.0.13 there might be a bug which prevents tabs which use Views from rendering their borders as expected. We’re looking into whether or not this is expected. In the example I provided, I also cheated and supplied borders of my own to simulate the borders as they SHOULD appear.

![Screen Shot 2020-06-08 at 9.56.41 AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2af730d76fe520c2945c454aed891ed245e85fce.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-tab-container/35416)._
