
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
react-native-collapsing-header
Advanced tools
npm install --save react-native-collapsing-header
OR
yarn add react-native-collapsing-header
import CollapsingHeader from 'react-native-collapsing-header';
import Text from 'react-native';
export default class Example extends Component {
render() {
return (
<CollapsingHeader
header={HeaderExample} // required
scrollEventThrottle={16} // 16 is default value (Optional)
headerMaxHeight={199} // 199 is default value (Optional)
headerMinHeight={117} // 117 is default value (Optional)
>
<Text>Your ScrollView body items</Text>
</CollapsingHeader>
)
}
}
// if you want to change the opacity of the header or a part of it while scrolling, just wrap it in an Animated.View (look at the example below)
const HeaderExample = (opacity) => {
return (
<View style={{flex: 1, alignItems: 'center'}}>
<Animated.View style={{
opacity
}}>
<Text>this text will disappear when scrolling</Text>
</Animated.View>
<View style={{flexDirection:'row', marginTop: calcSize(15)}}>
<AIIcon style={styles.viewDatesDropdownPng} image={Pictures.viewDatesDropdownPng} boxSize={8.5}/>
<AIText fontSize={15}>בחירת תקופת זמן: הכל</AIText>
</View>
</View>
)
}
FAQs
React-Native collapsing header with nativedriver
The npm package react-native-collapsing-header receives a total of 2 weekly downloads. As such, react-native-collapsing-header popularity was classified as not popular.
We found that react-native-collapsing-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.