Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.32 KB

README.md

File metadata and controls

49 lines (39 loc) · 1.32 KB

BEAUBUS Patterns plugin for Tailwind CSS

npm downnloads count MIT    Twitter Follow

A plugin that provides 210+ free svg patterns you can use as background image with utility classes.


Installation

Install the plugin from npm

npm i @beaubus/svg-patterns-for-tailwindcss

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  // ...
  plugins: [
    require('@beaubus/svg-patterns-for-tailwindcss'),
    // ...
  ],
}

Usage

Now you can use the bbp- classes with pattern name from BEAUBUS Patterns to add background-image to html elements:

<body class="bbp-blue-wallpaper">
    <div class="bbp-moment"></div>
</body>