
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
tailwindcss-dir
Advanced tools
Tailwind Direction adds a custom direction
variant to your tailwind project,
letting you have custom CSS rules for LTR and RTL layouts.
Note: This package requires Tailwind >= v0.7.0.
Install the package via NPM/Yarn.
# Yarn
yarn add tailwindcss-dir --dev
# NPM
npm install tailwindcss-dir --save-dev
Now, setup the plugin in your Tailwind config's plugins
section.
Currently the plugin doesn't offer any configuration.
plugins: [
require('tailwindcss-dir')(),
],
Finally, you can use the plugin and add it to modules you want to use it with.
modules: {
float: ['responsive', 'direction'],
margin: ['responsive', 'direction'],
padding: ['responsive', 'direction'],
},
The plugin adds ltr
and rtl
variants to your modules. With the default Tailwind configuration, you can use them like so:
<div class="text-green text-2xl ltr:pl-4 rtl:pr-4">
Hello world.
</div>
Tailwind Direction is licensed under the MIT license.
FAQs
Adds direction variants to your Tailwind project
The npm package tailwindcss-dir receives a total of 3,939 weekly downloads. As such, tailwindcss-dir popularity was classified as popular.
We found that tailwindcss-dir demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.