Timeline

Work and study in groups, each under its own colour: where on the left, what and when on the right. Server-rendered.

Work

  1. A studio

    Full time

    Engineer

    to

    Builds the things in this library.

Study

  1. A university

    Degree

    to

Features

  • Groups (work, education, anything) under a heading in their own colour, set per group with tone.
  • A row per role: where and an optional badge on the left; the title, the dates and a description on the right.
  • One column in a container under 640px; no state, so it renders on the server.

Use it for

  • A CV or an about page.
  • Release history, project phases.

On this site

Installation

  1. Get runets.
    git clone https://github.com/ziyam-khan/runets
  2. Copy these files into your project, keeping their folders.
  3. Install what they use.
    pnpm add react
  4. Load the styles once. Bring your own base tokens, or use runets’ default theme.
    import 'runets/styles/theme.css'
    import 'runets/styles/kit.css'

API

PropTypeWhat it does
groups{ id, title, icon?, tone?, entries }[]tone is any CSS colour.
entries{ id, org, title, start, end?, badge?, description? }[]No end reads as present.
level2 | 3 | 4Heading level of the groups; entries take the next.
presentstringThe word for an open end.

Accessibility

Source

The code is in src/kit/timeline.tsx in runets, MIT licensed.