All Projects → BuilderIO → Builder

BuilderIO / Builder

Licence: mit
Drag and drop page building using your code components

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Builder

plasmic
Visual page builder and web design tool for any website or web app tech stack
Stars: ✭ 1,475 (+15.14%)
Mutual labels:  builder, drag-drop, headless, gatsby, wysiwyg, page-builder, headless-cms
Vue Storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Ne…
Stars: ✭ 9,111 (+611.24%)
Mutual labels:  shopify, headless, frontend, pwa
Mix.core
🚀 Mixcore CMS is an open source CMS that support both headless and decoupled to easily build any kinds of app/web app/customisable APIs built on top of ASP.NET Core / Dotnet Core. It is a completely open source ASP.NET Core (Dotnet Core) CMS solution. https://mixcore.org
Stars: ✭ 304 (-76.27%)
Mutual labels:  cms, headless-cms, headless, pwa
Gatsby Starter Storefront Shopify
Starter package for faster setup process of Gatsby Storefront.
Stars: ✭ 41 (-96.8%)
Mutual labels:  shopify, headless, pwa
Example Company Website Gatsby Sanity Combo
This is an example company website using Gatsby and Sanity in combination.
Stars: ✭ 242 (-81.11%)
Mutual labels:  cms, gatsby, headless-cms
Midway
Headless Starter with Sanity + Gatsby + Shopify Repo
Stars: ✭ 195 (-84.78%)
Mutual labels:  shopify, gatsby, headless
Awesome Headless Cms
An awesome list of headless / decoupled CMS resources.
Stars: ✭ 118 (-90.79%)
Mutual labels:  cms, headless-cms, headless
startup-starter-kit
The Structured Content Startup Starter Kit
Stars: ✭ 42 (-96.72%)
Mutual labels:  headless, gatsby, headless-cms
awesome-medusajs
A curated list of awesome resources related to MedusaJS 😎
Stars: ✭ 113 (-91.18%)
Mutual labels:  headless, gatsby, headless-cms
Contentjet Ui
Headless API-first content management system
Stars: ✭ 42 (-96.72%)
Mutual labels:  cms, headless-cms, headless
Vuefront
VueFront Core. Turn your old-fashioned CMS website in to a SPA & PWA in 5 minutes
Stars: ✭ 316 (-75.33%)
Mutual labels:  cms, frontend, pwa
Deckdeckgo
The web open source editor for presentations
Stars: ✭ 1,117 (-12.8%)
Mutual labels:  webcomponents, wysiwyg, pwa
Unite Cms
Really flexible headless CMS, built on top of Symfony and GraphQL.
Stars: ✭ 242 (-81.11%)
Mutual labels:  cms, headless-cms, headless
Storyblok
You found an issue with one of our products? - submit it here as an issue!
Stars: ✭ 206 (-83.92%)
Mutual labels:  cms, headless-cms, headless
Gatsby Starter Kontent Lumen
Lumen is a minimal, lightweight and mobile-first starter for creating blogs using Gatsby and Kentico Kontent.
Stars: ✭ 34 (-97.35%)
Mutual labels:  cms, gatsby, headless-cms
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+929.66%)
Mutual labels:  cms, headless-cms, headless
Ionic Framework
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Stars: ✭ 45,802 (+3475.49%)
Mutual labels:  webcomponents, frontend, pwa
Docker
Directus Docker — The Official Docker Container for the Directus Suite
Stars: ✭ 93 (-92.74%)
Mutual labels:  cms, headless-cms, headless
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (-63.78%)
Mutual labels:  cms, headless-cms, headless
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (-65.96%)
Mutual labels:  cms, headless-cms, headless

BUILDER


Drag and drop page building with your code components. Bring your design systems to life!


code style: prettier PRs Welcome License Types


Editor example


Choose your framework:

  REST API     GraphQL     Shopify     VS Code           React     Next.js9     Gatsby     Vue     Nuxt     Angular     Webcomponents  


Register components Rendered your visually created content
import { Builder } from '@builder.io/react'
 
// Register our heading component for use in 
// the visual editor
const Heading = props => (
  <h1 className={style}>{props.title}</h1>
)
 
Builder.registerComponent(Heading, { 
  name: 'Heading',
  inputs: [{ name: 'title', type: 'text' }]
})
import { BuilderComponent, builder } from '@builder.io/react'
  
builder.init('YOUR_KEY')
  
