webstudio-is / webstudio

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
https://webstudio.is
GNU Affero General Public License v3.0
5.07k stars 589 forks source link

CSS Grid UI #3057

Open kof opened 7 months ago

kof commented 7 months ago

Lets have a look what the best UI for CSS Grid would look like

itsNintu commented 7 months ago

I like this topic :)

Here's my personal humble opinion: https://tella.video/alexs-opinions-on-grid-1-9ry3

Breakdown:

On parent (where display grid is defined): Have the option to set:

And on children:

TrySound commented 6 months ago

Here's a great write about almost universal auto-grid layout. We could create a ui for it or just share as section template (better have css custom properties at this point)

https://9elements.com/blog/building-a-rock-solid-auto-grid/

kof commented 6 months ago

@TrySound autogrid sounds like a great idea for a template or a component (if we wanted to control it via props)

TrySound commented 6 months ago

I'd go with template with set custom properties to support customization

youngjid commented 2 months ago

I'm really so excited for this particular feature.

On my usual activities across the internet, i came across these particular UI Grid Builder's specifically implemented in Penpot App and another on Bricks Builder, whereby you can visually interact with grids and create different layouts.

Here are some Examples

PenPot: https://youtu.be/k5AZoQC-OZk?t=259 Bricks Builder: https://youtu.be/x6SZz8hMAVE?t=96

Image

It's a very intuitive way to visually create grids and especially if possible in Web Studio.

I thought i would drop this idea here just to get your opinion on it.