Section Style Inspector

About this piece

Section Style Inspector

A hero section next to its style panel. The accent moves from orange to sky to green and the heading steps up a size each time, and the preview follows every change.

Usage

The import and the props worth knowing about, in one place.

import { Editor111 } from "@/components/beste/piece/editor111";

<Editor111
  section="Hero"
  heading="Bread from the wood oven"
  description="Sourdough and pastries, every morning on Rua da Prata."
  button="See the menu"
  colorLabel="Accent"
  swatches={[
    "orange",
    "sky",
    "emerald",
    "rose",
    "foreground"
  ]}
  sizeLabel="Heading size"
  sizes={[
    "40",
    "48",
    "56"
  ]}
  fontLabel="Font"
  font="Inter Tight"
  animated={true}
  framed={true}
/>

More Editor pieces

View all Editor
Feature
Padding96 px
Container7xl
BackgroundBackground
Card bordersPer block
12function renderChart(data) {
37}
Add a section
Split hero
Centered hero
Full-width photo
Hero with stats
Feature177 Content
Heading

No tutorials needed.

Description

If you can order food online, you can build a website with Beste.

--primary: #f43f5e;
--accent: #8b5cf6;
--surface: #0ea5e9;
const greet = (name: string) => `Hello, ${name}!`;