export default let BuilderPage = () => {
  const [pageJson, setPage] = useState(null)
 
  useEffect(() => { 
    builder.get('page', { url: '/' })
      .promise().then(setPage)
  , [])
 
  return <BuilderComponent model="page" content={pageJson} />
}

Who uses Builder.io?

 

Try it out!

 

Try our interactive fiddle to try the visual editor

 

Use our Figma plugin to turn designs into code!

 

Try our code generation fiddle

 

Try our VS Code extension for in-IDE visual coding

 

Try our Shopify app for visual Shopify store building

 

Try our headless CMS for API-driven development


How does it work?

  • Integrate the Builder API or SDK to your site or app
  • Create a free account on builder.io and drag and drop to create and publish pages and content

How is the content structured?

In Builder, content is structured in models, and customized with custom fields and targeting

  • Builder pages - full drag and drop control between your site's header and footer. Try it out
  • Builder sections - make a part of a page visually editable in Builder and use our targeting and scheduling to decide who sees what. Try it out
  • Builder data - fetch structured data from Builder and use it anywhere in your application (e.g. menu items, structured pages). Try it out

Read more about how builder works here

See here for examples on how to structure a site with Builder

Featured Integrations

REST API

GraphQL

Shopify

VS Code

Figma

React

Next.js

Gatsby

Vue

Nuxt

Angular

Web Components


Don't see an integration you're looking for? Our HTML API, Content APIs, and GraphQL APIs works for all tech stacks and frameworks.

What's in this repository?

This repo houses all of the various SDKs, usage examples, starter projects, and plugins.

Getting Started with React

Don't use React? See our getting started guide for any framework or platform here

npm install @builder.io/react

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

Next, create a new page in Builder with URL /something and publish it.

Then, in your code:

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

builder.init(YOUR_KEY);

And in your router

// You can use the url="..." prop to automatically fetch the content for that URL,
// or omit this prop and Builder.io will fetch the corresponding page for the current
// location.pathname, if available
<Route path="/something" render={() => <BuilderComponent model="page" url="/something" />}>

Create a new page with url "/something" in Builder and change the preview URL to localhost:port/something (e.g. localhost:8888/something if your dev server is on port 8888) and edit!

See more info on setting up your preview urls here.

Also, see the full React API here

Using your components

See this design systems example for lots of examples using your design system + custom components + storybook

👉Tip: want to limit page building to only your components? Try components only mode

Register a component

import { Builder } from '@builder.io/react';

const SimpleText = props => <h1>{props.text}</h1>;

Builder.registerComponent(SimpleText, {
  name: 'Simple Text',
  inputs: [{ name: 'text', type: 'text' }],
});

Then back at your page

import './simple-text'

// ...

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

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 lots of examples of using React components in Builder, see the source for our built-in Builder blocks here and widgets here

Dynamic landing pages

👉Tip: see our guides for Next.js and Gatsby for best support for those frameworks

One of Builder's most powerful features is allowing the creation of new pages for you. See a simple example of how to do this with react-router below:

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

builder.init('YOUR_KEY')

export default let CatchAllPage = () => {
  const [pageJson, setPage] = useState()

  useEffect(() => {
    builder.get('page', { url: location.pathname })
       // The value will be `null` if no page was found
      .promise().then(setPage)
  , [])

  return pageJson === undefined
    ? <Loading />
    : pageJson
    ? <BuilderComponent model="page" content={pageJson} />
    : <NotFound />
}


// Then in your app.js
export default () => (
  <Switch>
    <Route path="/" component={Home} />
    {/* Your other routes... */}
    <Route component={CatchAllPage} />
  </Switch>
);

Don't use React?

Check out our quick start guide for options for many frameworks, including our HTML API that works for any site

let page = await request(
  `https://cdn.builder.io/api/v1/html/page?url=${PAGE_URL}&apiKey=${YOUR_KEY}`
);
if (page) {
  let html = page.data.html;
  // Put the html in your page template between your header and footer and you are done!
}

Tip: You can make reusable components for your Builder.io pages using symbols

Structuring your site

There are a lot of ways you can use Builder for your site. Some of the main questions you'll want to ask yourselves - what on your site should be in your code vs in Builder.

As a general rule, parts of your site that should be managed by non developers should probably be in Builder. Parts that are complex with a lot of code, should probably be in your codebase. Using custom components in your Builder content can help you strike a good balance here as well

Here are some examples we recommend for how to structure various pages on your site, for instance for a headless commerce site:

examples on how to structure your site

Data models, components, SEO, and more

Builder.io gives you a ton more power and control than just page building. Check our guides on

Additional framework support:

As well as some handy power features like:

How the Builder.io platform works

How it works

Code generation

Check out JSX Lite to dep dive into how our codegen works and try it yourself!

Codegen GIF

We're hiring!

Want to work on the future of visual software development? Email me at [email protected] and let's talk

Join the community!

Questions? Requests? Feedback? Chat with us in our official forum!

Troubleshooting and feedback

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].