tailwind-sidebar-expanded
v1.0.2
Published
Tailwind sidebar expanded variant
Downloads
6
Readme
tailwind-sidebar-expanded
Tailwind plugin for sidebar expandable.
Installation
Install the plugin from npm:
# Using npm
npm install tailwind-sidebar-expanded
# Using Yarn
yarn add tailwind-sidebar-expanded
# Using pnpm
pnpm add tailwind-sidebar-expanded
Then add the plugin to your tailwind.config.js
file:
// tailwind.config.js
module.exports = {
theme: {
// ...
},
plugins: [
require("tailwind-sidebar-expanded"),
// ...
],
};
Usage
Use in you template sidebar-expanded
<div class="w-4 md:sidebar-expanded:hidden">...</div>