<?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: Ruslan Kriklivyy</title>
    <description>The latest articles on DEV Community by Ruslan Kriklivyy (@kriklivyy22).</description>
    <link>https://dev.to/kriklivyy22</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%2F1047223%2Fe7fa445b-cefc-46da-8ae5-1da039785fee.jpg</url>
      <title>DEV Community: Ruslan Kriklivyy</title>
      <link>https://dev.to/kriklivyy22</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kriklivyy22"/>
    <language>en</language>
    <item>
      <title>I built a headless timeline/Gantt for React — would love some feedback</title>
      <dc:creator>Ruslan Kriklivyy</dc:creator>
      <pubDate>Fri, 07 Aug 2026 14:45:50 +0000</pubDate>
      <link>https://dev.to/kriklivyy22/i-built-a-headless-timelinegantt-for-react-would-love-some-feedback-11da</link>
      <guid>https://dev.to/kriklivyy22/i-built-a-headless-timelinegantt-for-react-would-love-some-feedback-11da</guid>
      <description>&lt;p&gt;I needed a scheduling view for a project of mine, wanted it to stay fast with a lot of items and to look exactly like the rest of the app, so I ended up building the component myself. It turned into a library.&lt;/p&gt;

&lt;p&gt;Roadline — a headless, virtualized timeline/Gantt component for React. MIT, no runtime dependencies.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/@roadline/react" rel="noopener noreferrer"&gt;npm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/ruslankriklivyy/roadline" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://ruslankriklivyy.github.io/roadline/" rel="noopener noreferrer"&gt;Live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drag a bar to move it, drag its edges to resize, scroll to pan, ctrl/cmd + wheel to zoom. An item with no duration renders as a milestone.&lt;/p&gt;

&lt;p&gt;What's in it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Virtualized on both axes, with items indexed by time, so large boards stay smooth&lt;/li&gt;
&lt;li&gt;Headless — Sidebar, Header, Body, Grid, Dependencies, Marker are separate pieces you render or skip, and bars are render props. The default theme is an optional stylesheet built on CSS variables&lt;/li&gt;
&lt;li&gt;Dependency arrows between tasks (FS, SS, FF, SF)&lt;/li&gt;
&lt;li&gt;Nested items with roll-up bars, not just groups&lt;/li&gt;
&lt;li&gt;Any IANA time zone per instance, DST-correct&lt;/li&gt;
&lt;li&gt;Keyboard editing with screen reader announcements&lt;/li&gt;
&lt;li&gt;Fully controlled: the hook owns the viewport, you own the data. onItemMove is a request — nothing moves until your array does&lt;/li&gt;
&lt;li&gt;15 kB gzip for the React package, React 18 and 19, ESM + CJS, works in the Next.js App Router&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Worth knowing before you try it: it's at 0.2.0, so pin the version — I may still change things. It targets modern browsers only (ResizeObserver, PointerEvent, Intl.DateTimeFormat.formatToParts, none polyfilled). And headless means a custom look costs you a bit more code than a batteries-included Gantt would.&lt;/p&gt;

&lt;p&gt;Docs in the repo cover getting started, the API, recipes, theming, and there's a migration guide if you're coming from react-calendar-timeline.&lt;/p&gt;

&lt;p&gt;I'd really appreciate feedback — especially on how the dragging and zooming feel in the demo, and whether the API shape makes sense to you. Happy to answer anything in the comments.&lt;/p&gt;

</description>
      <category>react</category>
      <category>gantt</category>
      <category>javascript</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
