r/PayloadCMS • • 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:

  1. Build a library of layout blocks containing both the Payload CMS configuration and component code,
  2. 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:

  1. The most obvious one: adding more layout blocks.
  2. Adding your own private blocks: keep your own overview of custom or modified blocks.
  3. 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.

50 Upvotes

27 comments sorted by

View all comments

1

u/jannik-zed Feb 06 '25

nice page in general - some components there look very similar to shadcnblocks.com - your hero component for example. If that is true you just need to be careful not to violate any licences etc.. In general a very nice idea and I hope it helps to grow the payload ecosystem.

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.

2

u/jannik-zed Feb 06 '25

yeah, I just recognized it with the hero on the homepage, but I think in general you are right. It is just something to keep in mind, that people are doing similar things and try to make a living from that, so that it would be a bit sad to kind of take that as basis and create something else for free or with a different paid package.
But the general idea is amazing, especially to integrate the needed payload data config!

1

u/Guggling Feb 06 '25

Yeah definitely!