Loading Button
A button that shows an inline spinner and blocks input while work is in flight.
6 frameworksBeginner
A call-to-action button with a gradient fill and a soft coloured glow on hover.
<button class="glow-btn" type="button">
Get started
</button>| Prop | Type | Default | Description |
|---|---|---|---|
childrenrequired | ReactNode | - | Content rendered inside the component. |
disabled | boolean | false | Prevents interaction and dims the control. |
onClick | () => void | - | Fired when the user activates the control. |
Swap the two `from-`/`to-` colours for your brand and update the shadow to match - the glow reads as a blur of the same hue. Adjust the `-translate-y-px` lift for a stronger or subtler hover.