PrimaryButton
buttonGradient-filled button for primary CTAs. Used across the app for login, registration, and key actions.
Props
| Name | Type | Default | Description |
|---|---|---|---|
| label | string | "Button" | Text displayed inside the button. |
| variant | "filled" | "outline" | "filled" | Visual style โ filled gradient or outline stroke. |
| disabled | boolean | false | Disables interaction and dims opacity. |
| onClick | () => void | undefined | Callback fired on click. |
<PrimaryButton> <span> class="cc-code-attr">label=<span>><span> <span> class="cc-code-attr">class=<span>>"cc-code-string">"Get Started"<span>> <span> class="cc-code-attr">variant=<span>><span> <span> class="cc-code-attr">class=<span>>"cc-code-string">"filled"<span>> <span> class="cc-code-attr">onClick=<span>>{() <span> <span> class="cc-code-attr">class=<span>>"cc-code-brace">=> <span>>navigate("/Setup")} />


No comments yet. Be the first!