<?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: Lucas de França</title>
    <description>The latest articles on DEV Community by Lucas de França (@luxonauta).</description>
    <link>https://dev.to/luxonauta</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%2F570897%2Fef24f43b-b6f4-4d5e-a58b-dda2e771da4b.png</url>
      <title>DEV Community: Lucas de França</title>
      <link>https://dev.to/luxonauta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luxonauta"/>
    <language>en</language>
    <item>
      <title>14 Best Fonts for Programming in 2026</title>
      <dc:creator>Lucas de França</dc:creator>
      <pubDate>Mon, 27 Jul 2026 19:55:07 +0000</pubDate>
      <link>https://dev.to/luxonauta/14-best-fonts-for-programming-in-2026-3f29</link>
      <guid>https://dev.to/luxonauta/14-best-fonts-for-programming-in-2026-3f29</guid>
      <description>&lt;p&gt;Five years ago we listed &lt;a href="https://draculatheme.com/blog/best-free-fonts-for-programming" rel="noopener noreferrer"&gt;14 free fonts for programming&lt;/a&gt;. A lot changed since then, so here are 14 more — free, variable, and ready for your editor, IDE, or terminal.&lt;/p&gt;

&lt;p&gt;From Google Sans Code and Geist Mono to lesser-known picks like Martian Mono and Datatype, with download links and a few notes on what makes each one worth a try.&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://draculatheme.com/blog/best-fonts-for-programming-2026" rel="noopener noreferrer"&gt;&lt;strong&gt;Read the full list&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Beyond Visual: Why We Should Be Using More Haptic Feedback on the Web</title>
      <dc:creator>Lucas de França</dc:creator>
      <pubDate>Thu, 27 Feb 2025 18:46:53 +0000</pubDate>
      <link>https://dev.to/luxonauta/beyond-visual-why-we-should-be-using-more-haptic-feedback-on-the-web-1adg</link>
      <guid>https://dev.to/luxonauta/beyond-visual-why-we-should-be-using-more-haptic-feedback-on-the-web-1adg</guid>
      <description>&lt;p&gt;Visual experiences dominate the web.&lt;/p&gt;

&lt;p&gt;Yet most people browse it on mobile devices with vibration motors built right in - and few web applications use &lt;strong&gt;haptic feedback&lt;/strong&gt; to enrich the experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why touch?
&lt;/h2&gt;

&lt;p&gt;Touch is our most immediate sense. Reaction-time studies consistently show that we respond to tactile stimuli faster than to visual ones, which is why a well-timed vibration feels instantaneous: when you tap an interface and feel it respond, your body registers the connection before your eyes do.&lt;/p&gt;

&lt;p&gt;We also rarely give our screens full attention. People use their phones while walking, carrying bags, and juggling other tasks &lt;em&gt;(Ng et al., 2017)&lt;/em&gt;, which makes feedback that doesn't depend on vision even more valuable.&lt;/p&gt;

