|Kit
Changelog

0.21.0

NavigationProgress loading bar; submenu end alignment and input slot icon fixes

NavigationProgress is a new top-of-page loading bar that takes one loading boolean and comes in palette colors or a gradient. A submenu that opens upward now lines up with its row, and components in an input slot keep their own icon size.

Spotlight

A loading bar for every navigation

Pass loading from your router and NavigationProgress makes up the rest: a fast load ends inside the 150ms delay and shows nothing, a slow one trickles toward 90% and slows down, and when loading turns false the bar runs to the end and fades out. It takes any palette color, or variant="gradient".

View NavigationProgress

Changes

  • added2
  • NavigationProgress

    New NavigationProgress: an nprogress-style bar at the top of the page that waits out fast loads, trickles toward 90% on slow ones and runs to the end when loading turns false

    #425
  • NavigationProgress

    variant="gradient" with gradient={{ from, via, to, dir }}, the same shape as Progress and Badge

    #425
  • fixed2
  • Menu

    A submenu that flips to open upward lines its last item up with its row instead of sitting 5px too high

    #426
  • InputKbd

    Components in an input slot keep their own icon size: a Kbd in endSlot no longer draws ⌘ at 16px, and a size-* class on a slotted icon now wins

    #427

On this page