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
export const standardAttributesToReactProps: Record<string, string> = {
"accept-charset": "acceptCharset",
accesskey: "accessKey",
allowfullscreen: "allowFullScreen",
autocapitalize: "autoCapitalize",
autocomplete: "autoComplete",
autocorrect: "autoCorrect",
autofocus: "autoFocus",
autoplay: "autoPlay",
charset: "charSet",
class: "className",
colspan: "colSpan",
contenteditable: "contentEditable",
crossorigin: "crossOrigin",
datetime: "dateTime",
enctype: "encType",
enterkeyhint: "enterKeyHint",
fetchpriority: "fetchPriority",
for: "htmlFor",
formmethod: "formMethod",
formaction: "formAction",
formenctype: "formEncType",
formnovalidate: "formNoValidate",
formtarget: "formTarget",
hreflang: "hrefLang",
"http-equiv": "httpEquiv",
imagesizes: "imageSizes",
imagesrcset: "imageSrcSet",
inputmode: "inputMode",
itemid: "itemID",
itemprop: "itemProp",
itemref: "itemRef",
itemscope: "itemScope",
itemtype: "itemType",
maxlength: "maxLength",
minlength: "minLength",
nomodule: "noModule",
novalidate: "noValidate",
playsinline: "playsInline",
readonly: "readOnly",
referrerpolicy: "referrerPolicy",
rowspan: "rowSpan",
spellcheck: "spellCheck",
srcdoc: "srcDoc",
srclang: "srcLang",
srcset: "srcSet",
tabindex: "tabIndex",
usemap: "useMap",
"alignment-baseline": "alignmentBaseline",
"baseline-shift": "baselineShift",
"clip-path": "clipPath",
"clip-rule": "clipRule",
"color-interpolation": "colorInterpolation",
"color-interpolation-filters": "colorInterpolationFilters",
"color-profile": "colorProfile",
"color-rendering": "colorRendering",
"dominant-baseline": "dominantBaseline",
"enable-background": "enableBackground",
"fill-opacity": "fillOpacity",
"fill-rule": "fillRule",
"flood-opacity": "floodOpacity",
"flood-color": "floodColor",
"font-family": "fontFamily",
"font-size": "fontSize",
"font-size-adjust": "fontSizeAdjust",
"font-stretch": "fontStretch",
"font-style": "fontStyle",
"font-variant": "fontVariant",
"font-weight": "fontWeight",
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
"glyph-orientation-vertical": "glyphOrientationVertical",
"image-rendering": "imageRendering",
"letter-spacing": "letterSpacing",
"lighting-color": "lightingColor",
"marker-end": "markerEnd",
"marker-mid": "markerMid",
"marker-start": "markerStart",
"pointer-events": "pointerEvents",
popovertarget: "popoverTarget",
popovertargetaction: "popoverTargetAction",
"shape-rendering": "shapeRendering",
"stop-color": "stopColor",
"stop-opacity": "stopOpacity",
"stroke-dasharray": "strokeDasharray",
"stroke-dashoffset": "strokeDashoffset",
"stroke-linecap": "strokeLinecap",
"stroke-linejoin": "strokeLinejoin",
"stroke-miterlimit": "strokeMiterlimit",
"stroke-width": "strokeWidth",
"stroke-opacity": "strokeOpacity",
"text-anchor": "textAnchor",
"text-decoration": "textDecoration",
"text-rendering": "textRendering",
"unicode-bidi": "unicodeBidi",
"word-spacing": "wordSpacing",
"writing-mode": "writingMode",
"xlink:actuate": "xlinkActuate",
"xlink:arcrole": "xlinkArcrole",
"xlink:href": "xlinkHref",
"xlink:role": "xlinkRole",
"xlink:show": "xlinkShow",
"xlink:title": "xlinkTitle",
"xlink:type": "xlinkType",
"xml:base": "xmlBase",
"xml:lang": "xmlLang",
"xml:space": "xmlSpace",
dirname: "dirName",
};
export const reactPropsToStandardAttributes: Record<string, string> = {
acceptCharset: "accept-charset",
accessKey: "accesskey",
allowFullScreen: "allowfullscreen",
autoCapitalize: "autocapitalize",
autoComplete: "autocomplete",
autoCorrect: "autocorrect",
autoFocus: "autofocus",
autoPlay: "autoplay",
charSet: "charset",
className: "class",
colSpan: "colspan",
contentEditable: "contenteditable",
crossOrigin: "crossorigin",
dateTime: "datetime",
encType: "enctype",
enterKeyHint: "enterkeyhint",
fetchPriority: "fetchpriority",
htmlFor: "for",
formMethod: "formmethod",
formAction: "formaction",
formEncType: "formenctype",
formNoValidate: "formnovalidate",
formTarget: "formtarget",
hrefLang: "hreflang",
httpEquiv: "http-equiv",
imageSizes: "imagesizes",
imageSrcSet: "imagesrcset",
inputMode: "inputmode",
itemID: "itemid",
itemProp: "itemprop",
itemRef: "itemref",
itemScope: "itemscope",
itemType: "itemtype",
maxLength: "maxlength",
minLength: "minlength",
noModule: "nomodule",
noValidate: "novalidate",
playsInline: "playsinline",
readOnly: "readonly",
referrerPolicy: "referrerpolicy",
rowSpan: "rowspan",
spellCheck: "spellcheck",
srcDoc: "srcdoc",
srcLang: "srclang",
srcSet: "srcset",
tabIndex: "tabindex",
useMap: "usemap",
alignmentBaseline: "alignment-baseline",
baselineShift: "baseline-shift",
clipPath: "clip-path",
clipRule: "clip-rule",
colorInterpolation: "color-interpolation",
colorInterpolationFilters: "color-interpolation-filters",
colorProfile: "color-profile",
colorRendering: "color-rendering",
dominantBaseline: "dominant-baseline",
enableBackground: "enable-background",
fillOpacity: "fill-opacity",
fillRule: "fill-rule",
floodOpacity: "flood-opacity",
floodColor: "flood-color",
fontFamily: "font-family",
fontSize: "font-size",
fontSizeAdjust: "font-size-adjust",
fontStretch: "font-stretch",
fontStyle: "font-style",
fontVariant: "font-variant",
fontWeight: "font-weight",
glyphOrientationHorizontal: "glyph-orientation-horizontal",
glyphOrientationVertical: "glyph-orientation-vertical",
imageRendering: "image-rendering",
letterSpacing: "letter-spacing",
lightingColor: "lighting-color",
markerEnd: "marker-end",
markerMid: "marker-mid",
markerStart: "marker-start",
pointerEvents: "pointer-events",
popoverTarget: "popovertarget",
popoverTargetAction: "popovertargetaction",
shapeRendering: "shape-rendering",
stopColor: "stop-color",
stopOpacity: "stop-opacity",
strokeDasharray: "stroke-dasharray",
strokeDashoffset: "stroke-dashoffset",
strokeLinecap: "stroke-linecap",
strokeLinejoin: "stroke-linejoin",
strokeMiterlimit: "stroke-miterlimit",
strokeWidth: "stroke-width",
strokeOpacity: "stroke-opacity",
textAnchor: "text-anchor",
textDecoration: "text-decoration",
textRendering: "text-rendering",
unicodeBidi: "unicode-bidi",
wordSpacing: "word-spacing",
writingMode: "writing-mode",
xlinkActuate: "xlink:actuate",
xlinkArcrole: "xlink:arcrole",
xlinkHref: "xlink:href",
xlinkRole: "xlink:role",
xlinkShow: "xlink:show",
xlinkTitle: "xlink:title",
xlinkType: "xlink:type",
xmlBase: "xml:base",
xmlLang: "xml:lang",
xmlSpace: "xml:space",
dirName: "dirname",
};