Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

603 B
Raw Blame
import { Box as Box, Heading as Heading } from "../components";

const Component = () => {
  return (
    <Box className={`w-box`}>
      <Heading tag={"h2"} className={`w-heading`}>
        {"Operational UI pattern"}
      </Heading>
    </Box>
  );
};

export default {
  title: "Components/Heading",
};

const Story = {
  render() {
    return (
      <>
        <style>
          {`
@layer presets {
  div.w-box {
    box-sizing: border-box
  }
  h2.w-heading {
    box-sizing: border-box
  }
}

      `}
        </style>
        <Component />
      </>
    );
  },
};

export { Story as Heading };