(defcomp
  ()
  (~examples/page-content
    :title "Inline Validation"
    :description "Validate an email field on blur. The server checks format and whether it is taken, returning green or red feedback inline."
    :demo-description "Enter an email and click away (blur) to validate."
    :demo (~examples/inline-validation-demo)
    :sx-code "(input :type \"text\" :name \"email\"\n  :sx-get \"/sx/(geography.(hypermedia.(example.(api.validate))))\"\n  :sx-trigger \"blur\"\n  :sx-target \"#email-feedback\"\n  :sx-swap \"innerHTML\"\n  :placeholder \"user@example.com\")"
    :handler-names (list "ex-validate")
    :comp-placeholder-id "validate-comp"
    :wire-placeholder-id "validate-wire"))