&lt;p&gt;HCI research backs this up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tactile messages can convey information without requiring users to look at the screen (&lt;em&gt;Brewster and Brown, 2004&lt;/em&gt;);&lt;/li&gt;
&lt;li&gt;Adding tactile feedback to touchscreen keyboards helps people type faster and make fewer errors (&lt;em&gt;Hoggan et al., 2008&lt;/em&gt;);&lt;/li&gt;
&lt;li&gt;Wrist-worn devices that alert through vibration get noticed reliably, even when users are visually distracted (&lt;em&gt;Lee and Starner, 2010&lt;/em&gt;);&lt;/li&gt;
&lt;li&gt;Combining audio and touch feedback changes how people perceive and connect with an interface (&lt;em&gt;Seaborn and Antle, 2011&lt;/em&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Haptics also matter for accessibility. Blind users have clear preferences for touchscreen gestures and perform better with the ones designed around them (&lt;em&gt;Kane et al., 2013&lt;/em&gt;), and tactile feedback has proven useful even for tasks like authentication (&lt;em&gt;Kuber and Yu, 2010&lt;/em&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Announcing the &lt;code&gt;useVibration&lt;/code&gt; hook
&lt;/h2&gt;

&lt;p&gt;Many developers shy away from adding vibration because it seems complicated.&lt;/p&gt;

&lt;p&gt;It's actually pretty simple with the &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API" rel="noopener noreferrer"&gt;Vibration API&lt;/a&gt; — and to make it even simpler in React, I built the &lt;code&gt;useVibration&lt;/code&gt; hook:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;useVibration&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;VibrationPatterns&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@luxonauta/use-vibration&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;Component&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="nx"&gt;isSupported&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;isVibrating&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;vibrate&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;stop&lt;/span&gt; &lt;span class="p"&gt;}]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;useVibration&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;isSupported&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Vibration not supported on your device&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;p&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;

  &lt;span class="k"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;button&lt;/span&gt;
        &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"button"&lt;/span&gt;
        &lt;span class="na"&gt;onClick&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;vibrate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;VibrationPatterns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tap&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
        &lt;span class="na"&gt;disabled&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;isVibrating&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;isVibrating&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Vibrating&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Tap me for haptic feedback&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;button&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;isVibrating&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;button&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"button"&lt;/span&gt; &lt;span class="na"&gt;onClick&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nx"&gt;stop&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
          Stop Vibration
        &lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;button&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;&amp;lt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://github.com/luxonauta/use-vibration" rel="noopener noreferrer"&gt;&lt;strong&gt;GitHub&lt;/strong&gt;&lt;/a&gt; | &lt;a href="https://www.npmjs.com/package/@luxonauta/use-vibration" rel="noopener noreferrer"&gt;&lt;strong&gt;NPM&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The hook provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Support detection&lt;/strong&gt; - automatically identifies whether the device supports vibration;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Predefined patterns&lt;/strong&gt; - no need to create patterns from scratch;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Minimalist API&lt;/strong&gt; - a gentle learning curve;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TypeScript support&lt;/strong&gt; - type safety and auto-completion out of the box.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Some design and accessibility considerations
&lt;/h3&gt;

&lt;p&gt;When implementing haptic feedback:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Be unobtrusive&lt;/strong&gt; - keep vibrations subtle to avoid irritating users;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Be consistent&lt;/strong&gt; - the same pattern should always convey the same meaning;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Be optional&lt;/strong&gt; - let users turn haptic feedback off;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use in combination&lt;/strong&gt; - never rely solely on haptic feedback.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Current limitations
&lt;/h3&gt;

&lt;p&gt;Vibration support is still inconsistent across browsers and devices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Safari &lt;strong&gt;does not support&lt;/strong&gt; the Vibration API;&lt;/li&gt;
&lt;li&gt;Desktop browsers generally lack support;&lt;/li&gt;
&lt;li&gt;Some Android devices may ignore complex patterns.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;The hook's &lt;code&gt;isSupported&lt;/code&gt; check makes it easy to fall back to visual or auditory alternatives when needed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The future is multisensory
&lt;/h2&gt;

&lt;p&gt;Haptic feedback is an opportunity to build interfaces that feel more intuitive and accessible. As &lt;em&gt;Moyes and Jordan (2021)&lt;/em&gt; argue, interfaces that engage multiple senses can become a real competitive advantage.&lt;/p&gt;

&lt;p&gt;When we add thoughtful haptic feedback (or even sound) to our interfaces, we build apps that people remember and connect with on a deeper, more intuitive level. 🌱&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Ng, Brewster and Williamson (2017) - Study on how mobile device use is affected when occupied with other tasks.&lt;/li&gt;
&lt;li&gt;Brewster and Brown (2004) - How tactile messages (through vibration) can convey information without looking at the screen.&lt;/li&gt;
&lt;li&gt;Hoggan, Brewster and Johnston (2008) - Research on the effectiveness of tactile feedback on touchscreens.&lt;/li&gt;
&lt;li&gt;Lee and Starner (2010) - Study on wrist devices that alert through vibration.&lt;/li&gt;
&lt;li&gt;Seaborn and Antle (2011) - How audio and touch feedback can increase empathy.&lt;/li&gt;
&lt;li&gt;Kane, Wobbrock and Ladner (2013) - Useful gestures for blind people: preferences and performance.&lt;/li&gt;
&lt;li&gt;Kuber and Yu (2010) - Study on touch-based authentication.&lt;/li&gt;
&lt;li&gt;Moyes and Jordan (2021) - How interfaces using multiple senses can be a competitive advantage.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;This is my first one. If you have any suggestions or want to contribute, feel free to do so. I would appreciate it very much! 😊&lt;/p&gt;
&lt;/blockquote&gt;

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