{"id":13411582,"url":"https://github.com/manuelernestog/bootstrap-multi-steps-component","last_synced_at":"2025-03-18T20:30:57.508Z","repository":{"id":58824640,"uuid":"533064232","full_name":"manuelernestog/bootstrap-multi-steps-component","owner":"manuelernestog","description":"Multi Steps Form Component for Bootstrap","archived":false,"fork":false,"pushed_at":"2022-09-10T15:33:32.000Z","size":17,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T12:20:34.191Z","etag":null,"topics":["bootstrap","component","form","ui-components"],"latest_commit_sha":null,"homepage":"https://manuelernestog.github.io/bootstrap-multi-steps-component/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manuelernestog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-05T21:23:14.000Z","updated_at":"2023-07-25T15:01:21.000Z","dependencies_parsed_at":"2023-01-18T03:00:47.183Z","dependency_job_id":null,"html_url":"https://github.com/manuelernestog/bootstrap-multi-steps-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelernestog%2Fbootstrap-multi-steps-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelernestog%2Fbootstrap-multi-steps-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelernestog%2Fbootstrap-multi-steps-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manuelernestog%2Fbootstrap-multi-steps-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manuelernestog","download_url":"https://codeload.github.com/manuelernestog/bootstrap-multi-steps-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950792,"owners_count":20373664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","component","form","ui-components"],"created_at":"2024-07-30T20:01:14.699Z","updated_at":"2025-03-18T20:30:57.212Z","avatar_url":"https://github.com/manuelernestog.png","language":"HTML","funding_links":[],"categories":["Web Development"],"sub_categories":["UI Libraries"],"readme":"# Multi Steps Form Component for Bootstrap\n\nEasily create a multi-step form for bootstrap.\n\n- Bootstrap like sintaxis component\n- No Js configuration required\n- Installation with CDN\n\n## Demo\n\nhttps://manuelernestog.github.io/bootstrap-multi-steps-component/\n\n## Requirements\n\nBefore include multi-steps-form you should install [Bootstrap](https://getbootstrap.com/) in your project.\n\n## Installation\n\nSimply include CDN file in your project. Put the CSS file inside `\u003chead\u003e` tag and the Js file in the bottom of your `\u003cbody\u003e` tag.\n\n```\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/bootstrap-multi-steps-component@1.2.0/dist/bootstrap-multi-steps-component.min.css\" type=\"text/css\" media=\"all\" /\u003e\n...\n\u003cscript src='https://cdn.jsdelivr.net/npm/bootstrap-multi-steps-component@1.2.0/dist/bootstrap-multi-steps-component.min.js'\u003e\u003c/script\u003e\n```\n\n## Usage\n\n``` html\n\u003cdiv class=\"multi-steps-form faded\"\u003e\n    \u003cdiv class=\"step fade active show\" id=\"step1\"\u003e\n        ...\n        \u003cbutton class=\"step-link\" data-bs-target=\"#step2\"\u003eNext\u003c/button\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"step fade\" id=\"step2\"\u003e\n        ...\n        \u003cbutton class=\"step-link\" data-bs-target=\"#step1\"\u003eBack\u003c/button\u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n```\n\nCreate a main `\u003cdiv\u003e` tag with class `multi-steps-form`. The class `faded` is optional, this one enable the fade effect when you move through the steps.\n\nInside the `multi-steps-form` tag create a `\u003cdiv\u003e` tag with class `step` for step, add a ID for each steep. \n\nFor change between steps creat a tag with class `step-link` and add the attribute `data-bs-target=\"[step_id]\"`.\n\nYou can also move between steps using Javascript.\n\n``` javascript\nconst multiStepForm = new MultiStepForm(\"#form-container\");\n\ndocument.getElementById(\"buttonId\").addEventListener(\"click\", () =\u003e {\n    ...\n    multiStepForm.show(\"#step3\");\n});\n```\n\n## Contribution\n\nSuggestions and pull requests are welcomed!\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelernestog%2Fbootstrap-multi-steps-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanuelernestog%2Fbootstrap-multi-steps-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanuelernestog%2Fbootstrap-multi-steps-component/lists"}