bootstrap-component-js
A skill from the Bootstrap repository for adding JavaScript behaviour to a Bootstrap 6 component.
What the skill teaches
A skill from the Bootstrap repository for adding JavaScript behaviour to a Bootstrap 6 component. The agent writes a TypeScript module that extends Bootstrap's BaseComponent class, defines and validates config options, adds paired before and after events, wires the data attribute API, optionally positions elements with Floating UI or wraps a third-party library, cleans up in dispose, registers the export and adds a Vitest browser test. It then checks the work with the repository's lint, type-check, test, build and bundle-size scripts. A short final section shows how a project using Bootstrap can extend BaseComponent for its own components, with a warning about name clashes.
Capabilities
- Write a Bootstrap 6 plugin that extends BaseComponent
- Add config options, events and the data attribute API
- Position menus and tooltips with Floating UI
- Add a Vitest browser test for a component
About
- Publisher
- Bootstrap
- Tool
- Frontend design
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Frontend design | |
| Publisher | Bootstrap | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026175,039 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/twbs/bootstrapNov 10, 2026
- GitHub repositorygithub.com/twbs/bootstrap · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (bootstrap-component-js)github.com/twbs/bootstrap · Backs: Includes scriptsNov 10, 2026