Socket
Socket
Sign inDemoInstall

@webpixels/css

Package Overview
Dependencies
2
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webpixels/css

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


Version published
Weekly downloads
3K
decreased by-2.39%
Maintainers
1
Install size
6.30 MB
Created
Weekly downloads
 

Readme

Source

Webpixels CSS

Utility and component-centric Design System based on Bootstrap for fast, responsive UI development.
Explore Documentation »

Report bug · Request feature · UI Components · Blog

Install via npm

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

npm install @webpixels/css@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 "@webpixels/css/base";
@import "@webpixels/css/forms";

// Load all the components
@import "@webpixels/css/components";

or pick the parts you need:

@import "@webpixels/css/base";
@import "@webpixels/css/forms";

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

Click here to see the complete list of available components.

Import the utility classes

In Webpixels 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 "@webpixels/css/utilities";

Documentation

Check out our documentation website.

Integrations

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

See all integrations

Detailed UI components library

Explore, copy, use and mix hundreds of carefully crafted components made just for Bootstrap.

Explore components

Beautiful designer-made templates

Get your new web design project started with these amazing templates, or copy and paste elements into your existing projects to give them a creative boost.

Explore templates

Community

Get updates on the development of our CSS tool and chat with the project maintainers and community members.

Thank you

License

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

Keywords

FAQs

Last updated on 16 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc