Spaces:
Running
Running
Download bioai-platform/frontend/src/lib/animations.ts from Samad14/bio-nexus-api: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/fb8c550baa97630a7ea75c27656d800982f513c5/bioai-platform/frontend/src/lib/animations.ts
- Command line
-
hf download hf://spaces/Samad14/bio-nexus-api@fb8c550baa97630a7ea75c27656d800982f513c5/bioai-platform/frontend/src/lib/animations.ts
-
curl -L -o animations.ts https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/fb8c550baa97630a7ea75c27656d800982f513c5/bioai-platform/frontend/src/lib/animations.ts
495 Bytes
| import type { Variants } from 'framer-motion'; | |
| export const fadeUp: Variants = { | |
| hidden: { opacity: 0, y: 24 }, | |
| show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: [0.25, 1, 0.5, 1] as const } }, | |
| }; | |
| export const stagger: Variants = { | |
| show: { transition: { staggerChildren: 0.08 } }, | |
| }; | |
| export const cardHover = { y: -4, transition: { duration: 0.25 } }; | |
| export const fadeIn: Variants = { | |
| hidden: { opacity: 0 }, | |
| show: { opacity: 1, transition: { duration: 0.4 } }, | |
| }; | |