Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. React Native
  3. react-native-collapsible

react-native-collapsible

MITJavaScriptv1.6.2

Animated collapsible component for React Native, ideal for accordions, toggles, and expandable sections.

GitHubGitHub
2.6k stars445 forks0 contributors

What is react-native-collapsible?

React Native Collapsible is a library that provides an animated, collapsible container component for React Native applications. It solves the need for smooth, interactive expand/collapse transitions in mobile UIs, such as accordions, toggle sections, and expandable content areas. The component handles dynamic content heights and integrates with React Native's Animated API for performant animations.

Target Audience

React Native developers building mobile applications that require interactive, animated UI components like accordions, expandable lists, or toggleable content sections.

Value Proposition

Developers choose React Native Collapsible for its simplicity, smooth animations out-of-the-box, and the included Accordion component that reduces boilerplate. It's a lightweight, pure JavaScript solution that works seamlessly with React Native's ecosystem.

Overview

Animated collapsible component for React Native, good for accordions, toggles etc

Use Cases

Best For

  • Building FAQ or help section accordions in React Native apps
  • Creating expandable settings or menu panels
  • Implementing toggleable content sections with smooth animations
  • Developing interactive lists with collapsible details
  • Adding animated show/hide functionality to any UI component
  • Creating mobile UIs that require dynamic height transitions

Not Ideal For

  • Projects requiring pre-styled, themed accordion components out-of-the-box
  • Cross-platform applications that need web or desktop support beyond React Native
  • Use cases demanding complex, multi-step animations or gesture-based interactions
  • Teams already using UI libraries with built-in collapsible components (e.g., React Native Paper)

Pros & Cons

Pros

Smooth Animated Transitions

Leverages React Native's Animated API for performant, customizable expand/collapse animations, as demonstrated in the demo GIF with ease-out cubic easing.

Dynamic Height Handling

Automatically adjusts to content of varying heights without manual calculations, simplifying implementation for dynamic UIs like expandable lists.

Convenient Accordion Component

Includes a ready-to-use Accordion component with active state tracking and multiple section management, reducing boilerplate code for common use cases.

Flexible Alignment Options

Supports top, center, or bottom alignment during transitions, offering control over animation behavior for different UI layouts.

Cons

No Built-in Styling

Components are unstyled, requiring developers to implement custom CSS for visual design, which adds initial setup time and design effort.

React Native Exclusive

Tied to the React Native ecosystem, making it unsuitable for projects targeting web or other platforms without significant additional work or polyfills.

Limited Advanced Features

Focused on basic collapsible functionality; lacks built-in support for features like nested accordions, advanced gesture controls, or server-side rendering optimizations.

Frequently Asked Questions

Quick Stats

Stars2,596
Forks445
Contributors0
Open Issues88
Last commit2 years ago
CreatedSince 2015

Tags

#mobile-ui#animation#react-native#ui-components#animations#collapsible#accordion

Built With

J
JavaScript
R
React Native

Included in

React Native35.6k
Auto-fetched 1 day ago

Related Projects

react-native-vector-iconsreact-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.

Stars17,918
Forks2,101
Last commit4 days ago
lottie-react-nativelottie-react-native

Lottie wrapper for React Native.

Stars17,210
Forks1,801
Last commit3 days ago
react-native-mapsreact-native-maps

React Native Mapview component for iOS + Android

Stars16,011
Forks4,962
Last commit4 days ago
react-native-paperreact-native-paper

Material Design for React Native (Android & iOS)

Stars14,478
Forks2,250
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub