--- title: "Fade Animation | @animate" description: "Apply fade in or fade out animations to elements." keywords: ["animation", "fade", "opacity", "transition"] --- # Fade Animation Apply fade in or fade out animations to elements. Usage: - `@animate fade-in-*;` - `@animate fade-out-*;` This must be used with `enter` and `exit` animation to take the effect. This page contains only the **property configuration reference**. Complete documentation and usage examples will be added progressively in future updates. ---
## Reference ```js title="shilp.config.js" const shilpConfig = { source: "react", properties: { animate: { fade: { in: { property: "--entr-opct: ;", themeKey: "fractions", values: { DEFAULT: 1, }, }, out: { property: "--ext-opct: ;", themeKey: "fractions", values: { DEFAULT: 1, }, }, }, }, }, }; export default shilpConfig; ```