Button Type (Attribute: `type`)
Button Curve (Attribute: `curve`)
Button Size (Attribute: `size`)
The Button component is one of the most fundamental interactive elements in any user interface, designed to trigger actions, events, or submit forms. Buttons come in various styles, sizes, and configurations, making them adaptable to a wide range of scenarios. Whether it's a primary call-to-action on a landing page, a submit button in a form, or a secondary action in a dialog, buttons play a crucial role in guiding user interactions. Use cases include 'Submit' buttons in forms, 'Add to Cart' buttons in e-commerce sites, or 'Learn More' buttons in promotional sections.
import Button from "@lumina-design/core/Button"; <Button curve="curved" id="button-1" buttonSize="S" className="some-button" disabled={false} icon={<LuminaIcon.Plus width={16} height={16} />} onClick={() => { console.log("button-1"); }} > Primary button </Button>