Customizing the markup for very simple forms should be, well, very simple.

Twig FAPI is an experiment to explore possible answers for questions like:

  • Is it possible to render fully-working, highly customized, (simple) forms, by overriding only the form-level template?
  • Is it possible to get a template for a form to live in a styleguide/prototype, and then be re-used by Drupal?

Currently, Twig FAPI provides: