
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@privyid/tailwind-extended
Advanced tools
Add missing tailwind utilities
yarn add -D @privyid/tailwind-extended
Then, add into tailwind.config.js
module.exports = {
plugins: [
require('@privyid/tailwind-extended')
],
// ...
}
| Class | Properties |
|---|---|
.horizontal-tb | writing-mode: horizontal-tb |
.vertical-rl | writing-mode: vertical-rl |
.vertical-lr | writing-mode: vertical-lr |
Similar to native tailwind aspect-ratio but with fallback for old browser.
/* Tailwind Core aspect-ratio */
.aspect-video {
aspect-ratio: 16 / 9;
}
/* Aspect Ratio Compat */
.aspect-compat-video {
aspect-ratio: 16 / 9;
}
@supports not (aspect-ratio: 1/1) {
.aspect-compat-video::before {
content: '';
float: left;
padding-top: calc(100% * 16/9);
}
.aspect-compat-video::after {
content: '';
display: block;
clear: both;
}
}
| Class | Properties |
|---|---|
.mi-1 | margin-inline: 0.25rem |
.ms-1 | margin-inline-start: 0.25 |
.me-1 | margin-inline-end: 0.25 |
Other values is similar to Margin.
| Class | Properties |
|---|---|
.pi-1 | padding-inline: 0.25rem |
.ps-1 | padding-inline-start: 0.25 |
.pe-1 | padding-inline-end: 0.25 |
Other values is similar to Padding.
Flex Gap alternative, using negative margin method. Given space between child element in x and y direction.
If you not use flex-wrap or similar "break wrap" things,
better use space-x or space-y.
.space-gap-1 {
margin-top: -0.5rem;
margin-left: -0.5rem;
& > * {
margin-top: 0.5;
margin-left: 0.5rem;
}
}
Note: you can't use space-gap together with mt-* and ml-*. You need wrap the element.
<!-- Not Work -->
<div class="mt-4 space-gap-2">
<!-- Content -->
</div>
<!-- Work -->
<div class="mt-4">
<div class="space-gap-2">
<!-- Content -->
</div>
</div>
Other values is similar to Space.
FAQs
Add missing tailwind utilities
The npm package @privyid/tailwind-extended receives a total of 16 weekly downloads. As such, @privyid/tailwind-extended popularity was classified as not popular.
We found that @privyid/tailwind-extended demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.