Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chaibuilder/react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chaibuilder/react

It is a landing page builder where you can update and publish your website content in real-time. The builder supports a variety of built-in and custom components that you can modify and use.

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@chaibuilder/react

Description

It is a landing page builder where you can update and publish your website content in real-time. The builder supports a variety of built-in and custom components that you can modify and use.

Installation

Install the package via npm:

npm install @chaibuilder/react

Usage

Import the necessary components from @chaibuilder/react into your React application:

import { BlockRenderer } from "@chaibuilder/react";

const MyApp = () => {
  const blocks = [
    {
      type: "Box",
      tag: "div",
      classes: "flex flex-col items-center p-6 bg-gray-100",
      baseClasses: "",
      backgroundImage: "",
      id: "ymzhpD",
      dynamicClasses: "",
    },
    {
      type: "Heading",
      level: 1,
      classes: "text-3xl font-semibold",
      content: "Welcome to Chai Builder",
      id: "cvkjya",
      parent: "ymzhpD",
    },
    {
      type: "Text",
      content: "Build and Update Website",
      id: "htkyCr",
      parent: "ymzhpD",
    },
  ];

  return <BlockRenderer blocks={blocks} />;
};

Try Online

You can try Chai Builder online by visiting chaibuilder.com/try. Use the online editor to create and modify your website content visually. Once you're satisfied with the changes, you can generate the necessary code and integrate it into your project.

FAQs

Package last updated on 29 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc