React-First Architecture
Built for modern React applications with full TypeScript support. Works seamlessly with Next.js App Router and Pages Router.
Build powerful, content-managed websites with a visual editor that marketers love and developers trust
BlocksWeb bridges the gap between developer flexibility and marketer autonomy. Traditional CMS platforms are either too rigid for developers or too complex for content teams. BlocksWeb gives you both.
import { IBlockswebComponent } from '@blocksweb/core';
// 1. Create a component
const HeroSection: IBlockswebComponent = ({ title, subtitle, image }) => {
return (
<section className="hero">
<img src={image} alt={title} />
<h1>{title}</h1>
<p>{subtitle}</p>
</section>
);
};
// 2. Define the schema
HeroSection.schema = {
displayName: 'Hero Section',
options: [
{ type: 'text', name: 'title', label: 'Title', default: 'Welcome' },
{ type: 'text', name: 'subtitle', label: 'Subtitle', default: 'Your subtitle here' },
{ type: 'image', name: 'image', label: 'Hero Image', default: '/hero.jpg' }
]
};
export default HeroSection;That's it! Your component is now editable in the BlocksWeb visual editor.
BlocksWeb is used in production for marketing websites, e-commerce platforms, and content-heavy applications.