<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sajad Entesari</title>
    <description>The latest articles on DEV Community by Sajad Entesari (@rmsjent).</description>
    <link>https://dev.to/rmsjent</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4252132%2Fc711583a-11ca-47b7-a1ba-a7ddf48419bb.png</url>
      <title>DEV Community: Sajad Entesari</title>
      <link>https://dev.to/rmsjent</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rmsjent"/>
    <language>en</language>
    <item>
      <title>13 free React components with motion, and the small rules that made them feel right</title>
      <dc:creator>Sajad Entesari</dc:creator>
      <pubDate>Thu, 19 Nov 2026 18:11:52 +0000</pubDate>
      <link>https://dev.to/rmsjent/13-free-react-components-with-motion-and-the-small-rules-that-made-them-feel-right-3gai</link>
      <guid>https://dev.to/rmsjent/13-free-react-components-with-motion-and-the-small-rules-that-made-them-feel-right-3gai</guid>
      <description>&lt;p&gt;We build websites for a living, and most of the motion we ship ends up locked inside client projects. So we pulled thirteen of our favourite patterns out, cleaned them up and put them online for free. They're called Republic UI, they're MIT licensed, and every one installs with a single shadcn command.&lt;/p&gt;

&lt;p&gt;You can try them all at &lt;strong&gt;&lt;a href="https://www.republicmarketing.co.uk/ui/" rel="noopener noreferrer"&gt;republicmarketing.co.uk/ui&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F75how8y51s0jycws0uq0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F75how8y51s0jycws0uq0.jpg" alt="Slat Shutter Hero" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What's in the set
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Slat Shutter Hero.&lt;/strong&gt; Scroll, and the cover photo splits into vertical slats that part from the centre outwards to reveal a second scene. The headline hands over line by line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Photo Deck.&lt;/strong&gt; A stack of prints you can drag, flick, or step through with the arrows and keyboard. Going back flies the last print in from the left instead of just swapping it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Timeline Scrubber.&lt;/strong&gt; Drag along a month ruler and the photos wipe in the direction you move, while the temperature rolls on digit reels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Testimonial Reel.&lt;/strong&gt; A quote, a portrait that slides up like a reel and a stat that rolls like an odometer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Morph Island.&lt;/strong&gt; A status pill that morphs from idle to uploading, done and a full preview.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fan Gallery.&lt;/strong&gt; Photo cards on an arc. Drag it, flick it, tap a side card or use the keys.&lt;/li&gt;
&lt;li&gt;Plus a facts hero, feature rows with live UI, a bento of mini interfaces, a torn-paper portrait scroll, a scroll-fill headline, a sector wheel and a scattered-photo about section.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjf04ybojj0xz8zkfp9mc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjf04ybojj0xz8zkfp9mc.jpg" alt="Fan Gallery" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;Add the registry to your &lt;code&gt;components.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"registries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"@republic"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://www.republicmarketing.co.uk/ui/r/{name}.json"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then add whatever you need:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx shadcn@latest add @republic/fan-gallery
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each component is one self-contained file. The only dependencies are &lt;code&gt;motion&lt;/code&gt;, &lt;code&gt;clsx&lt;/code&gt;, &lt;code&gt;tailwind-merge&lt;/code&gt; and, for a few, &lt;code&gt;lucide-react&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five rules we kept coming back to
&lt;/h2&gt;

&lt;p&gt;These came out of client feedback over the years, and they made more difference than any single effect.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Numbers roll, they never cross-fade.&lt;/strong&gt; If a figure changes, it moves on digit reels, fast at first and slow to land. Two values fading over each other reads as a glitch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. One focal point at a time.&lt;/strong&gt; When a new element takes over, the old one leaves properly. Dimmed leftovers peeking from the edge make a small space feel crowded.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. One easing curve, used everywhere.&lt;/strong&gt; Most of the set uses &lt;code&gt;cubic-bezier(0.42, 0, 0, 1)&lt;/code&gt;. Things that share a curve feel like they belong to the same product.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Every interaction has a keyboard path.&lt;/strong&gt; The deck, the timeline and the fan all work with arrow keys, and the timeline also takes Home and End. Autoplay pauses on hover and only runs while the component is on screen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Test the boring cases.&lt;/strong&gt; Rapid clicks, dragging a few pixels and letting go, resizing the window mid-animation, scrolling back up. Most of our fixes came from these, not from the happy path.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8exmjqkcq0tpp28k3wtr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8exmjqkcq0tpp28k3wtr.jpg" alt="Photo Deck" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Real images, not grey boxes
&lt;/h2&gt;

&lt;p&gt;Every demo uses original images made for the set, so the components look the way they will in a real build. The images are free to use with the components.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Live demos and install commands: &lt;a href="https://www.republicmarketing.co.uk/ui/" rel="noopener noreferrer"&gt;republicmarketing.co.uk/ui&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source on GitHub: &lt;a href="https://github.com/rm-sjent/republic-ui" rel="noopener noreferrer"&gt;rm-sjent/republic-ui&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Also on 21st.dev: &lt;a href="https://21st.dev/@sajad" rel="noopener noreferrer"&gt;21st.dev/@sajad&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you use one in a project, I'd love to see it. And if you want a whole site built with this level of care, that's what we do at &lt;a href="https://www.republicmarketing.co.uk/web-design-london" rel="noopener noreferrer"&gt;Republic Marketing&lt;/a&gt;, a web design agency in London and Birmingham.&lt;/p&gt;

</description>
      <category>react</category>
      <category>tailwindcss</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
