npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mindfiredigital/page-builder-react

v1.2.15

Published

React UI Page builder

Downloads

38

Readme

Live Demo

Click the button below to open the project on StackBlitz.

Screenshot

Table of Contents

Features

  • Component Structure: Drag-and-drop components (text, images, buttons, headers, containers, etc.) to create a layout.
  • Responsive Preview: Preview page layouts in different device modes (Desktop, Tablet, Mobile).
  • Configuration Sidebar: Customize component properties like text, color, padding, and margin via a configuration sidebar.
  • Data Storage: Save layout configurations in JSON format for easy retrieval and editing.
  • Layers: Enabling users to manage component hierarchy visually.
  • Output HTML: Export the final HTML layout for use in static web pages or other applications.

Installation

To install the @mindfiredigital/page-builder-react npm package in your project, use the following command:

npm install @mindfiredigital/page-builder-react

Getting Started with npm

  • Initialization: Initialize the PageBuilder in your project.

Dynamic components

  • The config prop is required and allows you to specify which built-in components should be available in the page builder
  • For now we have 10 Basic components and 1 Extra component, we have provided the whole list below: button, header, text, image, video, container, twoCol, threeCol, table, link, landingpage.
import { PageBuilderReact } from '@mindfiredigital/page-builder-react';

const App = () => {
  // Config object for dynamic components
  const dynamicComponents = {
    // Basic components that will appear in the main toolbar
    Basic: ['button', 'header', 'text', 'twoCol', 'threeCol'],
    // Extra components that will appear in a secondary section
    Extra: ['landingpage'],
  };

  return (
    <div>
      <PageBuilderReact config={dynamicComponents} />
    </div>
  );
};

export default App;

Custom Components (Optional)

  • You can optionally add your own React components to the page builder using the customComponents prop:
  • Each custom component requires: component: Your React component svg: An SVG icon for the builder toolbar title: A display name for the component
import { PageBuilderReact } from '@mindfiredigital/page-builder-react';
// Your custom defined component
import ColorPicker from './components/ColorPicker';

const App = () => {
  // Config object for dynamic components (required)
  const dynamicComponents = {
    Basic: ['button', 'header', 'text', 'twoCol', 'threeCol'],
    Extra: ['landingpage'],
  };

  // Custom components configuration (optional)
  const customComponents = {
    ColorPicker: {
      component: ColorPicker,
      svg: `<svg path of your svg </svg>`,
      title: 'Color Picker Component',
    },
  };

  return (
    <div>
      <PageBuilderReact
        config={dynamicComponents}
        customComponents={customComponents}
      />
    </div>
  );
};

export default App;

Contributing

We welcome contributions from the community. If you'd like to contribute to the Pagebuilder npm package, please follow our Contributing Guidelines.

License

Copyright (c) Mindfire Digital llp. All rights reserved.

Licensed under the MIT license.