import React, { useState } from 'react'; import { motion } from 'motion/react'; import { useForm, Controller } from 'react-hook-form'; import { Field } from 'reablocks'; import { Button } from 'reablocks'; import { Card } from 'reablocks'; import { Divider } from 'reablocks'; import { Input } from 'reablocks'; import { Radio, radioTheme } from 'reablocks'; import { cn } from 'reablocks'; import { Select, SelectOption } from 'reablocks'; export default { title: 'Blocks/Authentication/Register' }; const LogoIcon = ({ className }: { className?: string }) => ( ); const RadioTheme = { ...radioTheme, base: 'box-border leading-3', radio: { ...radioTheme.radio, base: 'will-change-[border-color] inline-flex justify-center items-center box-border align-middle rounded-full bg-transparent border light:border-charade cursor-pointer focus-visible:outline-hidden focus-visible:border-primary-hover', checked: 'border-primary' } }; export const Register = () => { const { control, handleSubmit, formState: { isSubmitting } } = useForm(); return (

Welcome to Reablocks

Welcome! Let's get started by creating your account. Please provide your email address and choose a secure password to begin accessing our platform's features.

console.log('values', values))} > ( )} /> ( )} /> ( )} /> ( )} />
By signing in, you agree to our terms of service and privacy policy
Already have an account? Sign in
); }; export const RegisterFull = () => { const [selection, setSelection] = useState(''); const { control, handleSubmit, formState: { isSubmitting } } = useForm(); return (

Welcome to Reablocks

Excited to have you onboard! Start by creating your account to gain access to our platform. Simply provide your email, choose a password, and include any necessary information about your company to join our community and explore all we have to offer.

console.log('values', values))} >
( )} /> ( )} />
( )} />
( )} /> ( )} />
Select a package
setSelection('starter')} >
Starter
Community support
Integration support
Figmas support
Free
setSelection('premium')} >
Premium
Community support
Integration support
Figmas support
$1000/Month
setSelection('enterprise')} >
Enterprise
Community support
Integration support
Figmas support
Email for Price
Already have an account? Sign in
); }; export const RegisterV2 = () => { const { control, handleSubmit, formState: { isSubmitting } } = useForm(); return (

Welcome to Reablocks

Welcome! Let's get started by creating your account. Please provide your email address and choose a secure password to begin accessing our platform's features.

console.log('values', values))} >
( )} /> ( )} />
( )} /> ( )} /> ( )} />
By signing in, you agree to our terms of service and privacy policy
Already have an account? Sign in
); }; export const RegisterWithSocial = () => { const [showPassword, setShowPassword] = useState(false); const { control, handleSubmit, formState: { isSubmitting } } = useForm(); return (

Welcome to Reablocks

or
console.log('values', values))} > ( )} /> ( setShowPassword(!showPassword)} > } /> )} /> ( setShowPassword(!showPassword)} > } /> )} />
Forgot Password?
By signing in, you agree to our terms of service and privacy policy
Already have an account? Sign in
); };