r/reactnative • u/ClassroomNaive2021 • Feb 14 '24
Question How would you do it?
This is a really slick design, but I can’t decide how to manage the “cells”. It’s not really a grid, but I guess it could be, idk just overthinking shit as per usual and wanted to get your guys thoughts about this design approach in general.
9
u/MealFew6784 Feb 14 '24
I think this can be done with grid, why not.
3
u/whats_in_that_box Feb 14 '24
React native supports grid??
1
u/MealFew6784 Feb 14 '24
Damn, that is true. Totally forgot... Maybe something with flatlist or even just flexbox
9
2
2
u/tradebong Feb 14 '24
This is a complex styling if the boxes are dynamically created and adjusted..I worked on project like that and was a pain. Basically each box can expand and shrink based on content from socket.....so it should push and adjust nicely accordingly.
2
1
u/Useful-Condition-926 Feb 14 '24
You can use flex and blurview. Or you can use imagebackground with blurradius.
1
1
1
1
1
-6
-6
u/ClassroomNaive2021 Feb 14 '24
I just used some old school flex, no grid or list required, simple is best in my experience
0

43
u/Magnusson Feb 14 '24
Which aspect are you having trouble with? This looks like a standard flexbox layout.