Lurker News
Hey hackers, OP here!

I've been dipping in and out of this problem space for the last few years with many of my clients.
Puck sits somewhere between an old-school WYSIWYG-powered CMS and headless one, allowing content teams to author content using real React components.
Traditional CMS solutions were flexible but often resulted in page that completely broke the brand guidelines. Headless CMS solutions are a fantastic way of controlling brand by restricting UI changes to developers, but makes layout changes restrictive and slow as developers often need to get involved.
Puck provides a visual editor for React that can sit on top of your existing headless CMS (or act as standalone). We've been dog-fooding it on a few pages at https://measured.co and on https://wellpaid.io. So far, so good
The API is built for React, which allows FE devs to quickly integrate their existing component and add some form fields for author input, or connect it to a headless CMS of choice.
It's open-source under MIT, and pairs nicely with Next.js (check out the demo application). Next in the pipeline: support for multi-column layouts, richer demos, new plugins.
Looking forward to hearing your comments!

Comments (95) 36 threads

Earlier comments
transformi1 reply#
Looks neat! Do you consider adding input elements? (forms,wizards..) if so it will be my goto platform!
chrisvxd#
Puck is for integrating with your existing component library, so not completely no code.

Having said that, a developer could add any type of form input as a type of component!

matfrana1 reply#
Is it something like React Bricks?
chrisvxd#
Yeah, similar!
robbiejs1 reply#
Looks great, the animations of drag-drop looks really smooth. How is it done?
chrisvxd#
Yup that's the one. Also recommend checking out [dnd-kit](https://dndkit.com), which we may migrate to at a later date.
continuational1 reply#
Looks good - does it support callback props, and how do you enter them?
chrisvxd#
It pretty much supports anything that React supports, but it's not possible to pass callback props in directly via Puck's authoring form.

However, you might be able to either wrap your component inside the `render` function and define your callback there, or use context to pass in a function from higher up the tree.
If you share your use case, I might be be able to help you out.

Load more comments