Skip to content

Bootstrap templates for form.io forms

License

Notifications You must be signed in to change notification settings

johnformio/bootstrap

This branch is 3 commits behind formio/bootstrap:main.

Folders and files

NameName
Last commit message
Last commit date
Sep 25, 2024
Jun 7, 2024
Jun 7, 2024
Dec 27, 2024
Apr 3, 2024
Oct 8, 2024
Mar 5, 2020
Jun 7, 2023
Jun 8, 2023
Jun 7, 2023
Dec 19, 2024
Jun 7, 2023
Jun 7, 2023
Jun 7, 2023
May 30, 2021
Nov 23, 2023
Apr 23, 2024

Repository files navigation

Form.io Bootstrap Templates

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

Using Bootstrap 3

import bootstrap3 from '@formio/bootstrap/bootstrap3';
import { Formio } from 'formiojs';
Formio.use(bootstrap3);

Using Bootstrap 4

import bootstrap4 from '@formio/bootstrap/bootstrap4';
import { Formio } from 'formiojs';
Formio.use(bootstrap4);

Using Bootstrap 5

import bootstrap5 from '@formio/bootstrap/bootstrap5';
import { Formio } from 'formiojs';
Formio.use(bootstrap5);

Script

Formio.Templates.framework = "bootstrap3"

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

Bootstrap templates for form.io forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.8%
  • EJS 21.4%
  • TypeScript 3.8%