Skip to Content
API

Reference

Below is a table of all the props available in RN Smartstack.

API Refernce Table

PropTypeDefaultDescription
widgetsWidget[]-Array of widget objects to display. Each widget can contain a custom component.
height progressSharedValue-A reanimated shared value controlling the stack’s expanded/collapsed state.
baseWidthnumberdevice-basedCollapsed width of the stack.
baseHeightnumberdevice-basedCollapsed height of the stack.
expandedWidthnumberdevice-basedExpanded width of the stack.
expandedHeightnumberdevice-basedExpanded height of the stack.
expansionConfigobject”damping: 20, stiffness: 200”Spring animation values used when expanding/collapsing the stack.
navigationConfigobjectshowNavigation: trueConfiguration for navigation dots (size, spacing, color, etc.).
blurConfigobjectintensity: 80, tint: “dark”Controls the background blur effect of the shell.
labelConfigobjectfontSize: 12, color: “#FFF”Styles for the widget label displayed below the active widget.
Last updated on