# RollingNumber A numeric display that animates value changes with rolling digits. ## Import ```tsx import { RollingNumber } from '@coinbase/cds-web/numbers/RollingNumber' ``` ## Examples ### Basic Example RollingNumber displays changing numeric values with a smooth per-digit roll animation and optional color pulse. It supports full `Intl.NumberFormat` options, custom typography, ReactNode prefixes/suffixes, and accessibility. Pass a number in the `value` prop. Use the `format` prop for Intl formatting (currency, percent, grouping, compact) instead of pre-formatting the string yourself. ```tsx live function Example() { const values = [12345.67, 123340.011, 1220340.0123]; const [valIdx, setValIdx] = useState(0); return ( ); } ``` ### Example Use Case ```tsx live function Examples() { const [price, setPrice] = useState(12345.67); const [difference, setDifference] = useState(0); const onNext = () => setPrice((p) => { const delta = (Math.random() - 0.5) * 200; // +/- 100 const next = Math.max(0, p + delta); const newPrice = Math.round(next * 100) / 100; setDifference(newPrice - p); return newPrice; }); const trendColor = difference >= 0 ? 'fgPositive' : 'fgNegative'; return ( Portfolio Balance 0 ? 'up ' : difference < 0 ? 'down ' : ''} color={trendColor} font="body" format={{ style: 'currency', currency: 'USD', minimumFractionDigits: 2, maximumFractionDigits: 2, }} prefix={ difference >= 0 ? ( ) : ( ) } styles={{ prefix: { paddingRight: 'var(--space-1)', }, }} suffix={`(${((Math.abs(difference) / price) * 100).toFixed(2)}%)`} value={Math.abs(difference)} /> BTC Conversion ); } ``` ### Formatting Use `format` prop for currency, percent, grouping, and compact notation formatting. The `format` prop takes in `Intl.NumberFormat` [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options). ```tsx live function Example() { const [value, setValue] = React.useState(92345.67); const onNext = () => setValue((v) => v * 13.5); return ( Compact number with currency sign

