<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fh="http://purl.org/syndication/history/1.0"><channel><title>Awesome Reveal | Blog</title><description>Scroll reveal animations for React, Vue, Astro and plain JavaScript. They use the Intersection Observer and Web Animations APIs and support reduced motion.</description><link>https://awesome-reveal.dev/</link><language>en</language><fh:complete/><atom:link rel="self" href="https://awesome-reveal.dev/blog/rss.xml"/><item><title>Awesome Reveal 1.0: scroll animations for React, Vue and Astro</title><link>https://awesome-reveal.dev/blog/awesome-reveal-1-0/</link><guid isPermaLink="true">https://awesome-reveal.dev/blog/awesome-reveal-1-0/</guid><description>Awesome Reveal 1.0 brings scroll reveal animations to React, Vue, Astro and plain JavaScript. It&apos;s built on native browser APIs, has no dependencies and supports reduced motion. It&apos;s on npm now.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Awesome Reveal 1.0 is out. It animates elements as they scroll into view: wrap an element in &lt;code dir=&quot;auto&quot;&gt;Reveal&lt;/code&gt;, and it fades in when it enters the viewport. It now works in React, Vue, Astro and plain JavaScript, and its core has no dependencies.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;New to Awesome Reveal?&lt;/strong&gt; &lt;a href=&quot;#scroll-reveal-demos&quot;&gt;Try the demos&lt;/a&gt;, then &lt;a href=&quot;#add-scroll-animations-in-react-vue-astro-or-javascript&quot;&gt;add it to your project&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Coming from &lt;code dir=&quot;auto&quot;&gt;react-awesome-reveal&lt;/code&gt; v4?&lt;/strong&gt; Read &lt;a href=&quot;#what-changed-from-react-awesome-reveal-v4&quot;&gt;what changed&lt;/a&gt;, then follow the &lt;a href=&quot;https://awesome-reveal.dev/guides/migrate-from-v4/&quot;&gt;Migrate from v4&lt;/a&gt; guide.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;h2 id=&quot;scroll-reveal-demos&quot;&gt;Scroll reveal demos&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Pick an entrance. The replay button plays it again, and the tabs show the code for each framework.&lt;/p&gt;
&lt;p data-markdown-ignore=&quot;&quot;&gt;&lt;em&gt;Open the post on the website to try the interactive demo.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://awesome-reveal.dev/guides/lists/&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;Cascade&lt;/code&gt;&lt;/a&gt; reveals its direct children one after another. Pick the interval between two children:&lt;/p&gt;
&lt;p data-markdown-ignore=&quot;&quot;&gt;&lt;em&gt;Open the post on the website to try the interactive demo.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If your system asks for reduced motion, the demos show the content at once, with no animation.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;add-scroll-animations-in-react-vue-astro-or-javascript&quot;&gt;Add scroll animations in React, Vue, Astro or JavaScript&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Install the package for your framework:&lt;/p&gt;
&lt;starlight-tabs data-sync-key=&quot;framework&quot;&gt;&lt;div&gt;&lt;ul role=&quot;tablist&quot;&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-0-0&quot; id=&quot;tab-0-0&quot; aria-selected=&quot;true&quot; tabindex=&quot;0&quot;&gt;React&lt;/a&gt;&lt;/li&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-0-1&quot; id=&quot;tab-0-1&quot; aria-selected=&quot;false&quot; tabindex=&quot;-1&quot;&gt;Vue&lt;/a&gt;&lt;/li&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-0-2&quot; id=&quot;tab-0-2&quot; aria-selected=&quot;false&quot; tabindex=&quot;-1&quot;&gt;Astro&lt;/a&gt;&lt;/li&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-0-3&quot; id=&quot;tab-0-3&quot; aria-selected=&quot;false&quot; tabindex=&quot;-1&quot;&gt;JavaScript&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-0-0&quot; aria-labelledby=&quot;tab-0-0&quot; role=&quot;tabpanel&quot;&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;span&gt;&lt;/span&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;pnpm&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;add&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;@awesome-reveal/react&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-0-1&quot; aria-labelledby=&quot;tab-0-1&quot; role=&quot;tabpanel&quot; hidden&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;span&gt;&lt;/span&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;pnpm&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;add&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;@awesome-reveal/vue&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-0-2&quot; aria-labelledby=&quot;tab-0-2&quot; role=&quot;tabpanel&quot; hidden&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;span&gt;&lt;/span&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;pnpm&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;add&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;@awesome-reveal/astro&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-0-3&quot; aria-labelledby=&quot;tab-0-3&quot; role=&quot;tabpanel&quot; hidden&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;span&gt;&lt;/span&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;pnpm&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;add&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;@awesome-reveal/core&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;starlight-tabs-restore&gt;&lt;/starlight-tabs-restore&gt;&lt;/starlight-tabs&gt;
&lt;p&gt;Then wrap an element in &lt;code dir=&quot;auto&quot;&gt;Reveal&lt;/code&gt;. With &lt;code dir=&quot;auto&quot;&gt;@awesome-reveal/core&lt;/code&gt;, call &lt;code dir=&quot;auto&quot;&gt;reveal()&lt;/code&gt; instead.&lt;/p&gt;
&lt;starlight-tabs data-sync-key=&quot;framework&quot;&gt;&lt;div&gt;&lt;ul role=&quot;tablist&quot;&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-1-0&quot; id=&quot;tab-1-0&quot; aria-selected=&quot;true&quot; tabindex=&quot;0&quot;&gt;React&lt;/a&gt;&lt;/li&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-1-1&quot; id=&quot;tab-1-1&quot; aria-selected=&quot;false&quot; tabindex=&quot;-1&quot;&gt;Vue&lt;/a&gt;&lt;/li&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-1-2&quot; id=&quot;tab-1-2&quot; aria-selected=&quot;false&quot; tabindex=&quot;-1&quot;&gt;Astro&lt;/a&gt;&lt;/li&gt;&lt;li role=&quot;presentation&quot;&gt;&lt;a role=&quot;tab&quot; href=&quot;#tab-panel-1-3&quot; id=&quot;tab-1-3&quot; aria-selected=&quot;false&quot; tabindex=&quot;-1&quot;&gt;JavaScript&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-1-0&quot; aria-labelledby=&quot;tab-1-0&quot; role=&quot;tabpanel&quot;&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;import&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; Reveal &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;@awesome-reveal/react&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;export&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;function&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;HeroTitle&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;span&gt;Hello&lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-1-1&quot; aria-labelledby=&quot;tab-1-1&quot; role=&quot;tabpanel&quot; hidden&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;script&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;setup&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;import&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; Reveal &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;@awesome-reveal/vue&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;script&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;template&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;span&gt;Hello&lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;template&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-1-2&quot; aria-labelledby=&quot;tab-1-2&quot; role=&quot;tabpanel&quot; hidden&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;---&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;import&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; Reveal &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;@awesome-reveal/astro&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;---&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;span&gt;Hello&lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;tab-panel-1-3&quot; aria-labelledby=&quot;tab-1-3&quot; role=&quot;tabpanel&quot; hidden&gt;&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;import&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; reveal &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;@awesome-reveal/core&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;reveal&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;h1&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;&lt;/div&gt;&lt;starlight-tabs-restore&gt;&lt;/starlight-tabs-restore&gt;&lt;/starlight-tabs&gt;
&lt;p&gt;When the element enters the viewport, it fades in and moves up 24 pixels. The &lt;a href=&quot;https://awesome-reveal.dev/getting-started/&quot;&gt;Get started&lt;/a&gt; page covers every step and the &lt;a href=&quot;https://awesome-reveal.dev/getting-started/#requirements&quot;&gt;requirements&lt;/a&gt;. For framework setup, see the &lt;a href=&quot;https://awesome-reveal.dev/frameworks/nextjs/&quot;&gt;Next.js&lt;/a&gt;, &lt;a href=&quot;https://awesome-reveal.dev/frameworks/vue-ssr-nuxt/&quot;&gt;Vue SSR and Nuxt&lt;/a&gt; and &lt;a href=&quot;https://awesome-reveal.dev/frameworks/astro/&quot;&gt;Astro&lt;/a&gt; pages.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;why-awesome-reveal-10-is-a-rewrite&quot;&gt;Why Awesome Reveal 1.0 is a rewrite&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;&lt;code dir=&quot;auto&quot;&gt;react-awesome-reveal&lt;/code&gt; v4 worked only in React. It built its CSS animations with Emotion and had one component per effect: &lt;code dir=&quot;auto&quot;&gt;Fade&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;Slide&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;Zoom&lt;/code&gt; and more. It already used the Intersection Observer API to find elements that enter the viewport. Today, the Web Animations API can play the entrance too, so the library doesn’t need CSS-in-JS anymore.&lt;/p&gt;
&lt;p&gt;So I rewrote it on these two browser APIs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;One core for every framework.&lt;/strong&gt; The React, Vue and Astro packages share the same core, so the options and the animations behave the same everywhere.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A smaller API.&lt;/strong&gt; &lt;code dir=&quot;auto&quot;&gt;Reveal&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;Cascade&lt;/code&gt; replace the effect components, and the &lt;code dir=&quot;auto&quot;&gt;from&lt;/code&gt; option picks the entrance.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No dependencies.&lt;/strong&gt; The core doesn’t use Emotion or any other package.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The new packages are published as &lt;code dir=&quot;auto&quot;&gt;@awesome-reveal/*&lt;/code&gt;, and &lt;code dir=&quot;auto&quot;&gt;react-awesome-reveal&lt;/code&gt; v5 re-exports &lt;code dir=&quot;auto&quot;&gt;@awesome-reveal/react&lt;/code&gt;.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;why-choose-awesome-reveal&quot;&gt;Why choose Awesome Reveal&lt;/h2&gt;&lt;/div&gt;
&lt;div&gt;&lt;h3 id=&quot;a-small-core-with-no-dependencies&quot;&gt;A small core with no dependencies&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;With &lt;code dir=&quot;auto&quot;&gt;reveal()&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;cascade()&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;@awesome-reveal/core&lt;/code&gt; adds less than 2 kB gzipped to your bundle. The measurement doesn’t include the React, Vue and Astro packages. Here’s &lt;a href=&quot;https://awesome-reveal.dev/concepts/performance/#bundle-size&quot;&gt;how I measure the size&lt;/a&gt;.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;the-same-api-in-react-vue-and-astro&quot;&gt;The same API in React, Vue and Astro&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;Each framework package has a &lt;code dir=&quot;auto&quot;&gt;Reveal&lt;/code&gt; and a &lt;code dir=&quot;auto&quot;&gt;Cascade&lt;/code&gt;, and the JavaScript package has the &lt;code dir=&quot;auto&quot;&gt;reveal()&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;cascade()&lt;/code&gt; functions. The entrance and viewport options, such as &lt;code dir=&quot;auto&quot;&gt;from&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;duration&lt;/code&gt; and &lt;code dir=&quot;auto&quot;&gt;threshold&lt;/code&gt;, have the same names and defaults in every package. The &lt;a href=&quot;https://awesome-reveal.dev/reference/options/#where-you-can-use-each-option&quot;&gt;Options&lt;/a&gt; page shows where each option works. The &lt;a href=&quot;https://awesome-reveal.dev/reference/react/&quot;&gt;React API&lt;/a&gt;, &lt;a href=&quot;https://awesome-reveal.dev/reference/vue/&quot;&gt;Vue API&lt;/a&gt;, &lt;a href=&quot;https://awesome-reveal.dev/reference/astro/&quot;&gt;Astro API&lt;/a&gt; and &lt;a href=&quot;https://awesome-reveal.dev/reference/javascript/&quot;&gt;JavaScript API&lt;/a&gt; pages list the hooks, directives and functions of each one.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;fade-slide-zoom-and-blur-entrances&quot;&gt;Fade, slide, zoom and blur entrances&lt;/h3&gt;&lt;/div&gt;
&lt;p&gt;The &lt;a href=&quot;https://awesome-reveal.dev/reference/options/#from&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;from&lt;/code&gt;&lt;/a&gt; option sets where the entrance starts. A side, such as &lt;code dir=&quot;auto&quot;&gt;&quot;left&quot;&lt;/code&gt;, fades the element in and moves it 24 pixels. An object gives you a zoom, a rotation or a blur:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;figcaption&gt;&lt;/figcaption&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;import&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; Reveal &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;@awesome-reveal/react&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;left&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;span&gt;Slide in from the left&lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt;={{&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;opacity&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;scale&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0.8&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;}}&gt;&lt;/span&gt;&lt;span&gt;Zoom in&lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;from&lt;/span&gt;&lt;span&gt;={{&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;opacity&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;blur&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;}}&gt;&lt;/span&gt;&lt;span&gt;Blur in&lt;/span&gt;&lt;span&gt;&amp;#x3C;/&lt;/span&gt;&lt;span&gt;Reveal&lt;/span&gt;&lt;span&gt;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Need another effect? Pass an array of &lt;a href=&quot;https://awesome-reveal.dev/guides/keyframes/&quot;&gt;native keyframes&lt;/a&gt;. The &lt;a href=&quot;https://awesome-reveal.dev/guides/entrances/&quot;&gt;Choose the entrance&lt;/a&gt; guide has more examples.&lt;/p&gt;
&lt;div&gt;&lt;h3 id=&quot;server-rendering-accessibility-and-performance&quot;&gt;Server rendering, accessibility and performance&lt;/h3&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Server rendering.&lt;/strong&gt; The React, Vue and Astro packages hide the content in the server HTML, so it doesn’t flash before the script runs. If no script attaches the element within 5 seconds, the content shows anyway. See &lt;a href=&quot;https://awesome-reveal.dev/concepts/server-rendering/&quot;&gt;Server rendering without a flash&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Reduced motion.&lt;/strong&gt; If the user asks for reduced motion, the content shows at once, with no animation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Keyboard focus and print.&lt;/strong&gt; Content shows when it gets the keyboard focus, and when you print the page. See &lt;a href=&quot;https://awesome-reveal.dev/concepts/accessibility/&quot;&gt;Accessible scroll animations&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Smooth animations.&lt;/strong&gt; No code listens to scroll events, and the default entrances animate only properties that the compositor runs. See &lt;a href=&quot;https://awesome-reveal.dev/concepts/performance/&quot;&gt;Scroll animation performance&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;h3 id=&quot;manual-control-agent-skills-and-typescript&quot;&gt;Manual control, agent skills and TypeScript&lt;/h3&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Manual control and events.&lt;/strong&gt; In React, Vue and Astro, the &lt;code dir=&quot;auto&quot;&gt;when&lt;/code&gt; option reveals an element from your own state, and a reveal event runs your code when the element reveals. See &lt;a href=&quot;https://awesome-reveal.dev/guides/manual-control/&quot;&gt;Trigger reveal animations manually&lt;/a&gt; and &lt;a href=&quot;https://awesome-reveal.dev/guides/reveal-events/&quot;&gt;Run code when an element reveals&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Skills for coding agents.&lt;/strong&gt; Each package includes skills for coding agents, such as Claude Code or Codex. For example, the migration skill tells the agent to replace the v4 &lt;code dir=&quot;auto&quot;&gt;cascade&lt;/code&gt; prop with &lt;code dir=&quot;auto&quot;&gt;Cascade&lt;/code&gt;, and to set &lt;code dir=&quot;auto&quot;&gt;interval&lt;/code&gt; to the v4 &lt;code dir=&quot;auto&quot;&gt;duration * damping&lt;/code&gt;. See &lt;a href=&quot;https://awesome-reveal.dev/guides/ai-agents/&quot;&gt;AI coding agent skills and llms.txt&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;TypeScript and ES modules.&lt;/strong&gt; The packages include their own TypeScript types, and they’re ES modules only.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;h2 id=&quot;when-to-choose-awesome-reveal&quot;&gt;When to choose Awesome Reveal&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Awesome Reveal fits landing pages, marketing sites, docs and other content pages that need entrance animations and staggered lists. By default, each entrance plays once, when the element scrolls into view. The &lt;a href=&quot;https://awesome-reveal.dev/guides/manual-control/#play-the-entrance-again&quot;&gt;&lt;code dir=&quot;auto&quot;&gt;when&lt;/code&gt;&lt;/a&gt; option can play it again. For animations linked to the scroll position, use &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Scroll-driven_animations&quot;&gt;CSS scroll-driven animations&lt;/a&gt;. For exit animations and timelines of many steps, use a general animation library.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;what-changed-from-react-awesome-reveal-v4&quot;&gt;What changed from react-awesome-reveal v4&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Version 1.0 changes the API on purpose. Here are the main changes for React code:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;react-awesome-reveal v4&lt;/th&gt;
&lt;th&gt;Awesome Reveal 1.0&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;Fade&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;Slide&lt;/code&gt;, &lt;code dir=&quot;auto&quot;&gt;Zoom&lt;/code&gt; and the other effects&lt;/td&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;Reveal&lt;/code&gt;, with &lt;code dir=&quot;auto&quot;&gt;from&lt;/code&gt; or native &lt;code dir=&quot;auto&quot;&gt;keyframes&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Emotion &lt;code dir=&quot;auto&quot;&gt;keyframes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Native keyframe objects&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The &lt;code dir=&quot;auto&quot;&gt;cascade&lt;/code&gt; prop&lt;/td&gt;
&lt;td&gt;The &lt;code dir=&quot;auto&quot;&gt;Cascade&lt;/code&gt; component&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;damping&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;interval&lt;/code&gt; on &lt;code dir=&quot;auto&quot;&gt;Cascade&lt;/code&gt;, in milliseconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;fraction&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;threshold&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;triggerOnce&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Removed. By default, the entrance plays once.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;onVisibilityChange&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;onReveal&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A &lt;code dir=&quot;auto&quot;&gt;duration&lt;/code&gt; of 1000 milliseconds&lt;/td&gt;
&lt;td&gt;A &lt;code dir=&quot;auto&quot;&gt;duration&lt;/code&gt; of 600 milliseconds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code dir=&quot;auto&quot;&gt;reverse&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Removed. Version 1.0 has no exit animations.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;code dir=&quot;auto&quot;&gt;Reveal&lt;/code&gt; also renders one element around its children, and one observer watches that element. Version 4 wrapped each element child in a &lt;code dir=&quot;auto&quot;&gt;div&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;To upgrade, install &lt;code dir=&quot;auto&quot;&gt;@awesome-reveal/react&lt;/code&gt;, or &lt;code dir=&quot;auto&quot;&gt;react-awesome-reveal&lt;/code&gt; v5 if you want to keep the old import path. &lt;a href=&quot;https://awesome-reveal.dev/guides/migrate-from-v4/#choose-the-package&quot;&gt;Choose the package&lt;/a&gt; compares the two. The &lt;a href=&quot;https://awesome-reveal.dev/guides/migrate-from-v4/&quot;&gt;Migrate from v4&lt;/a&gt; guide goes through each step, with the v4 position of each effect. The &lt;a href=&quot;https://awesome-reveal.dev/v4/&quot;&gt;v4 docs&lt;/a&gt; stay online.&lt;/p&gt;
&lt;div&gt;&lt;h2 id=&quot;get-started-with-awesome-reveal&quot;&gt;Get started with Awesome Reveal&lt;/h2&gt;&lt;/div&gt;
&lt;p&gt;Start with the &lt;a href=&quot;https://awesome-reveal.dev/getting-started/&quot;&gt;Get started&lt;/a&gt; page. It also has a prompt that you can give your coding agent, so it adds the animations for you.&lt;/p&gt;
&lt;p&gt;The code is on &lt;a href=&quot;https://github.com/awesome-reveal/awesome-reveal&quot;&gt;GitHub&lt;/a&gt;, under the MIT license. I’d like to hear what works and what doesn’t, so tell me in &lt;a href=&quot;https://github.com/awesome-reveal/awesome-reveal/discussions&quot;&gt;GitHub Discussions&lt;/a&gt;. To follow the next updates, subscribe to the &lt;a href=&quot;https://awesome-reveal.dev/blog/rss.xml&quot;&gt;RSS feed of this blog&lt;/a&gt;.&lt;/p&gt;</content:encoded><category>Release</category></item></channel></rss>