Skip to Content
🎉 Coral x Panda has been released 🎉 Read the Migration Guide

LoginButton

LoginButton is a sub-component of the Login organism.

Basic Usage

import { Login, LoginButton } from '@krakentech/coral-organisms'; <Login> <LoginButton label="Login" /> </Login>

Properties

disabled

<LoginButton disabled />

loading

<LoginButton loading />

loadingLabel

<LoginButton loading loadingLabel="Logging in..." />

Full API

NameTypeDefault
labelstring
disabledboolean

If true, the component will be disabled and not respond to user interactions.

false
loadingboolean

If true, the button will be in a loading state and will not respond to user interactions.

false
loadingLabelReactNode

The label to display when the button is in a loading state.

Loading...
Last updated on