# Pressable Extends the Interactable component to add accessibility support for press interactions. ## Import ```tsx import { Pressable } from '@coinbase/cds-web/system/Pressable' ``` ## Examples ### Basic Pressable Pressables support an `onClick` prop for handling click/press interactions. When being pressed, the element will scale down to mimic a real-world button press. If this functionality is not desired, pass the `noScaleOnPress` prop. ```jsx live Click me... ``` ### Pressable with Transparent Background ```jsx live Click me... ``` ### Block Pressable Pressables expand to 100% width when the `block` prop is passed. ```jsx live Click me... ``` ### A11y On mobile, all [AccessibilityProps](https://reactnative.dev/docs/accessibility#accessibility-properties) can be passed, with `accessibilityComponentType` and `accessibilityTraits` defaulting to `button`, and `accessibilityState` being set based on loading/disabled props. On web, all [ARIA attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) can be passed, with `aria-busy` being set based on loading/disabled props. > The `as` prop allows any component to be used, but be sure you are using semantically correct elements! For example, no clickable divs. ## Props | Prop | Type | Required | Default | Description | | --- | --- | --- | --- | --- | | `about` | `string \| undefined` | No | `-` | - | | `accessKey` | `string \| undefined` | No | `-` | - | | `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. | | `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 | `button` | 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 | `-` | Background color of the overlay (element being interacted with). | | `blendStyles` | `InteractableBlendStyles` | No | `-` | - | | `block` | `boolean` | No | `-` | Set element to block and expand to 100% width. | | `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 | `-` | Border color of the element. | | `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` | No | `-` | Apply class names to the outer container. | | `color` | `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 | `-` | - | | `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 | `-` | - | | `dangerouslySetInnerHTML` | `{ __html: string \| TrustedHTML; } \| undefined` | No | `-` | - | | `datatype` | `string \| undefined` | No | `-` | - | | `defaultChecked` | `boolean \| undefined` | No | `-` | - | | `defaultValue` | `string \| number \| readonly string[] \| undefined` | No | `-` | - | | `dir` | `string \| undefined` | No | `-` | - | | `disabled` | `boolean` | No | `-` | Is the element currently disabled. | | `display` | `ResponsiveProp` | No | `-` | - | | `draggable` | `Booleanish \| undefined` | No | `-` | - | | `elevation` | `0 \| 1 \| 2` | No | `-` | - | | `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 | `-` | - | | `focusable` | `boolean` | No | `-` | - | | `font` | `ResponsiveProp` | No | `-` | - | | `fontFamily` | `ResponsiveProp` | No | `-` | - | | `fontSize` | `ResponsiveProp` | No | `-` | - | | `fontWeight` | `ResponsiveProp` | No | `-` | - | | `form` | `string \| undefined` | No | `-` | - | | `formAction` | `string \| undefined` | No | `-` | - | | `formEncType` | `string \| undefined` | No | `-` | - | | `formMethod` | `string \| undefined` | No | `-` | - | | `formNoValidate` | `boolean \| undefined` | No | `-` | - | | `formTarget` | `string \| undefined` | No | `-` | - | | `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 | `-` | - | | `loading` | `boolean` | No | `-` | Is the element currenty loading. When set to true, will disable element from press and keyboard events | | `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 | `-` | - | | `name` | `string \| undefined` | No | `-` | - | | `noScaleOnPress` | `boolean` | No | `-` | Dont scale element on press. | | `nonce` | `string \| undefined` | 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` | `ResponsiveProp` | No | `-` | - | | `padding` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `0` | - | | `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 | `-` | - | | `prefix` | `string \| undefined` | No | `-` | - | | `pressed` | `boolean` | No | `-` | Is the element being pressed. Primarily a mobile feature, but can be used on the web. | | `property` | `string \| undefined` | No | `-` | - | | `radioGroup` | `string \| undefined` | No | `-` | - | | `ref` | `any` | No | `-` | - | | `rel` | `string \| undefined` | 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 | `-` | - | | `slot` | `string \| undefined` | No | `-` | - | | `spellCheck` | `Booleanish \| undefined` | No | `-` | - | | `style` | `CSSProperties` | No | `-` | - | | `suppressContentEditableWarning` | `boolean \| undefined` | No | `-` | - | | `suppressHydrationWarning` | `boolean \| undefined` | No | `-` | - | | `tabIndex` | `number \| undefined` | No | `-` | - | | `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 | `-` | - | | `translate` | `yes \| no \| undefined` | No | `-` | - | | `transparentWhileInactive` | `boolean` | No | `-` | Mark the background and border as transparent until the element is interacted with (hovered, pressed, etc). Must be used in conjunction with the pressed prop | | `transparentWhilePressed` | `boolean` | No | `-` | Mark the background and border as transparent even while element is interacted with (elevation underlay issue). Must be used in conjunction with the pressed prop | | `type` | `button \| submit \| reset \| undefined` | No | `-` | - | | `typeof` | `string \| undefined` | No | `-` | - | | `unselectable` | `off \| on \| undefined` | No | `-` | - | | `userSelect` | `ResponsiveProp` | No | `-` | - | | `value` | `string \| number \| readonly string[] \| undefined` | No | `-` | - | | `visibility` | `ResponsiveProp` | No | `-` | - | | `vocab` | `string \| undefined` | No | `-` | - | | `width` | `ResponsiveProp>` | No | `-` | - | | `zIndex` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - |