Hacker News new | ask | show | jobs
by mglukhovsky 3175 days ago
Elements lets you define validation behavior and styles by listening to event handlers that emit errors[0], and you can specify custom web fonts with the `fonts` option[1].

You can see a few examples of Elements using custom validation and fonts here: https://stripe.com/elements/examples

[0]: https://stripe.com/docs/stripe.js#input-validation

[1]: https://stripe.com/docs/stripe.js#stripe-elements