Skip to content

StockTicker

Domain

Stock quote header: symbol, name, price, change and % change, sparkline, key stats. sample:true labels illustrative data.

Props

Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.

PropTypeRequiredDescription
symbolstringYes-
namestringNoName shown as the main label.
pricenumberYes-
changenumberNo-
changePctnumberNo-
currencystringNoISO currency code used for formatting.
seriesnumber[]NoNumeric values for the sparkline.
stats{ label, value }[]No-
samplebooleanNoShows a Sample data badge when the numbers are illustrative.

Used by templates

Fixed-schema templates that include StockTicker. Try them in the playground.