✨ Announcing our seed funding led by Lux Capital! Read more about it on our blog
DocsBlogChangelog

Search documentation...

/

Star

12k+

[ Learn ]

[ Concepts ]

[ Reference ]

Fragment


A Fragment is a Component that allow you to group multiple Components without a wrapper node.
Refer to the React docs at React/Fragment for more information on its use-case

Component1

Component2

rx.fragment(rx.text("Component1"), rx.text("Component2"))

Fragment


A React fragment to return multiple components from a function without wrapping it in a container.


  • No props for Fragment.

  • Base Event Triggers

← AspectRatioBreadcrumb →

Copyright © 2023 Pynecone, Inc.