Bunch of dash container UX

James Bueche, Jared Hardy, Meredith Dodge · Friday Demos · January 23, 2026 · 9:13

A grab bag of UX improvements for layout on containers.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Well, I think we're going to do group demos maybe today if everyone wants to come on stage again. Um, this might be the world's uh most boring demo, but uh it's more of a PSA. Um, with the containers work, I recently changed the selection logic. Before you were able to like everywhere you would click, you would just select whatever object was under your mouse.

  2. And so I recently shipped a chain yesterday that makes it act more like kind of like Google Slides or Figma where you're selecting a top level object. It will just select the container. So here uh once you select the container, you can now click in to select the objects. Um and then it makes a lot easier to um select uh the full the full thing.

  3. Especially if like here in this case um you know these individual items are selected. If there were to be you know no padding or border like oftentimes you click on this you would select the text. saved it really frustrating. Um, there is a shortcut to deep select. If you hold the command key or the meta key, uh, you can then deep select each object.

  4. So, if you did like that previous behavior, you can do that. So, or with PSA, if you see anything weird about selection, just let me know. We're going to keep trying to improve this to make it feel really good when you're clicking around. Uh, I can go next. Um, yes. So, mine kind kind of builds off Jared's, but uh using that selection, we can now support stack reordering of items.

  5. So, if you have a container and uh you want to throw in a few items. So I move this guy, move a query. Um, if the container is either vertical or horizontal, you can now move anything within them that's selected. And you can even go one step further and say, I want to move these items within there.

  6. You can move those, too. And then that still lets you move other grid items like separately. So, you know, you're not like hyper indexing into the lowest element. But yeah, this should be pretty nice. That's it. This is amazing. James, I have just one question, I guess, for the whole team up there. Um, I've been using grid layout kind of for this reason, just because I think it's a lot more flexible, but can you think of reasons why we'd want to use horizontal or vertical?

  7. Maybe there's things I'm not thinking of. I think the best answer is for features to come, which is to say uh behavior around like showing and hiding. Maybe you have five KPIs in a row and you want to have one of them conditionally disappear and rebalance the space. It's going to work nicely for that. Um we don't have that shipped yet, but that's coming.

  8. Um I do think in general for like responsive layouts where you wanted to go mobile or desktop, um grid's going to battle you sometimes because it's grid based. Um, so I I would say some of it's like um things you haven't seen yet and then things that we um things that are unresponsive. The other thing is there are cases like our current tile system actually has to be a stack because parts of it don't show up.

  9. So like if you don't have a a tool tip um a description tool tip then we kind of want wanted just to move. We don't want grid based. So it's cases like that. Um to be honest, our app omni is mostly constructed of stacks. Um so like when you're building more application things, stacks tend to be uh better behaved um because parts of the UI kind of come and go um for dashboards, grids tend to work pretty nicely because you kind of know all the pieces of where they're going to be.

  10. So um your mileage may vary. I'll let Jared or any others throw an idea. No, very helpful. Thank you. Yeah, it's the the fuller application complicated layouts. you really want those stack pieces and once we start offering the logic and more application things um I hope that that stack layout will be used more but it's it takes more cognitive overhead but it works really well so I wasn't going to demo but um this is relevant to the conversation so I'll just see if I can quickly show um where do I want to start though this one um So, I added something.

  11. Oops. I kind of want to be in not um I added something where you can first of all it it it sort of better um calculates what needs to grow and shrink within a stack. Um so there was an issue with tables if it was if a table was inside a nested stack or even just a table in a stack.

  12. it was like sometimes just a little too tall and you would get like a tiny like a scroll bar that would scroll a tiny bit. So that's fixed now. Um but along with this fix I added a checkbox which um will allow you to control that. So say you had let's go back to KPIs here. So hey say you have a KPI let's see is this a this is a stack.

  13. Uh okay there's another stack. Uh, no. This is not This is a multiple KPIs. Let's see this one. Okay. I'm not sure I have a good example for that. But, um, long story short, if you actually didn't want your chart to like stretch kind of stretch to fill the whole thing, you could say, "No, I don't want that.

  14. It's not a good example. Dang." Um, hit me up if you want a better explanation of what this could do. But but basically with charts, we always try to kind of like stretch them and align them to fill the whole space, which is usually what you want with a chart. But sometimes with like KPIs or even tables, you don't want that.

  15. You want it to like only be as tall. Like let's say you have like two rows in a table, you only want it to be as tall as those two rows. And you don't necessarily want it to like, you know, be as tall as the whole as the whole tile. Um, so that's when you would explicitly turn this off.

  16. And then you can also just be like, actually, no, go back to the default. Uh, you can also explicitly turn it on, which can be helpful if you're like moving um this. And let's see, maybe I wanted to do that horizontal. And with the filter, you can say yes, like I do want it to grow. And when you have multiple things that grow within a sack, they'll be they'll try to be equal.

  17. Um, and even though it says fill space, it actually in a way means also like fill as much as you can in that space. And that sometimes if there's a competing element, it will mean, you know, shrink. So this one would have if this if this wasn't also filling, this one would have been bigger. So it's subtle, which is kind of why I wasn't going to demo it.

  18. And also I didn't really have a good example prepared. But you you do have this ability to sort of like control like override the default basically. So for charts it's always on but you could say no. And how does it how does that work if you have like a constrained UI like mobile or something too? How's the like flowing across containers and flowing within containers?

  19. Um well we haven't really handled mobile well with with containers yet. Um, yeah. So, we're we're still trying to figure out what to do there, but yeah, I think with with containers, we're going to try to um just make it a sing like make the columns fewer. I don't know. Good question. It we'll probably try to make it still work somewhat within mobile, but uh we don't really have example of like what the whole grid will look like, but like within a single container, it should still be the same.

  20. Okay. Yeah, the short-term plan is to kind of emulate the classic layouts and do a single single column, but also let people basically say like, "No, no, I want to do something funkier and let them have an explicit mobile layout where they can touch it and do all the things they want." Because right now we bther mobile's always single column.

  21. And I think for most cases that's fine. It like turns out that works. Um, when we go look at like feedback, people are surprisingly happy with that experience. Um, but there's definitely folks who are like, I really want three KPIs at the top that are super tiny. It's like, okay. So, we're going to give some gate to be like, if you really must have a custom layout, go do it.

  22. Um, so that's that's the longer term plan. Um, to be honest, we'll probably wait for somebody to push us for that second piece. Yeah. Um, right now, people are like, just give a single call. We're like, okay. So, that's that's the short term. Let's do that. Cool. I'll go next.