Number without grouping
); } ``` ### Typography RollingNumber forwards all Text props, but only character-level typographic props (e.g., `font`, `fontFamily`, `fontSize`, `fontWeight`, `lineHeight`, `tabularNumbers`, `color`) are meaningful for its per-digit rendering. Layout/container props may have no effect—use them judiciously. ```tsx live function Example() { const [price, setPrice] = React.useState(9876.54); const onNext = () => setPrice((p) => Math.max(0, Math.round((p + (Math.random() - 0.5) * 100) * 100) / 100)); return ( Font sizes, weights, and line heights Responsive font (phone, tablet, desktop) Tabular numbers vs non-tabular ); } ``` ::::tip Alignment Keep `tabularNumbers` enabled (default) to avoid horizontal width shifting as digits change. :::: ### Color and Transition Customize color and motion. Configure `y` to control the digit roll, and `color` for the pulse. ##### `transition` prop - Type: `{ y?: Transition; color?: Transition }` (framer-motion `Transition`) - Optional `type`: `'tween' | 'spring' | 'inertia'`; defaults to `'tween'` if not provided - Default: `{ y: { duration: durations.moderate3 / 1000, ease: curves.global }, color: { duration: durations.slow4 / 1000, ease: curves.global } }` ```tsx live function Example() { const [price, setPrice] = React.useState(555.55); const onNext = () => setPrice((p) => Math.max(0, Math.round((p + (Math.random() - 0.5) * 50) * 100) / 100)); return ( Color pulse and custom transition Customize positive and negative change colors Fast digits, slow color Springy digits Custom easings ); } ``` ### Digit Transition Variants RollingNumber supports two digit transition styles via the `digitTransitionVariant` prop: - **`'every'`** (default): Rolls through every intermediate digit (e.g., 1→2→3→...→9). - **`'single'`**: Rolls directly to the new digit without showing intermediates. Direction (up/down) is based on the total value change. ```tsx live function Example() { const [price, setPrice] = React.useState(12345.67); const [variant, setVariant] = React.useState<'every' | 'single'>('single'); const onIncrease = () => setPrice((p) => Math.round((p + Math.random() * 500 + 100) * 100) / 100); const onDecrease = () => setPrice((p) => Math.max(0, Math.round((p - Math.random() * 500 - 100) * 100) / 100)); const onRandom = () => setPrice((p) => { const delta = (Math.random() - 0.5) * 1000; return Math.max(0, Math.round((p + delta) * 100) / 100); }); return ( Digit transition variant: {variant} ); } ``` #### Variant comparison ```tsx live function Example() { const [price, setPrice] = React.useState(98765.43); const onNext = () => setPrice((p) => { const delta = (Math.random() - 0.5) * 2000; return Math.max(0, Math.round((p + delta) * 100) / 100); }); return ( Every variant (default) Single variant ); } ``` ::::tip Direction-aware animation The single variant determines scroll direction based on the **total value change**, not individual digit changes. When the value increases, digits roll up (new digits enter from below). When the value decreases, digits roll down (new digits enter from above). This matches the behavior of the color pulse feature. :::: ### Prefix and Suffix Attach text or React nodes before/after the number to create rich compositions. If the prefix/suffix is a string, it will pulse color together with the main number. ```tsx live function Example() { const values = [98345.67, 91345.67, 123450.123, 1234512.88]; const textPrefixes = ['+', '-', '']; const textSuffixes = [' BTC', ' ETH', '']; const iconPrefixes = [ , , null, ]; const iconSuffixes = [ , , null, ]; const [idx, setIdx] = React.useState(0); const onNext = () => setIdx((i) => (i + 1) % values.length); const value = values[idx]; const format = { style: 'currency' as const, currency: 'USD', minimumFractionDigits: 2, maximumFractionDigits: 5, }; return ( Simple text prefix and suffix ReactNode prefix and suffix ); } ``` ```tsx live function SubscriptionPriceExample() { const [yearly, setYearly] = React.useState(false); const price = yearly ? 199 : 19; const suffix = yearly ? '/yr' : '/mo'; return ( ); } ``` ::::tip Accessibility When using React nodes for `prefix`/`suffix`, provide an `accessibilityLabel` or use `accessibilityLabelPrefix`/`accessibilityLabelSuffix` so screen readers announce a descriptive string. :::: ### Style Overrides Customize the look of each logical section (`i18nPrefix`, `integer`, `fraction`, `i18nSuffix`, `prefix`, `suffix`). ```tsx live function Example() { const [price, setPrice] = React.useState(12345.67); const onNext = () => { setPrice((p) => Math.max(0, Math.round((p + (Math.random() - 0.5) * 200) * 100) / 100)); }; return ( Customize per-section styles ); } ``` ### Subscript Notation for Tiny Decimals Enable `enableSubscriptNotation` to compactly represent leading zeros in the fractional part. ```tsx live function Example() { const values = [0.0000000001, 0.00009, 0.000012, 0.0000001, 0.000000000000000000000011]; const [idx, setIdx] = React.useState(0); const value = values[idx]; const format = { minimumFractionDigits: 2, maximumFractionDigits: 25 }; return ( Subscript examples Default: With subscript: {(['display1', 'title3', 'body'] as const).map((fontKey) => ( ))} ); } ``` ### User-Provided Formatted Value You can also provide `formattedValue`, and the component will render `formattedValue` directly instead of using the internal formatter. The numeric `value` is still required to drive animations and color pulse. ```tsx live function Example() { const btcPrices = [ { value: 98765.43, formattedValue: '¥98,765.43 BTC' }, { value: 931.42, formattedValue: '$931.42 BTC' }, { value: 100890.56, formattedValue: '¥100,890.56 BTC' }, { value: 149432.12, formattedValue: '¥149,432.12 BTC' }, { value: 150321.23, formattedValue: '¥150,321.23 BTC' }, ]; const subscripts = [ { value: 0.0000000001, formattedValue: '€0,0₉1', accessibilityLabel: '€0.0000000001' }, { value: 0.00009, formattedValue: '€0,0₄9', accessibilityLabel: '€0.00009' }, { value: 0.000012, formattedValue: '€0,0₄12', accessibilityLabel: '€0.000012' }, { value: 0.0000001, formattedValue: '€0,0₆1', accessibilityLabel: '€0.0000001' }, { value: 0.000000000000000000000011, formattedValue: '€0,0₂₂11', accessibilityLabel: '€0.000000000000000000000011', }, ]; const [idx, setIdx] = React.useState(0); const onNext = () => setIdx((i) => (i + 1) % 5); return ( User-provided formatted value BTC prices } value={btcPrices[idx].value} /> Subscripts with a comma as the decimal separator ); } ``` ::::tip Accessibility and formattedValue When you provide `formattedValue`, the `accessibilityLabel` will default to your `formattedValue`. However, what’s rendered on screen is not always ideal for accessibility. For example, the subscript notation '0₉' may be announced as '09'. Provide your own `accessibilityLabel` as needed. :::: ### Patterns & Recipes Practical demos combining formatting, animation, and interactivity. #### Counter ```tsx live function CounterExample() { const [count, setCount] = React.useState(0); return ( setCount((c) => Math.max(0, c - 1))} /> setCount((c) => c + 1)} /> ); } ``` #### Countdown ```tsx live function CountDownExample() { const pad = (n: number) => String(n).padStart(2, '0'); const totalSeconds = 5 * 60; const [seconds, setSeconds] = React.useState(totalSeconds); const [running, setRunning] = React.useState(false); React.useEffect(() => { if (!running) return; const id = setInterval(() => { setSeconds((prev) => { if (prev <= 1) { clearInterval(id); return 0; } return prev - 1; }); }, 1000); return () => clearInterval(id); }, [running]); const minutes = Math.floor(seconds / 60); const secs = seconds % 60; const formatted = `${pad(minutes)}:${pad(secs)}`; const onReset = () => setSeconds(totalSeconds); const progress = Math.max(0, Math.min(1, (totalSeconds - seconds) / totalSeconds)); return ( Countdown with percent ); } ``` #### Live Auction ```tsx live function LiveBiddingExample() { const [currentBid, setCurrentBid] = useState(45000); const [bidCount, setBidCount] = useState(23); const [timeLeft, setTimeLeft] = useState(180); React.useEffect(() => { const timer = setInterval(() => { setTimeLeft((t) => Math.max(0, t - 1)); }, 1000); return () => clearInterval(timer); }, []); const placeBid = (increment: number) => { setCurrentBid((b) => b + increment); setBidCount((c) => c + 1); }; const minutes = Math.floor(timeLeft / 60); const seconds = timeLeft % 60; return ( Current Bid bids placed remaining ); } ``` #### Social Media Statistics ```tsx live function StatisticsExample() { const [views, setViews] = useState(1234567); const [likes, setLikes] = useState(89432); const [shares, setShares] = useState(12789); const [downloads, setDownloads] = useState(567890); const simulateActivity = () => { setViews((v) => v + Math.floor(Math.random() * 1000)); setLikes((l) => l + Math.floor(Math.random() * 200)); setShares((s) => s + Math.floor(Math.random() * 100)); setDownloads((d) => d + Math.floor(Math.random() * 500)); }; return ( Views } styles={{ prefix: { paddingRight: 'var(--space-0_5)' } }} value={likes} /> Likes Shares Downloads ); } ``` ### Anatomy & Customization RollingNumber is composed of small, swappable subcomponents and exposes granular className/style hooks for each section of the number. Use these to customize structure and styling or to plug in your own components. #### Subcomponents - **RollingNumberMaskComponent**: Component used to mask the animated digit content. - **RollingNumberAffixSectionComponent**: Component used to render ReactNode `prefix` / `suffix` props. - **RollingNumberValueSectionComponent**: Component used to render the four `Intl.NumberFormat` sections (`i18nPrefix`, `integer`, `fraction`, `i18nSuffix`). - **RollingNumberDigitComponent**: Component used to render the per-digit roll animation. - **RollingNumberSymbolComponent**: Component used to render non-digit symbols (group separators, decimal, literals, etc.). You can replace any of these with your own components via props: ```tsx ``` #### Class name overrides Use `classNames` to target specific parts for CSS styling (Linaria or your own classes): - **root**: Outer container (`Text` root) - **visibleContent**: Motion-wrapped span containing the visible number (color animation lives here) - **formattedValueSection**: Container around the four i18n sections - **i18nPrefix**: Section generated by `Intl.NumberFormat` before the number - **integer**: Integer part of the number - **fraction**: Fractional part of the number - **i18nSuffix**: Section generated by `Intl.NumberFormat` after the number - **prefix**: Wrapper around your `prefix` prop - **suffix**: Wrapper around your `suffix` prop - **text**: `Text` element used for digits, separators, prefix, and suffix #### Style overrides Use `styles` to inline style specific parts: - **root**, **visibleContent**, **formattedValueSection**, **i18nPrefix**, **integer**, **fraction**, **i18nSuffix**, **prefix**, **suffix**, **text** `styles.text` applies to the shared `Text` component that renders digits, symbols, prefix, and suffix. #### Structure diagrams High-level anatomy of RollingNumber and its sections: ```text RollingNumber (root: Text) ├── screenReaderOnly (hidden a11y text) └── (visibleContent) ├── AffixSection (prefix) ← your ReactNode prefix ├── HStack (formattedValueSection) │ ├── ValueSection (i18nPrefix) │ ├── ValueSection (integer) │ ├── ValueSection (fraction) │ └── ValueSection (i18nSuffix) └── AffixSection (suffix) ← your ReactNode suffix ``` Per-digit rendering inside a ValueSection: ```text ValueSection ├── Symbol(s) (e.g., currency, group, decimal) └── Digit(s) └── Mask └── DigitContainer (animated) ├── non-active digits above (positioned) ├── active digit (centered) └── non-active digits below (positioned) ``` ## Props | Prop | Type | Required | Default | Description | | --- | --- | --- | --- | --- | | `value` | `number` | Yes | `-` | Number to display. | | `RollingNumberAffixSectionComponent` | `RollingNumberAffixSectionComponent` | No | `-` | Component used to render prefix and suffix sections. | | `RollingNumberDigitComponent` | `RollingNumberDigitComponent` | No | `-` | Component used to render individual digits. | | `RollingNumberMaskComponent` | `RollingNumberMaskComponent` | No | `-` | Component used to render the mask container. | | `RollingNumberSymbolComponent` | `RollingNumberSymbolComponent` | No | `-` | Component used to render separators and other symbols. | | `RollingNumberValueSectionComponent` | `RollingNumberValueSectionComponent` | No | `-` | Component used to render the numeric sections. | | `about` | `string \| undefined` | No | `-` | - | | `accessKey` | `string \| undefined` | No | `-` | - | | `accessibilityLabelPrefix` | `string` | No | `-` | Accessibility label prefix announced before the value. | | `accessibilityLabelSuffix` | `string` | No | `-` | Accessibility label suffix announced after the value. | | `alignContent` | `ResponsiveProp
` | No | `-` | - | | `alignItems` | `ResponsiveProp
` | No | `-` | - | | `alignSelf` | `ResponsiveProp
` | No | `-` | - | | `aria-activedescendant` | `string \| undefined` | No | `-` | Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. | | `aria-atomic` | `Booleanish \| undefined` | No | `-` | Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. | | `aria-autocomplete` | `none \| list \| inline \| both \| undefined` | No | `-` | Indicates whether inputting text could trigger display of one or more predictions of the users intended value for an input and specifies how predictions would be presented if they are made. | | `aria-braillelabel` | `string \| undefined` | No | `-` | Defines a string value that labels the current element, which is intended to be converted into Braille. | | `aria-brailleroledescription` | `string \| undefined` | No | `-` | Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. | | `aria-busy` | `Booleanish \| undefined` | No | `-` | - | | `aria-checked` | `boolean \| true \| false \| mixed \| undefined` | No | `-` | Indicates the current checked state of checkboxes, radio buttons, and other widgets. | | `aria-colcount` | `number \| undefined` | No | `-` | Defines the total number of columns in a table, grid, or treegrid. | | `aria-colindex` | `number \| undefined` | No | `-` | Defines an elements column index or position with respect to the total number of columns within a table, grid, or treegrid. | | `aria-colindextext` | `string \| undefined` | No | `-` | Defines a human readable text alternative of aria-colindex. | | `aria-colspan` | `number \| undefined` | No | `-` | Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. | | `aria-controls` | `string \| undefined` | No | `-` | Identifies the element (or elements) whose contents or presence are controlled by the current element. | | `aria-current` | `boolean \| true \| false \| page \| step \| location \| date \| time \| undefined` | No | `-` | Indicates the element that represents the current item within a container or set of related elements. | | `aria-describedby` | `string \| undefined` | No | `-` | Identifies the element (or elements) that describes the object. | | `aria-description` | `string \| undefined` | No | `-` | Defines a string value that describes or annotates the current element. | | `aria-details` | `string \| undefined` | No | `-` | Identifies the element that provides a detailed, extended description for the object. | | `aria-disabled` | `Booleanish \| undefined` | No | `-` | Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. | | `aria-dropeffect` | `none \| link \| copy \| execute \| move \| popup \| undefined` | No | `-` | Indicates what functions can be performed when a dragged object is released on the drop target. | | `aria-errormessage` | `string \| undefined` | No | `-` | Identifies the element that provides an error message for the object. | | `aria-expanded` | `Booleanish \| undefined` | No | `-` | Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. | | `aria-flowto` | `string \| undefined` | No | `-` | Identifies the next element (or elements) in an alternate reading order of content which, at the users discretion, allows assistive technology to override the general default of reading in document source order. | | `aria-grabbed` | `Booleanish \| undefined` | No | `-` | Indicates an elements grabbed state in a drag-and-drop operation. | | `aria-haspopup` | `boolean \| true \| false \| dialog \| grid \| listbox \| menu \| tree \| undefined` | No | `-` | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. | | `aria-hidden` | `Booleanish \| undefined` | No | `-` | Indicates whether the element is exposed to an accessibility API. | | `aria-invalid` | `boolean \| true \| false \| grammar \| spelling \| undefined` | No | `-` | Indicates the entered value does not conform to the format expected by the application. | | `aria-keyshortcuts` | `string \| undefined` | No | `-` | Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. | | `aria-label` | `string \| undefined` | No | `-` | Defines a string value that labels the current element. | | `aria-labelledby` | `string \| undefined` | No | `-` | Identifies the element (or elements) that labels the current element. | | `aria-level` | `number \| undefined` | No | `-` | Defines the hierarchical level of an element within a structure. | | `aria-live` | `off \| assertive \| polite \| undefined` | No | `-` | Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. | | `aria-modal` | `Booleanish \| undefined` | No | `-` | Indicates whether an element is modal when displayed. | | `aria-multiline` | `Booleanish \| undefined` | No | `-` | Indicates whether a text box accepts multiple lines of input or only a single line. | | `aria-multiselectable` | `Booleanish \| undefined` | No | `-` | Indicates that the user may select more than one item from the current selectable descendants. | | `aria-orientation` | `horizontal \| vertical \| undefined` | No | `-` | Indicates whether the elements orientation is horizontal, vertical, or unknown/ambiguous. | | `aria-owns` | `string \| undefined` | No | `-` | Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. | | `aria-placeholder` | `string \| undefined` | No | `-` | Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. | | `aria-posinset` | `number \| undefined` | No | `-` | Defines an elements number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. | | `aria-pressed` | `boolean \| true \| false \| mixed \| undefined` | No | `-` | Indicates the current pressed state of toggle buttons. | | `aria-readonly` | `Booleanish \| undefined` | No | `-` | Indicates that the element is not editable, but is otherwise operable. | | `aria-relevant` | `text \| additions \| additions removals \| additions text \| all \| removals \| removals additions \| removals text \| text additions \| text removals \| undefined` | No | `-` | Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. | | `aria-required` | `Booleanish \| undefined` | No | `-` | Indicates that user input is required on the element before a form may be submitted. | | `aria-roledescription` | `string \| undefined` | No | `-` | Defines a human-readable, author-localized description for the role of an element. | | `aria-rowcount` | `number \| undefined` | No | `-` | Defines the total number of rows in a table, grid, or treegrid. | | `aria-rowindex` | `number \| undefined` | No | `-` | Defines an elements row index or position with respect to the total number of rows within a table, grid, or treegrid. | | `aria-rowindextext` | `string \| undefined` | No | `-` | Defines a human readable text alternative of aria-rowindex. | | `aria-rowspan` | `number \| undefined` | No | `-` | Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. | | `aria-selected` | `Booleanish \| undefined` | No | `-` | Indicates the current selected state of various widgets. | | `aria-setsize` | `number \| undefined` | No | `-` | Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. | | `aria-sort` | `none \| ascending \| descending \| other \| undefined` | No | `-` | Indicates if items in a table or grid are sorted in ascending or descending order. | | `aria-valuemax` | `number \| undefined` | No | `-` | Defines the maximum allowed value for a range widget. | | `aria-valuemin` | `number \| undefined` | No | `-` | Defines the minimum allowed value for a range widget. | | `aria-valuenow` | `number \| undefined` | No | `-` | Defines the current value for a range widget. | | `aria-valuetext` | `string \| undefined` | No | `-` | Defines the human readable text alternative of aria-valuenow for a range widget. | | `ariaLive` | `off \| assertive \| polite` | No | `'polite'` | aria-live politeness level. | | `as` | `symbol \| object \| path \| ComponentClass \| FunctionComponent \| area \| style \| div \| a \| abbr \| address \| article \| aside \| audio \| b \| base \| bdi \| bdo \| big \| blockquote \| body \| br \| button \| canvas \| caption \| center \| cite \| code \| col \| colgroup \| data \| datalist \| dd \| del \| details \| dfn \| dialog \| dl \| dt \| em \| embed \| fieldset \| figcaption \| figure \| footer \| form \| h1 \| h2 \| h3 \| h4 \| h5 \| h6 \| head \| header \| hgroup \| hr \| html \| i \| iframe \| img \| input \| ins \| kbd \| keygen \| label \| legend \| li \| link \| main \| map \| mark \| menu \| menuitem \| meta \| meter \| nav \| noindex \| noscript \| ol \| optgroup \| option \| output \| p \| param \| picture \| pre \| progress \| q \| rp \| rt \| ruby \| s \| samp \| search \| slot \| script \| section \| select \| small \| source \| span \| strong \| sub \| summary \| sup \| table \| template \| tbody \| td \| textarea \| tfoot \| th \| thead \| time \| title \| tr \| track \| u \| ul \| var \| video \| wbr \| webview \| svg \| animate \| animateMotion \| animateTransform \| circle \| clipPath \| defs \| desc \| ellipse \| feBlend \| feColorMatrix \| feComponentTransfer \| feComposite \| feConvolveMatrix \| feDiffuseLighting \| feDisplacementMap \| feDistantLight \| feDropShadow \| feFlood \| feFuncA \| feFuncB \| feFuncG \| feFuncR \| feGaussianBlur \| feImage \| feMerge \| feMergeNode \| feMorphology \| feOffset \| fePointLight \| feSpecularLighting \| feSpotLight \| feTile \| feTurbulence \| filter \| foreignObject \| g \| image \| line \| linearGradient \| marker \| mask \| metadata \| mpath \| pattern \| polygon \| polyline \| radialGradient \| rect \| set \| stop \| switch \| text \| textPath \| tspan \| use \| view` | No | `span` | The underlying element or component the polymorphic component will render. Changing as also changes the inherited native props (e.g. href for as=a) and the expected ref type. | | `aspectRatio` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `autoCapitalize` | `off \| none \| on \| sentences \| words \| characters \| (string & {}) \| undefined` | No | `-` | - | | `autoCorrect` | `string \| undefined` | No | `-` | - | | `autoFocus` | `boolean \| undefined` | No | `-` | - | | `autoSave` | `string \| undefined` | No | `-` | - | | `background` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - | | `borderBottomLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - | | `borderBottomRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - | | `borderBottomWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - | | `borderColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - | | `borderEndWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - | | `borderRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - | | `borderStartWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - | | `borderTopLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - | | `borderTopRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - | | `borderTopWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - | | `borderWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - | | `bordered` | `boolean` | No | `-` | Add a border around all sides of the box. | | `borderedBottom` | `boolean` | No | `-` | Add a border to the bottom side of the box. | | `borderedEnd` | `boolean` | No | `-` | Add a border to the trailing side of the box. | | `borderedHorizontal` | `boolean` | No | `-` | Add a border to the leading and trailing sides of the box. | | `borderedStart` | `boolean` | No | `-` | Add a border to the leading side of the box. | | `borderedTop` | `boolean` | No | `-` | Add a border to the top side of the box. | | `borderedVertical` | `boolean` | No | `-` | Add a border to the top and bottom sides of the box. | | `bottom` | `ResponsiveProp>` | No | `-` | - | | `children` | `null \| string \| number \| false \| true \| ReactElement> \| Iterable \| ReactPortal` | No | `-` | - | | `className` | `string \| undefined` | No | `-` | - | | `classNames` | `{ root?: string; visibleContent?: string \| undefined; formattedValueSection?: string \| undefined; prefix?: string \| undefined; suffix?: string \| undefined; i18nPrefix?: string \| undefined; i18nSuffix?: string \| undefined; integer?: string \| undefined; fraction?: string \| undefined; text?: string \| undefined; } \| undefined` | No | `-` | Class name overrides applied to RollingNumber slots. | | `color` | `((Color \| { base?: Color; phone?: Color \| undefined; tablet?: Color \| undefined; desktop?: Color \| undefined; }) & Color) \| undefined` | No | `'fg'` | Base text color token. When {@link colorPulseOnUpdate } is true, the color briefly pulses to a positive or negative mid color before returning to this base color. | | `colorPulseOnUpdate` | `boolean` | No | `-` | Enables color pulsing on positive or negative changes. | | `columnGap` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `content` | `string \| undefined` | No | `-` | - | | `contentEditable` | `Booleanish \| inherit \| plaintext-only \| undefined` | No | `-` | - | | `contextMenu` | `string \| undefined` | No | `-` | - | | `dangerouslySetBackground` | `string` | No | `-` | - | | `dangerouslySetColor` | `string` | No | `-` | - | | `dangerouslySetInnerHTML` | `{ __html: string \| TrustedHTML; } \| undefined` | No | `-` | - | | `datatype` | `string \| undefined` | No | `-` | - | | `defaultChecked` | `boolean \| undefined` | No | `-` | - | | `defaultValue` | `string \| number \| readonly string[] \| undefined` | No | `-` | - | | `digitTransitionVariant` | `every \| single` | No | `'every'` | Style of digit transition animation. - every: Rolls through every intermediate digit (e.g., 1→2→3→...→9). - single: Rolls directly to the new digit without showing intermediates (e.g., 1→9). | | `dir` | `string \| undefined` | No | `-` | - | | `disabled` | `boolean` | No | `-` | - | | `display` | `ResponsiveProp` | No | `-` | - | | `draggable` | `Booleanish \| undefined` | No | `-` | - | | `elevation` | `0 \| 1 \| 2` | No | `-` | - | | `enableSubscriptNotation` | `boolean` | No | `-` | Enables subscript notation for leading zeros in the fractional part (for example, {@code 0.00009 => 0.0₄9}). | | `enterKeyHint` | `enter \| done \| go \| next \| previous \| search \| send \| undefined` | No | `-` | - | | `flexBasis` | `ResponsiveProp>` | No | `-` | - | | `flexDirection` | `ResponsiveProp` | No | `-` | - | | `flexGrow` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset` | No | `-` | - | | `flexShrink` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset` | No | `-` | - | | `flexWrap` | `ResponsiveProp` | No | `-` | - | | `font` | `ResponsiveProp` | No | `-` | - | | `fontFamily` | `ResponsiveProp` | No | `-` | - | | `fontSize` | `ResponsiveProp` | No | `-` | - | | `fontWeight` | `ResponsiveProp` | No | `-` | - | | `format` | `(Omit & { notation?: compact \| standard; }) \| undefined` | No | `-` | Intl.NumberFormat options applied when formatting the value. Scientific and engineering notation are not supported. | | `formattedValue` | `string` | No | `-` | Preformatted value rendered instead of formatting {@link value }. {@link value } is still used to determine numeric deltas. | | `gap` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `grid` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none` | No | `-` | - | | `gridArea` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridAutoColumns` | `ResponsiveProp>` | No | `-` | - | | `gridAutoFlow` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| row \| column \| dense` | No | `-` | - | | `gridAutoRows` | `ResponsiveProp>` | No | `-` | - | | `gridColumn` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridColumnEnd` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridColumnStart` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridRow` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridRowEnd` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridRowStart` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - | | `gridTemplate` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none` | No | `-` | - | | `gridTemplateAreas` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none` | No | `-` | - | | `gridTemplateColumns` | `ResponsiveProp>` | No | `-` | - | | `gridTemplateRows` | `ResponsiveProp>` | No | `-` | - | | `height` | `ResponsiveProp>` | No | `-` | - | | `hidden` | `boolean \| undefined` | No | `-` | - | | `id` | `string \| undefined` | No | `-` | - | | `inlist` | `any` | No | `-` | - | | `inputMode` | `none \| search \| text \| tel \| url \| email \| numeric \| decimal \| undefined` | No | `-` | Hints at the type of data that might be entered by the user while editing the element or its contents | | `is` | `string \| undefined` | No | `-` | Specify that a standard HTML element should behave like a defined custom built-in element | | `itemID` | `string \| undefined` | No | `-` | - | | `itemProp` | `string \| undefined` | No | `-` | - | | `itemRef` | `string \| undefined` | No | `-` | - | | `itemScope` | `boolean \| undefined` | No | `-` | - | | `itemType` | `string \| undefined` | No | `-` | - | | `justifyContent` | `ResponsiveProp` | No | `-` | - | | `key` | `Key \| null \| undefined` | No | `-` | - | | `lang` | `string \| undefined` | No | `-` | - | | `left` | `ResponsiveProp>` | No | `-` | - | | `lineHeight` | `ResponsiveProp` | No | `-` | - | | `locale` | `string \| Locale \| readonly (string \| Locale)[]` | No | `-` | Locale used for formatting. Defaults to the locale from {@link LocaleProvider }. | | `margin` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `marginBottom` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `marginEnd` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `marginStart` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `marginTop` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `marginX` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `marginY` | `ResponsiveProp<0 \| -3 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - | | `maxHeight` | `ResponsiveProp>` | No | `-` | - | | `maxWidth` | `ResponsiveProp>` | No | `-` | - | | `minHeight` | `ResponsiveProp>` | No | `-` | - | | `minWidth` | `ResponsiveProp>` | No | `-` | - | | `mono` | `boolean` | No | `-` | Use monospace font family. | | `negativePulseColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `'fgNegative'` | Color token used for negative numeric changes. | | `noWrap` | `boolean` | No | `false` | Set text to be in a single line. | | `nonce` | `string \| undefined` | No | `-` | - | | `numberOfLines` | `number` | No | `-` | - | | `onAbort` | `ReactEventHandler \| undefined` | No | `-` | - | | `onAbortCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onAnimationEnd` | `AnimationEventHandler \| undefined` | No | `-` | - | | `onAnimationEndCapture` | `AnimationEventHandler \| undefined` | No | `-` | - | | `onAnimationIteration` | `AnimationEventHandler \| undefined` | No | `-` | - | | `onAnimationIterationCapture` | `AnimationEventHandler \| undefined` | No | `-` | - | | `onAnimationStart` | `AnimationEventHandler \| undefined` | No | `-` | - | | `onAnimationStartCapture` | `AnimationEventHandler \| undefined` | No | `-` | - | | `onAuxClick` | `MouseEventHandler \| undefined` | No | `-` | - | | `onAuxClickCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onBeforeInput` | `FormEventHandler \| undefined` | No | `-` | - | | `onBeforeInputCapture` | `FormEventHandler \| undefined` | No | `-` | - | | `onBlur` | `FocusEventHandler \| undefined` | No | `-` | - | | `onBlurCapture` | `FocusEventHandler \| undefined` | No | `-` | - | | `onCanPlay` | `ReactEventHandler \| undefined` | No | `-` | - | | `onCanPlayCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onCanPlayThrough` | `ReactEventHandler \| undefined` | No | `-` | - | | `onCanPlayThroughCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onChange` | `FormEventHandler \| undefined` | No | `-` | - | | `onChangeCapture` | `FormEventHandler \| undefined` | No | `-` | - | | `onClick` | `MouseEventHandler \| undefined` | No | `-` | - | | `onClickCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onCompositionEnd` | `CompositionEventHandler \| undefined` | No | `-` | - | | `onCompositionEndCapture` | `CompositionEventHandler \| undefined` | No | `-` | - | | `onCompositionStart` | `CompositionEventHandler \| undefined` | No | `-` | - | | `onCompositionStartCapture` | `CompositionEventHandler \| undefined` | No | `-` | - | | `onCompositionUpdate` | `CompositionEventHandler \| undefined` | No | `-` | - | | `onCompositionUpdateCapture` | `CompositionEventHandler \| undefined` | No | `-` | - | | `onContextMenu` | `MouseEventHandler \| undefined` | No | `-` | - | | `onContextMenuCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onCopy` | `ClipboardEventHandler \| undefined` | No | `-` | - | | `onCopyCapture` | `ClipboardEventHandler \| undefined` | No | `-` | - | | `onCut` | `ClipboardEventHandler \| undefined` | No | `-` | - | | `onCutCapture` | `ClipboardEventHandler \| undefined` | No | `-` | - | | `onDoubleClick` | `MouseEventHandler \| undefined` | No | `-` | - | | `onDoubleClickCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onDrag` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragEnd` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragEndCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragEnter` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragEnterCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragExit` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragExitCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragLeave` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragLeaveCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragOver` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragOverCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragStart` | `DragEventHandler \| undefined` | No | `-` | - | | `onDragStartCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDrop` | `DragEventHandler \| undefined` | No | `-` | - | | `onDropCapture` | `DragEventHandler \| undefined` | No | `-` | - | | `onDurationChange` | `ReactEventHandler \| undefined` | No | `-` | - | | `onDurationChangeCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onEmptied` | `ReactEventHandler \| undefined` | No | `-` | - | | `onEmptiedCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onEncrypted` | `ReactEventHandler \| undefined` | No | `-` | - | | `onEncryptedCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onEnded` | `ReactEventHandler \| undefined` | No | `-` | - | | `onEndedCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onError` | `ReactEventHandler \| undefined` | No | `-` | - | | `onErrorCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onFocus` | `FocusEventHandler \| undefined` | No | `-` | - | | `onFocusCapture` | `FocusEventHandler \| undefined` | No | `-` | - | | `onGotPointerCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onGotPointerCaptureCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onInput` | `FormEventHandler \| undefined` | No | `-` | - | | `onInputCapture` | `FormEventHandler \| undefined` | No | `-` | - | | `onInvalid` | `FormEventHandler \| undefined` | No | `-` | - | | `onInvalidCapture` | `FormEventHandler \| undefined` | No | `-` | - | | `onKeyDown` | `KeyboardEventHandler \| undefined` | No | `-` | - | | `onKeyDownCapture` | `KeyboardEventHandler \| undefined` | No | `-` | - | | `onKeyPress` | `KeyboardEventHandler \| undefined` | No | `-` | - | | `onKeyPressCapture` | `KeyboardEventHandler \| undefined` | No | `-` | - | | `onKeyUp` | `KeyboardEventHandler \| undefined` | No | `-` | - | | `onKeyUpCapture` | `KeyboardEventHandler \| undefined` | No | `-` | - | | `onLoad` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadStart` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadStartCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadedData` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadedDataCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadedMetadata` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLoadedMetadataCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onLostPointerCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onLostPointerCaptureCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onMouseDown` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseDownCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseEnter` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseLeave` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseMove` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseMoveCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseOut` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseOutCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseOver` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseOverCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseUp` | `MouseEventHandler \| undefined` | No | `-` | - | | `onMouseUpCapture` | `MouseEventHandler \| undefined` | No | `-` | - | | `onPaste` | `ClipboardEventHandler \| undefined` | No | `-` | - | | `onPasteCapture` | `ClipboardEventHandler \| undefined` | No | `-` | - | | `onPause` | `ReactEventHandler \| undefined` | No | `-` | - | | `onPauseCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onPlay` | `ReactEventHandler \| undefined` | No | `-` | - | | `onPlayCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onPlaying` | `ReactEventHandler \| undefined` | No | `-` | - | | `onPlayingCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onPointerCancel` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerCancelCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerDown` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerDownCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerEnter` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerLeave` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerMove` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerMoveCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerOut` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerOutCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerOver` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerOverCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerUp` | `PointerEventHandler \| undefined` | No | `-` | - | | `onPointerUpCapture` | `PointerEventHandler \| undefined` | No | `-` | - | | `onProgress` | `ReactEventHandler \| undefined` | No | `-` | - | | `onProgressCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onRateChange` | `ReactEventHandler \| undefined` | No | `-` | - | | `onRateChangeCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onReset` | `FormEventHandler \| undefined` | No | `-` | - | | `onResetCapture` | `FormEventHandler \| undefined` | No | `-` | - | | `onResize` | `ReactEventHandler \| undefined` | No | `-` | - | | `onResizeCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onScroll` | `UIEventHandler \| undefined` | No | `-` | - | | `onScrollCapture` | `UIEventHandler \| undefined` | No | `-` | - | | `onSeeked` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSeekedCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSeeking` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSeekingCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSelect` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSelectCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onStalled` | `ReactEventHandler \| undefined` | No | `-` | - | | `onStalledCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSubmit` | `FormEventHandler \| undefined` | No | `-` | - | | `onSubmitCapture` | `FormEventHandler \| undefined` | No | `-` | - | | `onSuspend` | `ReactEventHandler \| undefined` | No | `-` | - | | `onSuspendCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onTimeUpdate` | `ReactEventHandler \| undefined` | No | `-` | - | | `onTimeUpdateCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onTouchCancel` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchCancelCapture` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchEnd` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchEndCapture` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchMove` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchMoveCapture` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchStart` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTouchStartCapture` | `TouchEventHandler \| undefined` | No | `-` | - | | `onTransitionEnd` | `TransitionEventHandler \| undefined` | No | `-` | - | | `onTransitionEndCapture` | `TransitionEventHandler \| undefined` | No | `-` | - | | `onVolumeChange` | `ReactEventHandler \| undefined` | No | `-` | - | | `onVolumeChangeCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onWaiting` | `ReactEventHandler \| undefined` | No | `-` | - | | `onWaitingCapture` | `ReactEventHandler \| undefined` | No | `-` | - | | `onWheel` | `WheelEventHandler \| undefined` | No | `-` | - | | `onWheelCapture` | `WheelEventHandler \| undefined` | No | `-` | - | | `opacity` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset` | No | `-` | - | | `overflow` | `clip \| wrap \| truncate \| break` | No | `-` | Set overflow behavior. | | `padding` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `paddingBottom` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `paddingEnd` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `paddingStart` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `paddingTop` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `paddingX` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `paddingY` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `pin` | `top \| bottom \| left \| right \| all` | No | `-` | Direction in which to absolutely pin the box. | | `position` | `ResponsiveProp` | No | `-` | - | | `positivePulseColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `'fgPositive'` | Color token used for positive numeric changes. | | `prefix` | `null \| string \| number \| false \| true \| ReactElement> \| Iterable \| ReactPortal` | No | `-` | Content rendered before the formatted value. | | `property` | `string \| undefined` | No | `-` | - | | `radioGroup` | `string \| undefined` | No | `-` | - | | `ref` | `any` | No | `-` | - | | `rel` | `string \| undefined` | No | `-` | - | | `renderEmptyNode` | `boolean` | No | `-` | - | | `resource` | `string \| undefined` | No | `-` | - | | `results` | `number \| undefined` | No | `-` | - | | `rev` | `string \| undefined` | No | `-` | - | | `right` | `ResponsiveProp>` | No | `-` | - | | `role` | `AriaRole \| undefined` | No | `-` | - | | `rowGap` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - | | `security` | `string \| undefined` | No | `-` | - | | `slashedZero` | `boolean` | No | `false` | Use character for number zero with a slash through it to differentiate it from the letter O. | | `slot` | `string \| undefined` | No | `-` | - | | `spellCheck` | `Booleanish \| undefined` | No | `-` | - | | `style` | `CSSProperties` | No | `-` | - | | `styles` | `{ root?: CSSProperties; visibleContent?: CSSProperties \| undefined; formattedValueSection?: CSSProperties \| undefined; prefix?: CSSProperties \| undefined; suffix?: CSSProperties \| undefined; i18nPrefix?: CSSProperties \| undefined; i18nSuffix?: CSSProperties \| undefined; integer?: CSSProperties \| undefined; fraction?: CSSProperties \| undefined; text?: CSSProperties \| undefined; } \| undefined` | No | `-` | Inline style overrides applied to RollingNumber slots. | | `suffix` | `null \| string \| number \| false \| true \| ReactElement> \| Iterable \| ReactPortal` | No | `-` | Content rendered after the formatted value. | | `suppressContentEditableWarning` | `boolean \| undefined` | No | `-` | - | | `suppressHydrationWarning` | `boolean \| undefined` | No | `-` | - | | `tabIndex` | `number \| undefined` | No | `-` | - | | `tabularNumbers` | `boolean` | No | `false true` | Activates the set of figures where numbers are all of the same size, allowing them to be easily aligned. Enables tabular figures on the underlying {@link Text}. | | `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID | | `textAlign` | `ResponsiveProp
` | No | `-` | - | | `textDecoration` | `ResponsiveProp` | No | `-` | - | | `textTransform` | `ResponsiveProp` | No | `-` | - | | `title` | `string \| undefined` | No | `-` | - | | `top` | `ResponsiveProp>` | No | `-` | - | | `transform` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none` | No | `-` | - | | `transition` | `RollingNumberTransitionConfig` | No | `-` | Framer Motion transition overrides. Supports per-property overrides for {@code y} and {@code color} only. | | `translate` | `yes \| no \| undefined` | No | `-` | - | | `typeof` | `string \| undefined` | No | `-` | - | | `underline` | `boolean` | No | `false` | Set text decoration to underline. | | `unselectable` | `off \| on \| undefined` | No | `-` | - | | `userSelect` | `ResponsiveProp` | No | `-` | - | | `visibility` | `ResponsiveProp` | No | `-` | - | | `vocab` | `string \| undefined` | No | `-` | - | | `width` | `ResponsiveProp>` | No | `-` | - | | `zIndex` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - |