TidalUI

Waitlist form preview

Collect early-access requests with email, optional role and use-case fields.

pro · Forms · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/waitlist-form

Import components/ui/tidal.css, components/ui/waitlist-form.css. Wrap installed components in tidal-scope.

Preview

Waitlist form component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/waitlist-form.css";
import{TidalWaitlistForm}from"./components/ui/waitlist-form";
export default()=><div className="tidal-scope"><TidalWaitlistForm title={"Demo"}/></div>;

API and props

TidalWaitlistForm.title (required)
ReactNode

Required title value accepted by this exported component.

TidalWaitlistForm.description
ReactNode

Optional description value accepted by this exported component.

TidalWaitlistForm.disabled
boolean | undefined

Optional disabled value accepted by this exported component.

TidalWaitlistForm.emailProps
EmailProps | undefined

Optional email props value accepted by this exported component.

TidalWaitlistForm.emailRef
Ref<HTMLInputElement> | undefined

Optional email ref value accepted by this exported component.

TidalWaitlistForm.error
ReactNode

Optional error value accepted by this exported component.

TidalWaitlistForm.footer
ReactNode

Optional footer value accepted by this exported component.

TidalWaitlistForm.headingLevel
"h2" | "h3" | "h4" | "h5" | "h6" | undefined

Optional heading level value accepted by this exported component.

TidalWaitlistForm.labels
Partial<{ email: string; role: string; chooseRole: string; notes: string; submit: string; pending: string; success: string; edit: string; invalid: string; }> | undefined

Optional labels value accepted by this exported component.

TidalWaitlistForm.notesProps
NotesProps | undefined

Optional notes props value accepted by this exported component.

TidalWaitlistForm.notesRef
Ref<HTMLTextAreaElement> | undefined

Optional notes ref value accepted by this exported component.

TidalWaitlistForm.onEdit
(() => void) | undefined

Callback invoked when the edit interaction is proposed.

TidalWaitlistForm.onRoleChange
((role: string) => void) | undefined

Callback invoked when the role change interaction is proposed.

TidalWaitlistForm.onSubmit
((event: FormEvent<HTMLFormElement>) => void) | undefined

Callback invoked when the submit interaction is proposed.

TidalWaitlistForm.role
string | undefined

Optional role value accepted by this exported component.

TidalWaitlistForm.roleRequired
boolean | undefined

Optional role required value accepted by this exported component.

TidalWaitlistForm.roles
ReadonlyArray<TidalWaitlistRole> | undefined

Optional roles value accepted by this exported component.

TidalWaitlistForm.showNotes
boolean | undefined

Optional show notes value accepted by this exported component.

TidalWaitlistForm.status
"error" | "pending" | "success" | "idle" | undefined

Optional status value accepted by this exported component.

TidalWaitlistForm.submitProps
SubmitProps | undefined

Optional submit props value accepted by this exported component.

TidalWaitlistForm.success
ReactNode

Optional success value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas