Submit Button

a button that signs out the user

  • it has a label
  • it has a click event that signs out the user

Installation

npx shadcn@latest add https://shuip.xyz/r/button.submit.json

Usage

import ButtonSubmit from '@/components/ui/shuip/button.submit';
export default function ButtonSubmitExample() {
return <ButtonSubmit onClick={() => alert('Button clicked')} label="Submit" />;
}

Examples