# Is there a way to have 2 components side by side in Perspective

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [October 14, 2020, 9:58pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687 "2020-10-14T21:58:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [October 14, 2020, 9:58pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687/1 "2020-10-14T21:58:24Z")

</div>

So I have some text and the value beside it, the flex container Doesn’t seem to allow me to this.Thx, Jake

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 14, 2020, 10:07pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687/2 "2020-10-14T22:07:22Z")

</div>

Drop a container into your flex container - nesting containers is key to Perspective layout strategies. Each ‘row’ in a primary flex container can itself be a flex container with 2 (or more) elements.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [October 14, 2020, 10:11pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687/3 "2020-10-14T22:11:28Z")

</div>

So then a flex container with rows and embedded flex containers with columns?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 14, 2020, 10:32pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687/4 "2020-10-14T22:32:12Z")

</div>

Yes, exactly. As long as you aren’t using entire _embedded views_ - just containers on your ‘main’ view, dropped in as “components”, the performance penalty is minimal.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [October 15, 2020, 3:44pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687/5 "2020-10-15T15:44:17Z")

</div>

So I do have a lot of repeat stuff so there’s a lot of embedded stuff. In vision I used a lot of templates. How slow are we talking?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 15, 2020, 4:58pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-to-have-2-components-side-by-side-in-perspective/39687/6 "2020-10-15T16:58:37Z")

</div>

If it’s a half dozen embedded views, not too bad. If it’s a few dozen or into the hundreds, there’s going to be a significant performance penalty.
