News for hackers. Stuff that matters.
Re:Figma Files Registration Statement for Proposed Initial P... by cluckindan on Tuesday July 01, 2025 @05:43PM (#44438262)
This, so much this.

I’ve been thinking about a box-first approach to design tooling. The overall layout workflow would consist only of adding boxes (block-level elements) to a blank web page, or inside other boxes. Boxes could also contain other elements like inputs, buttons, images, etc.

Re:Figma Files Registration Statement for Proposed Initial P... by skeeter2020 on Tuesday July 01, 2025 @07:29PM (#44438888)
Don't quite follow you, but if you're talking about a box-based layout for the web, that's a little overly simplistic as "the" layout, but is already possible. Keep in mind the historical underpinings; web documents were always more like scrolls than screens.
Re:Figma Files Registration Statement for Proposed Initial P... by cluckindan on Tuesday July 01, 2025 @10:57PM (#44439868)
Not a layout, but a design tool like Figma, leveraging the default flow of elements.
Re:Figma Files Registration Statement for Proposed Initial P... by notpushkin on Tuesday July 01, 2025 @11:33PM (#44440038)
Something like Webflow then?
Re:Figma Files Registration Statement for Proposed Initial P... by cluckindan on Wednesday July 02, 2025 @07:20AM (#44442345)
Not really, I’m not thinking to replace CMS builders like Wix or Squarespace either.

More like ”no-code design directly in HTML and CSS”, but with familiar Figma/Sketch-line controls for sizing, alignment, etc. Responsive by default, boxes full-width and vertically sized by content by default, manual pixel sizing of elements heavily discouraged in favor of block/inline-block/inline. Sane defaults for theme tokens, but easily customizable.

In other words, a hands-on design tool for web layouts, working directly on the DOM and stylesheet, preferring the flow for positioning and leveraging (normalized) HTML/CSS defaults.

My thinking is mostly born out of frustration with the performance of flexbox-inside-flexbox layouts and the total disparity of text layout between web and existing design tools.

Re:Figma Files Registration Statement for Proposed Initial P... by gffrd on Tuesday July 01, 2025 @07:06PM (#44438778)
Huh?
Re:Figma Files Registration Statement for Proposed Initial P... by chrisweekly on Tuesday July 01, 2025 @10:37PM (#44439775)
See https://every-layout.dev for a mind-blowingly well-thought-out approach to CSS that builds from first principles and leverages sane primitives and a typographic scale to compose dynamic layouts... it's boxes, and it's beautiful.
Re:Figma Files Registration Statement for Proposed Initial P... by cluckindan on Tuesday July 01, 2025 @10:55PM (#44439857)
Now if it only was a design tool like Figma.
Re:Figma Files Registration Statement for Proposed Initial P... by gaws on Wednesday July 02, 2025 @01:52PM (#44446756)
> See https://every-layout.dev for a mind-blowingly well-thought-out approach to CSS

Is the book that good?

Re:Figma Files Registration Statement for Proposed Initial P... by chrisweekly on Thursday July 03, 2025 @10:54AM (#44455687)
Yes. But it's not just a book, it's a code generator, documentation, examples, and prod-ready implementation. Lots of it is free.

This thread started about "boxes", I probably should've linked directly to this page: https://every-layout.dev/rudiments/boxes/

Re:Figma Files Registration Statement for Proposed Initial P... by chrisweekly on Thursday July 03, 2025 @10:58AM (#44455736)
PS This page on "axioms" is a must-read: https://every-layout.dev/rudiments/axioms/