A wrapper for views that should respond to touches. Provides a material "ink ripple" interaction effect for supported platforms (>= Android Lollipop). On unsupported platforms, it falls back to a highlight effect.


import * as React from 'react';
import { View } from 'react-native';
import { Text, TouchableRipple } from 'react-native-paper';

const MyComponent = () => (
    onPress={() => console.log('Pressed')}
    rippleColor="rgba(0, 0, 0, .32)"
    <Text>Press anywhere</Text>

export default MyComponent;


Type: boolean
Default value: false

Whether to render the ripple outside the view bounds.

Type: Object

Type of background drawabale to display the feedback (Android). https://reactnative.dev/docs/pressable#rippleconfig

Type: boolean

Whether to start the ripple at the center (Web).

Type: boolean

Whether to prevent interaction with the touchable.

Type: (e: GestureResponderEvent) => void

Function to execute on press. If not set, will cause the touchable to be disabled.

Type: (e: GestureResponderEvent) => void

Function to execute on long press.

Type: string

Color of the ripple effect (Android >= 5.0 and Web).

Type: string

Color of the underlay for the highlight effect (Android < 5.0 and iOS).

Type: React.ReactNode

Content of the TouchableRipple.

Type: ThemeProp
...Pressable propsEdit this page