🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@bedard/tailwindcss-dialogs

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedard/tailwindcss-dialogs

Tailwind utilities for working with dialog elements

0.2.1
latest
npm
Version published
Maintainers
0
Created
Source

@bedard/tailwindcss-dialogs

Build NPM License

Tailwind CSS utilities for styling and animating dialog elements.

View sandbox →

Installation

First, install the package from NPM.

npm install --save-dev @bedard/tailwindcss-dialogs

Next, add the following to your tailwind.config.js file.

import dialogs from '@bedard/tailwindcss-dialogs'

export default {
  plugins: [
    dialogs
  ]
}

Basic usage

This plugin provides one utility class, and three variant utilities.

  • The allow-discrete class enables entry / exit transitions
  • backdrop targets a dialog's backdrop pseudo element
  • open targets the the open state
  • from targets a dialog's starting-style

License

MIT

Copyright (c) 2024-present, Scott Bedard

FAQs

Package last updated on 30 Jun 2024

Did you know?

Socket

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