Profile
ProfileNewsletter
Email subscription form with Zod validation and preference checkboxes.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileNewsletter />
Email subscription form with full name and email fields, email preference checkboxes (promotions, events, newsletter), and Zod schema validation. No external props — manages its own form state.
<XRdProfileNewsletter />
Props
This component accepts no props. Form state and validation are internal.
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileNewsletter
use-when: >
Adding an email subscription form with Zod validation and preference
checkboxes to a restaurant profile page.
typical-page-section: Newsletter signup section on the restaurant profile page.
