Skip to content

afrog33k/builder

 
 

Repository files navigation


Builder logo

Drag and drop page building for any website.

Design with your React components, publish remotely.



Editor example




What is it good for?

  • Landing pages
  • Documentation
  • Blogging
  • Marketing pages (homepage, etc)
  • Content pages (about, FAQ, etc)
  • Optimization (ab test pages)
  • Marketing teams that never stop asking for changes
  • Developers who are tired of pushing pixels

Supported Frameworks

Framework Status Supports using your custom components SSR supported
React stable Yes Yes
Email stable Yes Yes
Webcomponents stable Yes No (webcomponents don't render server side)
Angular stable You can use your custom angular elements, SSR support for custom elements coming soon Yes
Preact alpha Yes Yes
Inferno alpha Yes Yes
Vue Vue plugin coming soon - but you can use webcomponents with Vue now Coming soon Coming soon
React native Coming soon
Shopify Coming soon
Wordpress Coming soon
Everyting else - Go, Php, Svelte, Java, Vanilla JS, etc Stable - Use our HTML API and/or webcomponents to include builder pages anywhere Your webcomponents Yes

Want suppoert for something not listed here or for us to priotize something coming soon? Drop us an issue and let us know! We prioritize based on the community's needs and interestes.

Getting Started with React

npm install --save @builder.io/react

Grab a free account at builder.io and find your API key

import { builder, BuilderComponent } from '@builder.io/react'

builder.init(YOUR_KEY)

Then in your router

<Route path="/something" render={() => <BuilderComponent model="page" />}>

Create a new page and open your-dev-url:port/something and edit!

See our docs site for more info or contact us if you run into any issues or questions!

Using your components

Wrap a component

import { BuilderBlock } from '@builder.io/react'

@BuilderBlock({
  name: 'Simple Text',
  inputs: [{ name: 'text', type: 'string' }]
})
export class SimpleText extends React.Component {
  render() {
    return <h1>{this.props.text}</h1>
  }
}

Then back at your page

import './simple-page'

// ...

<Route path="/something" render={() => <BuilderComponent model="page">}>

Open the dashboard and use it!

See our docs site for additional help and information, or contact us if you run into any issues or questions!

For Builder decorator support you need to be using typescript or babel with legacy decorators. Alternatively you can use the alternative syntax:

import { BuilderBlock } from '@builder.io/react'

class SimpleText extends React.Component {
  render() {
    return <h1>{this.props.text}</h1>
  }
}

BuilderBlock({
  name: 'Simple Text',
  inputs: [{ name: 'text', type: 'string' }]
})(SimpleText)

Don't use React?

Builder webcomponents support all sites and frameworks!

<script src="https://cdn.builder.io/js/webcomponents"></script>
<builder-component name="page"></builder-component>

See our official docs on Builder Webcomponents here

Additionally see our HTML API for server side rendering

Troubleshooting and feedback

Problems? Requests? Open an issue. We always want to hear feedback and interesting new use cases and are happy to help.

About

Drag and drop page building for any site

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.1%
  • CSS 2.3%
  • HTML 2.0%
  • JavaScript 1.6%