Skip to content

zk-email ​

Renders an <input type="email"> with a configurable browser-side validation pattern.

See zk-input for the full props reference.

Config ​

php
// config/blade-components.php
'email' => [
    'pattern' => '[^@]+@[^@]+\.[a-zA-Z]{2,}',
],

Example ​

blade
<x-zk-email name="email" label="Email address" required />

Notes ​

  • The pattern is applied as an HTML pattern attribute for browser-side validation.
  • Override via config or pass pattern directly as a prop to bypass config.

Documentation of 3.2.0 , built from c93e21f on 3.2.0 by pipeline #2919741884 on 2026-10-06.