2017 © Pedro Peláez
 

library smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

image

techlab/smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

  • Thursday, March 15, 2018
  • by techlab
  • Repository
  • 29 Watchers
  • 320 Stars
  • 6,225 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 101 Forks
  • 14 Open issues
  • 12 Versions
  • 4 % Grown

The README.md

jQuery Smart Wizard v6

The awesome step wizard plugin for jQuery

Build Status npm version jsDelivr Hits Npm Downloadsl GitHub license GitHub Repo GitHub Sponsor Donate on Paypal, (*1)

jQuery Smart Wizard is an accessible step wizard plugin for jQuery. Provides a neat, usable and stylish user interface for your forms, checkout screen, registration process, etc. Easy to implement, Bootstrap compatiblity, customizable toolbars, themes and colors, events and Ajax support are few of the features., (*2)

Demos

Screenshots

Smart Wizard Demo, (*3)

Smart Wizard Demo, (*4)

Smart Wizard Arrows Dark, (*5)

Smart Wizard Round, (*6)

Smart Wizard Dots, (*7)

Requirements

Installation

NPM

npm install smartwizard

Yarn

yarn add smartwizard

CDN - jsDelivr


<link href="https://cdn.jsdelivr.net/npm/smartwizard@6/dist/css/smart_wizard_all.min.css" rel="stylesheet" type="text/css" />



CDN - UNPKG


<link href="https://unpkg.com/smartwizard@6/dist/css/smart_wizard_all.min.css" rel="stylesheet" type="text/css" />



Common JS/Webpack

var $ = require( "jquery" );
require( "smartwizard/dist/css/smart_wizard_all.css");
const smartWizard = require("smartwizard");

$(function() {
    $('#smartwizard').smartWizard();
});

ES6/Babel

import $ from "jquery";
import "smartwizard/dist/css/smart_wizard_all.css";
import smartWizard from 'smartwizard';

$(function() {
    $('#smartwizard').smartWizard();
});

Note: you may have to install the required dependencies

npm i jquery
npm i smartwizard

// If you are using Webpack, install
npm i webpack webpack-cli style-loader css-loader --save-dev

Download

Download from GitHub

Features

  • Easy to implement and minimal HTML required
  • Supports all modern browsers
  • Responsive CSS design
  • Bootstrap compatible
  • Cool themes included and can be easly customize
  • Easy color cusomization using CSS variables
  • Built-in transition animations (none|fade|slideHorizontal|slideVertical|slideSwing|css)
  • Transition animations can be added easly by extending
  • CSS Animations support for transition animations (Supports Animate.css)
  • Form validation support
  • RTL(Right-to-left language) support
  • Accessible controls
  • External controls support
  • Easy ajax content integration
  • Keyboard navigation
  • Auto content height adjustment
  • Customizable toolbar and option to provide extra HTML
  • Buit-in progressbar
  • Buit-in loader
  • Buit-in events
  • UMD (Universal Module Definition) support
  • Compatible with all jQuery versions (jQuery 1.11.1+, jQuery 3.6+, and jQuery Slim)

Usage

Include SmartWizard CSS, (*8)

<link href="https://cdn.jsdelivr.net/npm/smartwizard@6/dist/css/smart_wizard_all.min.css" rel="stylesheet" type="text/css" />

Include HTML (This is the basic HTML markup for the Smart Wizard. You can customize it by adding your on steps content)., (*9)




Step content
Step content
Step content
Step content

Include jQuery (ignore this if you have already included on the page)., (*10)

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

Include SmartWizard plugin JavaScript, (*11)

<script src="https://cdn.jsdelivr.net/npm/smartwizard@6/dist/js/jquery.smartWizard.min.js" type="text/javascript"></script>

Initialize the SmartWizard, (*12)

$(function() {
    $('#smartwizard').smartWizard();
});

That's it!, (*13)

Please see the detailed documentation for implementation and usage., (*14)

