Skip to content

Creative2LLC/formio-tailwindcss

 
 

Repository files navigation

Form.io Tailwind CSS Templates

This repository will change the rendering of forms in formio.js so that it uses html and classes compatible with the TailwindCSS framework.

Usage

import tailwindcss from '@formio/tailwindcss';
import { Formio } from 'formiojs';

Formio.use(tailwindcss);

Script

Formio.Templates.framework = "tailwindcss"

If icon is not show

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
  Formio.icons = "fontawesome"
</script>

About

TailwindCSS templates for form.io forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.5%
  • EJS 19.0%
  • TypeScript 3.5%