Bootstrap components build with Typescript
MIT License
The faster, lighter and more compact set of JavaScript components for Bootstrap 5, sourced with TypeScript and free from major dependecies such as jQuery, Popper.
The bootstrap.native library is available on npm, CDN and comes packed with Cypress powered tests and other goodies.
The library is around 39Kb minified and around 12Kb gZipped. See the demo for components guidelines and examples, or the Wiki/How to use on how to install and use the library.
Check out the bootstrap.native
Wiki pages, they're updated with almost every new commit:
assets/js
folder, then use proper markup to enable BSN on your pagesimport BSN from "bootstrap.native"
npm install bootstrap.native
or mark it as dependency and take it from thereturbolinks:load
, mount
, load
and similar eventsconst BSN = require("bootstrap.native")
document
and window
in scopebootstrap.native
project, goals and motivations.The BSN library is released under the MIT license.