<?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: Andreu Pifarre</title>
    <description>The latest articles on DEV Community by Andreu Pifarre (@andreu_pifarre_929397e2bb).</description>
    <link>https://dev.to/andreu_pifarre_929397e2bb</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2687918%2F1091970d-37a1-4ecc-b526-8df48be7546d.png</url>
      <title>DEV Community: Andreu Pifarre</title>
      <link>https://dev.to/andreu_pifarre_929397e2bb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andreu_pifarre_929397e2bb"/>
    <language>en</language>
    <item>
      <title>Recreating Apple’s AirTag Landing Page in React + Tailwind (8‑min speed‑run)</title>
      <dc:creator>Andreu Pifarre</dc:creator>
      <pubDate>Sun, 03 Aug 2025 20:49:28 +0000</pubDate>
      <link>https://dev.to/andreu_pifarre_929397e2bb/recreating-apples-airtag-landing-page-in-react-tailwind-8-min-speed-run-3mp5</link>
      <guid>https://dev.to/andreu_pifarre_929397e2bb/recreating-apples-airtag-landing-page-in-react-tailwind-8-min-speed-run-3mp5</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Fv53bhr0mnkphpc9m0bs8.png" 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.amazonaws.com%2Fuploads%2Farticles%2Fv53bhr0mnkphpc9m0bs8.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Rebuilding Apple’s AirTag Page in React + Tailwind
&lt;/h2&gt;

&lt;p&gt;Apple’s product pages are great examples of clean design, subtle animation, and precise typography. Inspired by this, I set myself a challenge: &lt;strong&gt;could I recreate the AirTag landing page and present the process in under ten minutes?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The result is a pixel‑perfect build using &lt;strong&gt;React (Vite)&lt;/strong&gt; and &lt;strong&gt;Tailwind CSS&lt;/strong&gt;, documented in an &lt;strong&gt;eight‑minute speed‑run video&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why the AirTag Page?
&lt;/h2&gt;

&lt;p&gt;The official AirTag page opens with the tagline &lt;em&gt;“Lose your knack for losing things”&lt;/em&gt; and uses simple sections like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;“Ping it. Find it.”&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;“Precision Finding”&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;“Get by with a little help”&lt;/em&gt; (&lt;a href="https://www.apple.com/airtag" rel="noopener noreferrer"&gt;apple.com/airtag&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These elements make it a great UI challenge—&lt;strong&gt;minimal content but high polish&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Scaffolding&lt;/strong&gt; – Bootstrapped a Vite + React + TypeScript project and added Tailwind CSS.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Figma&lt;/strong&gt; – Created a layout in Figma inspired by Apple’s page and exported the assets. The Figma file is included in the repo’s &lt;code&gt;figma&lt;/code&gt; folder.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Components&lt;/strong&gt; – Each section (hero, feature cards, CTA) is a separate React component. Tailwind utility classes handle spacing, and typography.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Speed‑run video&lt;/strong&gt; – I recorded the build process and condensed it into a fast-paced video that runs just over eight minutes.&lt;/p&gt;




&lt;h2&gt;
  
  
  See It in Action
&lt;/h2&gt;

&lt;p&gt;🎬 &lt;a href="https://youtu.be/cXrOBLCQqkY" rel="noopener noreferrer"&gt;&lt;strong&gt;Watch the 8‑minute build video&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;
💻 &lt;a href="https://github.com/andreupifarre/apple-airtag" rel="noopener noreferrer"&gt;&lt;strong&gt;Browse the code on GitHub&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Lessons Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Utility‑first styling speeds things up&lt;/strong&gt; – Tailwind let me prototype quickly without leaving the markup.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Figma is a great source of truth&lt;/strong&gt; – Having a pixel‑perfect reference meant less guesswork.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback is invaluable&lt;/strong&gt; – I’m eager to hear from other front‑end devs—how would you enhance this?

&lt;ul&gt;
&lt;li&gt;Maybe add animations
&lt;/li&gt;
&lt;li&gt;Improve accessibility
&lt;/li&gt;
&lt;li&gt;Refactor the component structure?&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;p&gt;Feel free to share feedback in the comments or submit pull requests!&lt;/p&gt;

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