Tamagui adapter — all inputs (Tamagui)
Package: @formzk/tamagui (also pulls in @formzk/core and tamagui)
Every pre-wired input shipping with @formzk/tamagui, plus Tamagui's own Input registered via the Native.Provider. The same code runs on web (react-native-web) and native React Native — this sandbox runs the web build. The components shipped from the adapter are:
Checkbox— single checkbox withvalueKey="checked".CheckboxGroup— multi-select checkboxes bound to an array.RadioGroup— single-value radio list, supports string or numericvalue.Switch— single toggle withvalueKey="checked".Select— dropdown, supports string or numericvalue.
The app is wrapped in TamaguiProvider with the stock @tamagui/config theme; all values flow into one form state and show on submit.
Loading playground…
Notes
Formzk.Tamagui.Itemwraps each input with label / caption / error presentation — thelayoutprop switches betweenwrapped(default),contained,normalandnone.- On native platforms Tamagui's
Selectneeds anAdapt/Sheetsetup to present its content; on web (like this sandbox) it works out of the box. - Values submit as their registered types —
CheckboxGroupemits an array,RadioGroup/Selectpreserve numeric option values.