Here you may find a few examples of payment forms using Recurly.js to tokenize billing info before submitting to their respective backend.
If you plan to use React, check out our react-recurly library. We maintain
an example integration of react-recurly
in the documentation for that library. Be sure to read
through the documentation as you explore the examples.