Skip to main contentSkip to navigation

News Timeline

Display live financial news and market updates.

Installation

npx @hanzo/ui@latest add news-timeline

Usage

import { NewsTimeline } from "@hanzo/ui/finance"

export default function Demo() {
  return <NewsTimeline feedMode="all_symbols" colorTheme="dark" />
}

Props

PropTypeDefaultDescription
feedModestring"all_symbols"News feed filter mode
marketstring"crypto"Market to display news for
symbolstring-Specific symbol for news (optional)
widthstring | number"100%"Widget width
heightstring | number400Widget height
colorTheme"light" | "dark""dark"Color theme
localestring"en"Language locale
isTransparentbooleanfalseTransparent background