Awesome Open Source
Awesome Open Source

Without linking. Compatible with expo.


yarn add react-native-overlay-section


npm i react-native-overlay-section --save

Usage example

import React, { Component } from 'react';
import {
} from 'react-native';
import SlideUp from 'react-native-overlay-section';

export default class App extends Component {

    constructor (props) {
    exampleContent = () => {
        return (
                <Text>This is test text</Text>
    render() {
        return (
            <View style={{flex: 1}}>
                <SlideUp contentSection={this.exampleContent()} />
props type description
visibleHeight number Height of all visible content include dragSection
draggableHeight number Height of dragSection
contentSection component Pass your custom object to render it
dragSection component Section with PanResponder
dragBgColor string Background color of dragSection
contentSectionBgColor string backgroundColor of contentSection
dragArrowColor string Color of default arrow

All props are not required*


  • [ ] Several section stop points, like 30%, 50%, 100% from bottom
  • [ ] Arrangement from top to bottom.
  • [ ] Fit to content

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (71,009
react-native (1,588
swipe (105
overlay (82