About
Renders its children as button content and works with both href and onClick. Supports solid, outline, ghost and faded variants, neutral/primary/critical/positive colors, four sizes with fullWidth, loading and disabled states, start/end icons, icon-only mode, rounded shape, raised elevation and a Button.Group compound component.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Reshaped Button to your project and fits it to your theme.
Code
How Reshaped Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Reshaped, View } from "reshaped/bundle";
import Button from "@/components/ui/reshaped-button";
export default function Demo() {
return (
<Reshaped theme="slate">
<div style={{ margin: "0 auto", padding: 24, display: "flex", justifyContent: "center" }}>
<View gap={3} direction="row">
<Button size="small" onClick={() => {}}>
Save progress
</Button>
<Button size="medium" onClick={() => {}}>
Sign in
</Button>
<Button size="large" onClick={() => {}}>
Get started
</Button>
<Button size="xlarge" onClick={() => {}}>
Subscribe
</Button>
</View>
</div>
</Reshaped>
);
}
















