Skip to main content
React intrinsic nodes are the native building blocks rendered by @napps/nodes. Use them as JSX elements inside a React component.

Supported nodes

Common properties

Every intrinsic node accepts these React properties: Only container and content nodes render children: box, column, row, text, touchable, scrollable, pager, bottomSheet, and gestureDetector. The leaf nodes img, video, button, and textInput do not render children. Use their documented properties, such as src, text, or value, instead. Node-specific properties are documented on each page. Properties not listed for a node are not part of its typed JSX contract.

Layout guidance

  • Use column and row to express the primary layout direction.
  • Use box when children should stack on top of one another.
  • Use padding on scrollable and pager for content-edge spacing. Margins reduce the usable scroll area.
  • For pressed or gesture-driven feedback, use gestureDetector with shared values and animatedProps. For a non-animated selected state, update the style directly from React state.
  • Keep gestureDetector around the smallest subtree that needs gesture input.

Node pages

Each page lists the complete typed property surface and includes a runnable example: