BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/bklit-ui/chart-utils

Chart Utilities

bklit-ui/chart-utils
FreeUtility

Shared Intl formatters, time-series decimation, and RAF tooltip scheduling for Bklit charts

Install it

npx shadcn@latest add https://bklit.com/r/chart-utils.json

Source

src/charts/chart-formatters.tsbklit.com/r/chart-utils.json
1export const shortDateFmt = new Intl.DateTimeFormat("en-US", {
2 month: "short",
3 day: "numeric",
4});
5
6export const weekdayDateFmt = new Intl.DateTimeFormat("en-US", {
7 weekday: "short",
8 month: "short",
9 day: "numeric",
10});
11
12export const hmsTimeFmt = new Intl.DateTimeFormat("en-US", {
13 hour: "2-digit",
14 minute: "2-digit",
15 second: "2-digit",
16 hour12: false,
17});
18
19// `Intl.NumberFormat.prototype.format` is a bound getter — safe to extract.
20export const intFmt = new Intl.NumberFormat("en-US").format;

Files it writes

  • src/charts/chart-formatters.ts
  • src/charts/decimate-time-series.ts
  • src/charts/use-scheduled-tooltip.ts

Facts

Registry
bklit-ui
Type
registry:lib
Access
Free
Files written
3
Licence
MIT
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

bklit.com bklit/bklit-ui on GitHub Raw registry item This item as JSON

More from bklit-ui

All 56 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Utilitiesutilsbklit-uiUtilitiesFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex