npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@trumpetstech/bootwind

v1.0.7

Published

Utility and component-centric design system based on Bootstrap for fast, responsive UI development.

Downloads

218

Readme

Install via npm

For most projects (and to take advantage of the customization features), you'll want to install Bootwind CSS and its peer-dependencies via npm.

npm install @trumpetstech/bootwind@latest bootstrap@latest --save-dev

This will automatically install the latest Bootstrap version, so you don't need to do that manually.

Create the Sass files

In your scss folder create two new files and name them:

  • main.scss
  • utility.scss

Import the base styles and components

In your main.scss, you’ll import the source Sass files. Bootstrap is automatically loaded when you use the source files, so you don't need to worry about what Bootstrap files should you incorporate in your styles.

@import "@trumpetstech/bootwind/base";
@import "@trumpetstech/bootwind/forms";

// Load all the components
@import "@trumpetstech/bootwind/components";

or pick the parts you need:

@import "@trumpetstech/bootwind/base";
@import "@trumpetstech/bootwind/forms";

// Load only the components you use
@import "@trumpetstech/bootwind/components/alerts";
@import "@trumpetstech/bootwind/components/avatars";
@import "@trumpetstech/bootwind/components/buttons";
@import "@trumpetstech/bootwind/components/navbars";
@import "@trumpetstech/bootwind/components/cards";

Click here to see the complete list of available components.

Import the utility classes

In Bootwind CSS you'll notice that we don't create custom styles, but rather make use of the utility classes. We are using the new Bootstrap Utility API to generate a comprehensive list of classes.

In your utility.scss you'll import all the utilities:

@import "@trumpetstech/bootwind/utilities";

Integrations

If you want to see how it works, check out these functional examples of using Bootstrap and Bootwind CSS in common JS frameworks like Webpack, Parcel, Vite, and more!

See all integrations

Thank you

License

Made with ❤️ by Trumpets. Bootwind CSS is open-sourced software licensed under the MIT license.