Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shornuk/tw-toasts

Plugin that generates toast utilities for TailwindCSS
https://github.com/shornuk/tw-toasts

Last synced: 13 days ago
JSON representation

Plugin that generates toast utilities for TailwindCSS

Awesome Lists containing this project

README

        

# Tailwind Toasts Plugin

## Install

```bash
# Install via npm
npm install --save-dev
```

## Usage

```js
module.exports = {
theme: {
},
variants: {
aspectRatio: ['responsive']
},
plugins: [
require("tw-toasts"),
]
}
```

This configuration would create the following classes:

```scss
.toast {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
}
```

## Example HTML

```html


```