Discover / Actions
Button
Trigger actions with clear visual hierarchy.
Usage notes
Use a primary button for the main action, and secondary or ghost buttons for supporting actions.
Examples use @easyui/react and its stylesheet. Read the setup guide.
Example source
import { Button } from "@easyui/react";
export default function Example() {
return (
<div style={{ display: "flex", gap: 8, flexWrap: "wrap" }}>
<Button>Get started</Button>
<Button variant="secondary">Learn more</Button>
<Button variant="ghost">Cancel</Button>
</div>
);
}