BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/Kibo UI Registry/ticker

ticker

kibo-ui-registry/ticker
FreeComponent

A composable finance ticker for displaying symbols, prices and changes.

Live preview

live · rendered by the registry
Rendered by Kibo UI Registry on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.kibo-ui.com/r/ticker.json

Source

index.tsxwww.kibo-ui.com/r/ticker.json
1"use client";
2
3import type { HTMLAttributes, ReactNode } from "react";
4import { createContext, memo, useContext, useMemo } from "react";
5import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
6import { cn } from "@/lib/utils";
7
8type TickerContextValue = {
9 formatter: Intl.NumberFormat;
10};
11
12const DEFAULT_CURRENCY = "USD";
13const DEFAULT_LOCALE = "en-US";
14
15const defaultFormatter = new Intl.NumberFormat(DEFAULT_LOCALE, {
16 style: "currency",
17 currency: DEFAULT_CURRENCY,
18 minimumFractionDigits: 2,
19 maximumFractionDigits: 2,
20});
21
22const TickerContext = createContext<TickerContextValue>({
23 formatter: defaultFormatter,
24});
25
26export const useTickerContext = () => useContext(TickerContext);
27
28export type TickerProps = HTMLAttributes<HTMLButtonElement> & {
29 currency?: string;
30 locale?: string;
31};
32
33export const Ticker = memo(
34 ({
35 children,
36 className,
37 currency = DEFAULT_CURRENCY,
38 locale = DEFAULT_LOCALE,
39 ...props
40 }: TickerProps & { children: ReactNode }) => {
41 const formatter = useMemo(() => {
42 try {
43 return new Intl.NumberFormat(locale, {
44 style: "currency",
45 currency: currency.toUpperCase(),
46 minimumFractionDigits: 2,
47 maximumFractionDigits: 2,
48 });
49 } catch {
50 return defaultFormatter;
51 }
52 }, [currency, locale]);
53
54 return (
55 <TickerContext.Provider value={{ formatter }}>
56 <button
57 className={cn(
58 "inline-flex items-center gap-1.5 whitespace-nowrap align-middle",
59 className
60 )}
61 type="button"
62 {...props}
63 >
64 {children}
65 </button>
66 </TickerContext.Provider>
67 );
68 }
69);
70Ticker.displayName = "Ticker";
71
72export type TickerIconProps = HTMLAttributes<HTMLImageElement> & {
73 src?: string;
74 symbol?: string;
75 asChild?: boolean;
76};
77
78export const TickerIcon = memo(
79 ({
80 src,
81 symbol,
82 className,
83 asChild,
84 children,
85 ...props
86 }: TickerIconProps) => {
87 if (asChild) {
88 return (
89 <div
90 className={cn(
91 "overflow-hidden rounded-full border border-border bg-muted",
92 className
93 )}
94 >
95 {children}
96 </div>
97 );
98 }
99
100 return (
101 <Avatar className={cn("size-7 border border-border bg-muted", className)}>
102 <AvatarImage src={src} {...props} />
103 <AvatarFallback className="font-semibold text-muted-foreground text-sm">
104// … truncated

What it pulls in

Other registry items

  • avatar

Files it writes

  • index.tsx

Facts

Registry
Kibo UI Registry
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-08
Last confirmed
today

Go to the source

Docs on Kibo UI Registry www.kibo-ui.com Raw registry item This item as JSON

More from Kibo UI Registry

All 41 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
announcementannouncementKibo UI RegistryComponentsFreeno deps
avatar-stackavatar-stackKibo UI RegistryComponentsFreeno deps
bannerbannerKibo UI RegistryComponentsFree2 deps
calendarcalendarKibo UI RegistryComponentsFree3 deps
choiceboxchoiceboxKibo UI RegistryComponentsFree2 deps
code-blockcode-blockKibo UI RegistryComponentsFree5 deps · 2 files
color-pickercolor-pickerKibo UI RegistryComponentsFree3 deps
comboboxcomboboxKibo UI RegistryComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex