https://github.com/anubra266/panda-transitions-css
Drop-in CSS transitions from transition.css for Panda CSS.
https://github.com/anubra266/panda-transitions-css
css panda-css transitions
Last synced: 4 months ago
JSON representation
Drop-in CSS transitions from transition.css for Panda CSS.
- Host: GitHub
- URL: https://github.com/anubra266/panda-transitions-css
- Owner: anubra266
- Created: 2023-08-19T22:38:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-08T08:34:51.000Z (over 2 years ago)
- Last Synced: 2024-05-21T07:14:24.594Z (about 2 years ago)
- Topics: css, panda-css, transitions
- Language: TypeScript
- Homepage: https://anubra266.github.io/panda-transitions-css/
- Size: 139 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🐼
panda-transitions-css
Drop-in CSS transitions from transition.css for Panda CSS.
npm i -D panda-transitions-css
## About
It's a preset for [Panda CSS](https://panda-css.com) that adds [Transition.css](https://transition.style) transitions to your project.
## Install
```bash
npm i -D panda-transitions-css
#or
yarn add -D panda-transitions-css
#or
pnpm i -D panda-transitions-css
```
## Usage
Add as first item of presets in your [Panda](https://panda-css.com) config.
```ts
import { defineConfig } from '@pandacss/dev'
export default defineConfig({
// Other config...
presets: ['panda-transitions-css', '@pandacss/dev/presets'],
})
```
You can now use it in your project.
```jsx
Element with Transition
```
You can play around with the animations in the [docs](https://anubra266.github.io/panda-transitions-css/)
## Sponsors ✨
Thanks goes to these wonderful people