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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
import type { WsComponentMeta } from "@webstudio-is/sdk";
import { meta as imageMeta } from "./image.ws";
import { props } from "./__generated__/vimeo-preview-image.props";
export const meta: WsComponentMeta = {
...imageMeta,
category: "hidden",
label: "Preview Image",
contentModel: {
category: "none",
children: [],
},
initialProps: imageMeta.initialProps,
props: {
...props,
// Automatically generated props don't have the right control.
src: {
type: "string",
control: "file",
label: "Source",
required: false,
contentMode: true,
},
},
};