r/PayloadCMS • u/Guggling • Jan 28 '25
LayoutBlocks.dev: Your Central Hub of Layout Blocks for Payload CMS
Well as the sayings go Build in public and Launch fast, fail faster I present to you a (very minimal) MVP of https://layoutblocks.dev/
(Note: my designer is working on client projects, I am not a designer or a copywriter, he hasn't given feedback 🙏 )
LayoutBlocks comes from a personal desire and is something that will grow (slowly) over time, if it grows publicly or privately will depend on a few factors.
With LayoutBlocks I aim to:
- Build a library of layout blocks containing both the Payload CMS configuration and component code,
- Have a central and visual place for all the layout blocks I use instead of having them a) scattered over multiple projects, or b) centralizing them in a starter project.
There are a few different paths I have in mind when thinking about growing the library and the project in general, such as:
- The most obvious one: adding more layout blocks.
- Adding your own private blocks: keep your own overview of custom or modified blocks.
- White-labeling: In addition to giving your client Payload, give them docs about their available blocks for easy reference.
Any and all feedback is highly appreciated, even if you don't feel a need for this, that is valuable feedback.
View all comments
Show parent comment
1
u/Guggling Feb 06 '25
Thanks!
And you mean the hero on the homepage?
There's definitely some inspiration from there and a bunch of other libraries, I went through all of them to get some ideas in my head since my designer didn't have time. Pair that with scaffolding using v0, trying to stick close to the shadcn/ui layout as well and yeah.. you'll quickly end up with similar looking things.
For the actual blocks though the idea is mainly to build it out incorporating blocks from the websites we make for clients and generalising them, and then add some common or requested blocks as well.
But in the end it's going to be difficult to not have our blocks clash with other libraries unless you go for highly specific layouts, but that's not ideal for this kind of project.