All options
$('#smartwizard').smartWizard({
  selected: 0, // Initial selected step, 0 = first step
  theme: 'basic', // theme for the wizard, related css need to include for other than basic theme
  justified: true, // Nav menu justification. true/false
  autoAdjustHeight: true, // Automatically adjust content height
  backButtonSupport: true, // Enable the back button support
  enableUrlHash: true, // Enable selection of the step based on url hash
  transition: {
      animation: 'none', // Animation effect on navigation, none|fade|slideHorizontal|slideVertical|slideSwing|css(Animation CSS class also need to specify)
      speed: '400', // Animation speed. Not used if animation is 'css'
      easing: '', // Animation easing. Not supported without a jQuery easing plugin. Not used if animation is 'css'
      prefixCss: '', // Only used if animation is 'css'. Animation CSS prefix
      fwdShowCss: '', // Only used if animation is 'css'. Step show Animation CSS on forward direction
      fwdHideCss: '', // Only used if animation is 'css'. Step hide Animation CSS on forward direction
      bckShowCss: '', // Only used if animation is 'css'. Step show Animation CSS on backward direction
      bckHideCss: '', // Only used if animation is 'css'. Step hide Animation CSS on backward direction
  },
  toolbar: {
      position: 'bottom', // none|top|bottom|both
      showNextButton: true, // show/hide a Next button
      showPreviousButton: true, // show/hide a Previous button
      extraHtml: '' // Extra html to show on toolbar
  },
  anchor: {
      enableNavigation: true, // Enable/Disable anchor navigation 
      enableNavigationAlways: false, // Activates all anchors clickable always
      enableDoneState: true, // Add done state on visited steps
      markPreviousStepsAsDone: true, // When a step selected by url hash, all previous steps are marked done
      unDoneOnBackNavigation: false, // While navigate back, done state will be cleared
      enableDoneStateNavigation: true // Enable/Disable the done state navigation
  },
  keyboard: {
      keyNavigation: true, // Enable/Disable keyboard navigation(left and right keys are used if enabled)
      keyLeft: [37], // Left key code
      keyRight: [39] // Right key code
  },
  lang: { // Language variables for button
      next: 'Next',
      previous: 'Previous'
  },
  disabledSteps: [], // Array Steps disabled
  errorSteps: [], // Array Steps error
  warningSteps: [], // Array Steps warning
  hiddenSteps: [], // Hidden steps
  getContent: null // Callback function for content loading
});

License

MIT License, (*15)

Contribute

If you like the project please support with your contribution., (*16)

GitHub Sponsor
Donate on Paypal, (*17)

Happy Coding :heart:, (*18)

The Versions

15/03 2018

dev-master

9999999-dev http://techlaboratory.net/smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step wizard plugin

15/03 2018

dev-dev

dev-dev http://techlaboratory.net/smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step wizard plugin

06/03 2018

v2.0.1

2.0.1.0

  Sources   Download

06/03 2018

2.0

2.0.0.0

  Sources   Download

03/07 2017

v4.3.1

4.3.1.0 http://techlaboratory.net/smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step wizard plugin

21/04 2017

v4.2.2

4.2.2.0 http://techlaboratory.net/smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step wizard plugin

18/03 2017

v4.2.1

4.2.1.0 http://techlaboratory.net/smartwizard

The awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step wizard plugin

01/02 2017

v4.1.7

4.1.7.0 http://techlaboratory.net/smartwizard

An awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step wizard plugin

01/02 2017

v4.1.5

4.1.5.0 http://techlaboratory.net/smartwizard

An awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

 

jquery bootstrap ui jquery-plugin wizard step

12/12 2016

v4.1.2

4.1.2.0 http://techlaboratory.net/smartwizard

An awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

  • jquery >=1.9.0
  • bootstrap >=3.0.0

 

jquery bootstrap ui jquery-plugin wizard step

20/11 2016

v4.1.1

4.1.1.0 http://techlaboratory.net/smartwizard

An awesome jQuery step wizard plugin with Bootstrap support

  Sources   Download

MIT

The Requires

  • jquery >=1.9.0
  • bootstrap >=3.0.0

 

jquery bootstrap ui jquery-plugin wizard step

31/10 2016

v4.0.1

4.0.1.0 http://techlaboratory.net/smartwizard

An awesome step wizard plugin

  Sources   Download

MIT

The Requires

  • jquery >=1.9.0
  • bootstrap >=3.0.0

 

jquery bootstrap ui wizard step