Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(marketing): add hint text below Go page form labels (#48824)

shaziyaa71636f5a056
diff --git a/apps/www/_go/events/select-2026/partner-day.tsx b/apps/www/_go/events/select-2026/partner-day.tsx
index 89c27b8d4ee..772d17ec2ae 100644
--- a/apps/www/_go/events/select-2026/partner-day.tsx
+++ b/apps/www/_go/events/select-2026/partner-day.tsx
@@ -153,8 +153,8 @@ const page: GoPageInput = {
{
type: 'select',
name: 'attending',
- label:
- 'Are you attending Supabase Select on October 2? (your Partner Day invite covers it)',
+ label: 'Would you like to attend Supabase Select on October 2?',
+ hint: 'Your Partner Day invite covers it',
placeholder: 'Select an option',
required: true,
options: [
diff --git a/packages/marketing/src/forms/MarketingForm.tsx b/packages/marketing/src/forms/MarketingForm.tsx
index 48b8a983673..6cb731d0404 100644
--- a/packages/marketing/src/forms/MarketingForm.tsx
+++ b/packages/marketing/src/forms/MarketingForm.tsx
@@ -169,7 +169,10 @@ function Field({
return (
<div className="flex flex-col gap-2">
- <label className="text-sm text-foreground font-medium">{field.label}</label>
+ <div className="flex flex-col gap-0.5">
+ <label className="text-sm text-foreground font-medium">{field.label}</label>
+ {field.hint && <p className="text-xs text-foreground-lighter italic">{field.hint}</p>}
+ </div>
<FieldInput field={field} value={value} onChange={onChange} />
{field.description && (
<p className="text-xs text-foreground-lighter leading-relaxed">{field.description}</p>
diff --git a/packages/marketing/src/go/schemas.ts b/packages/marketing/src/go/schemas.ts
index 79fcba510a0..25471a4f9da 100644
--- a/packages/marketing/src/go/schemas.ts
+++ b/packages/marketing/src/go/schemas.ts
@@ -134,6 +134,8 @@ export const showWhenSchema = z
const formFieldBase = z.object({
name: z.string().min(1),
label: z.string().min(1),
+ /** Small italicized note rendered directly beneath the label, above the input. */
+ hint: z.string().optional(),
/** Helper text rendered beneath the input. */
description: z.string().optional(),
placeholder: z.string().optional(),