Skip to content
Back

Storage forecastPro

An Oxyn original: a fortnight of dot columns lit to each day's use, then ghost columns at the current pace up to the day the disk is full.

oxyn add storage-forecast
Disk forecastFull in about 78 days at 2.9 GB a day
Today288.2 GB · 56%
2 weeks agoToday+8 weeks
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Turn a fortnight of growth into one answer: when the disk is full at this pace.

When not to use

  • Disk use as a capacity bar of dots, one colour block per category, over a category grid: use Storage meter instead.
  • Skills and commands that ride along with each new chat, filtered by how long they sat unused: use Storage cleanup instead.
  • An Oxyn original: use Storage waffle instead.

Installation

Storage forecast is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add storage-forecast

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Default

Two weeks of dot columns, then ghost columns a week apart at the same pace; the top rows turn red.

Disk forecastFull in about 78 days at 2.9 GB a day
Today288.2 GB · 56%
2 weeks agoToday+8 weeks
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Fast

At 6 GB a day the ghosts reach the red rows within weeks.

Disk forecastFull in about 37 days at 6 GB a day
Today288.2 GB · 56%
2 weeks agoToday+8 weeks
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Slow

At 1 GB a day, with finer columns.

Disk forecastFull in about 223 days at 1 GB a day
Today288.2 GB · 56%
2 weeks agoToday+8 weeks
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

StorageForecast

PropTypeDefaultDescription
historyOption<Vec<f64>>Default::default()Used GB per day, oldest first (the demo fortnight when `None`).
capf64512.0Capacity in GB.
rowsusize12Dots per column.
aheadusize8Ghost columns ahead.
paceOption<f64>Default::default()GB a day for the ghost columns (the history's own pace when `None`).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
Pointer over a columnReads that day's use

Accessibility

  • The chart is an image labelled with the used space and the days until full.
  • The reading in the corner is a live region; the summary line is plain text.

Responsive behaviour

  • 460 px card; columns share the width and dots stay round.
Edge cases (spec)

460 px card; columns share the width, dots stay round.

Notes for AI

  • Import StorageForecast from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: StorageForecastEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI