Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom components #1

Open
virajsoni06 opened this issue May 24, 2021 · 4 comments
Open

Custom components #1

virajsoni06 opened this issue May 24, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@virajsoni06
Copy link

Hi, this is a really cool project. I was wondering if there are plans to allow custom components to be added into the builder?

@LiveDuo
Copy link
Owner

LiveDuo commented May 24, 2021

Hey,

Plan is roughly the following:

  • Fix a few usuability issues
  • Add tests and support form handling
  • Make the builder more customizable

As part of the 3rd point, I'd look at supporting different colours and night mode first and then custom components.

I was thinking about adding more design systems (other than tailwind) but adding custom components is not far off. I have a few ideas on how to implement them but also open to suggestions.

@iojcde
Copy link
Contributor

iojcde commented May 28, 2021

I have some ideas..

How about importing everything from the components directory?

Then the editor would somehow render it in the server(for a screenshot) and we could use it just like any other tailblocks component.

I have yet to look into this though, not sure this will work yet.

@LiveDuo
Copy link
Owner

LiveDuo commented May 28, 2021

A way to do this is have a "Add component" button to save the component HTML to a JSON file (similar to data/default.json) and the load them all dynamically in the editor.

As for the screenshot, we might allow image uploading. If it's not provided we can just show a default icon.

@LiveDuo LiveDuo added enhancement New feature or request question Further information is requested and removed enhancement New feature or request labels May 28, 2021
@LiveDuo LiveDuo changed the title [Question] Custom components Custom components May 28, 2021
@pmarciniuk
Copy link

Hi!

I love the idea behind the project.

I'm thinking if you have been working on adding custom components to the project? I use TailwindUI components and I would like to add them to the builder so I can easily build landing pages using TailwindUI in Next.

If there is an easy way of doing it, do you have any docs on how to add them?

@LiveDuo LiveDuo added enhancement New feature or request and removed question Further information is requested labels Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants