# Embedded view vs display true/false

**URL:** <https://forum.inductiveautomation.com/t/embedded-view-vs-display-true-false/104781>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 7, 2025, 3:11pm UTC](https://forum.inductiveautomation.com/t/embedded-view-vs-display-true-false/104781 "2025-04-07T15:11:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmadariaga](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmadariaga/32/63201_2.png) [@mmadariaga](https://forum.inductiveautomation.com/u/mmadariaga)\
**Post date:** [April 7, 2025, 3:11pm UTC](https://forum.inductiveautomation.com/t/embedded-view-vs-display-true-false/104781/1 "2025-04-07T15:11:13Z")

</div>

I want to display different content depending on which button is clicked. Would it be better to use an embedded view component, or should I create three separate flex containers and toggle their visibility by setting `display = true` for the selected one and `false` for the others?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/1/e119352543df4d38f33e4d7e74289e130a4dc079.png)

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [April 7, 2025, 3:23pm UTC](https://forum.inductiveautomation.com/t/embedded-view-vs-display-true-false/104781/2 "2025-04-07T15:23:18Z")

</div>

I do both,

I chose which one based on what the functionality is.

For Embedded views, if I don't care about load times of the information and if the parameters are the same for each of the views (This is a mostly the same one or two changes may make sense IMO) , this will render based on how long the view takes to render and will rerender and load each time you switch the path to the view.

For display = true, I use this if I want a tabbing kind of effect and if I want the data to be loaded in ready for when I click on it. Technically this can be slow first render but faster afterwards.

Most ways of doing things will be based on your requirements.

---

<div class="post-metadata">

**Author:** ![mmadariaga](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmadariaga/32/63201_2.png) [@mmadariaga](https://forum.inductiveautomation.com/u/mmadariaga)\
**Post date:** [April 8, 2025, 6:41am UTC](https://forum.inductiveautomation.com/t/embedded-view-vs-display-true-false/104781/3 "2025-04-08T06:41:34Z")

</div>

Thanks, that was helpful!
