bootstrap-component-js
A skill from the Bootstrap repository for adding JavaScript behaviour to a Bootstrap 6 component.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- Bootstrap
- Ferramenta
- Design de frontend
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Design de frontend | |
| Publicador | Bootstrap | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 2026175.039 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/twbs/bootstrap10 de nov. de 2026
- Repositório no GitHubgithub.com/twbs/bootstrap · Comprova: Licença, Publicador, Atividade11 de nov. de 2026
- Pasta no repositório (bootstrap-component-js)github.com/twbs/bootstrap · Comprova: Inclui scripts10 de nov. de 2026