RippleButton

A thin layer wrapping BaseButton with Ripple which is triggered onRelease. This component is used in some other components including Button.
Consider this component as a utility rather than a finished component.
Click me
View code

API

RippleButton
Prop nameTypeDefaultDescription
asany
Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended.
colorTypeColorTypes
Set color based on theme. If color is specified, that prop is used instead of this.
disabledboolean
Equivalent to button's disabled property.
keyboardClickKeysstring[]
onBlurFocusEventHandler<HTMLDivElement>
onClickMouseEventHandler<HTMLDivElement>
onKeyDownKeyboardEventHandler<HTMLDivElement>
onKeyUpKeyboardEventHandler<HTMLDivElement>
onMouseDownMouseEventHandler<HTMLDivElement>
onMouseLeaveMouseEventHandler<HTMLDivElement>
onMouseUpMouseEventHandler<HTMLDivElement>
onReleaseEventHandler<SyntheticEvent<HTMLDivElement, Event>>
Callback that's triggered after click i.e. mouseup and keyup of enter or space.
onTouchEndTouchEventHandler<HTMLDivElement>
onTouchStartTouchEventHandler<HTMLDivElement>
radiusstring | number
Equivalent to CSS border-radius property.
rippleDisabledboolean
Whether to disable ripple animation.
rippleIntensitynumber
transitionProps{ onChange?: ((result: AnimationResult<SpringValue<UnknownProps>>, ctrl: Controller<UnknownProps>, item: QueueItem<...>) => void) | { ...; }; ... 25 more ...; onDestroyed?: (item: QueueItem<...>, key: Key) => void; }
Props for the transition config
    API
    API
    RippleButton
    RippleButton
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.

Copyright © 2018-2025 Sea Labs