Docs
Neu Button

Neu Button

Neumorphic Follow Button

Installation

Props

PropTypeDefaultDescription
initialFollowStatebooleanfalseSets the initial follow state; if true, the button will display "Following".
onFollowChange(isFollowing: boolean) => voidCallback function that is called with the new follow state when the button is clicked.
classNamestring""Additional CSS classes for customizing the button's styling.
lightShadowstring"rgba(255, 255, 255, 0.8)"The color used for the light shadow effect on the button.
darkShadowstring"rgba(0, 0, 0, 0.2)"The color used for the dark shadow effect on the button.