Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub
  • [v.0.2.x:next]: Code instantly persistent dark mode, remove menus and styles fixes.
  • [v.0.x.0:warning]: The first grand finale release will be publish at v1.0.0.
  • [v.0.2.0:update]: Very first release atempt; package core system stable.

Gatsby Block Builder


Engine Agent: Gatsby - Javascript Framework

Engine SubAgent: Gatsby Plugin

Gatsby Plugin Name: Gatsby Block Builder

Author: Edu4Dev - Milton Bolonha

Description: Gatsby Block Builder is the way to you create your own professional Atomic Components. Works with Gatsby Layout Builder and Atomic Block. Using Gatsby Block Builder you will be able to mixing paragraphs, images, rows, columns with some piece of data to create uniques, module oriented and reusable components.

*Keep in mind these bundle it is a block builder!

Plugin URI: https://www.npmjs.com/package/gatsby-block-builder

Plugin Install: npm i gatsby-block-builder

Version: 0.2.0

Year: 2021


		bgColor: '#fff',
		isBoxed: true,
		alignTo: 'center',
		numColumns: 3,
		// bgImg: {};
	// Your content goes here
</Custom Component>

🚀 Quick start

To get started to invoke rows, columns, modals, header and footer wrapper standard structure on your theme, you can follow these steps:

  1. Install Gatsby Block Builder plugin with:
npm i gatsby-block-builder

If you already have customize your gatsby-config.js, you can use it. Otherwise, you should create a new gatsby-config.js file to setting your plugin.

  1. Add the Gatsby Custom Component plugin to the build. In your gatsby-config.js insert the code:
module.exports = {
	plugins: [`gatsby-block-builder`],
	// if you just have the plugins array
	// you may need to place the plugin string name
	// between the right objects and arrays

The Gatsby Block Builder can you be used in your normal Gatsby ambient. Something like this:

├── ./src/components
├──── ComponentX.js
├── ./src/pages
├──── index.js
└── Gatsby-config.js

├── CustomComponent.js
├── AwesomeCustomComponent.js
├── package.json
└── README.md
  1. Add the plugin correctly

The plugin will be added by the starter implements of a tag.React.Element.

You can verify Custom Components library to added to your site:

// BODY type
<MainWrapper />
<MainButton />
<ButtonsMain />
<PageHeader />
<HeaderBlock />
<FooterBlock />
<ShareButtons />
<ScrollSomething />
<ThirdPartyNpmAwesomeComponent />
<ReactCarousel />
  1. Dependencies
			"gatsby": "^4.1.0",
			"gatsby-layout-builder": "^0.1.7",
			"react": "^17.0.2",
			"react-dom": "^17.0.2",
			"react-icons": "^4.3.1"
  	"devDependencies": {
    	"prettier": "^2.4.1"

## 🧐 What's inside?

├── MainWrapper
├── MainButton
├── ButtonsMain
├── PageHeader
├── HeaderBlock
├── FooterBlock
├── ShareButtons
├── ScrollSomething
├── package.json
└── README.md

Keep in touch

Don’t keep in touch yet. Unless your want to made some kind of friendship.

Poupa Luz poupaluz@edu4.dev

Milton Bolonha miltonbolonha@gmail.com

🎓 Learning Gatsby

If you’re looking for more guidance on plugins, how they work, or what their role is in the Gatsby ecosystem, check out some of these resources:

© 2023 Gatsby, Inc.