# svelte-transitions **Repository Path**: mirrors_sveltejs/svelte-transitions ## Basic Information - **Project Name**: svelte-transitions - **Description**: Officially supported transition plugins for Svelte - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-08-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## DEPRECATED — As of Svelte v3, transitions are built into the main package # svelte-transitions Officially supported transitions plugin for [Svelte](https://svelte.technology). Includes the following: * [fade](https://github.com/sveltejs/svelte-transitions-fade) * [fly](https://github.com/sveltejs/svelte-transitions-fly) * [slide](https://github.com/sveltejs/svelte-transitions-slide) * [draw](https://github.com/sveltejs/svelte-transitions-draw) ## Usage Install with npm or yarn: ```bash npm install --save svelte-transitions ``` Then add the plugins you need to your Svelte component's exported definition: ```html {{#if visible}}
hello!
{{/if}} ``` ## Tree-shaking If you're using a module bundler that supports tree-shaking, such as [Rollup](https://rollupjs.org), only the transitions your components use will be included in your app. ## Universal module definition If you *really* need it, a UMD build is available at [svelte-transitions/dist/svelte-transitions.js](https://unpkg.com/svelte-transitions/dist/svelte-transitions.js), and will register itself as `svelte.transitions`. We recommend using a module bundler instead, however. ## License [MIT](LICENSE)