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 { forwardRef, type ElementRef, type ComponentProps } from "react";
export const defaultTag = "button";
type ButtonProps = ComponentProps<typeof defaultTag>;
export const Button = forwardRef<ElementRef<typeof defaultTag>, ButtonProps>(
({ type = "submit", children, ...props }, ref) => (
<button type={type} {...props} ref={ref}>
{children}
</button>
)
);
Button.displayName = "Button";