Guides
Creating Custom Components
Build custom UI components using gluestack-ui and nativewind for consistent styling across web and native platforms.
Creating Custom Components
Components
-
All components are sourced from gluestack-ui and styled using nativewind for consistent styling across web and native platforms.
-
Component organization: Located in
packages/componentsfolder, subdivided intoprimitivesandcustomdirectories. -
Custom component creation options:
- Build using existing
customorprimitivescomponents - Create new components directly with
nativewind - Reference: nativewind custom components guide
- Build using existing
-
Implementation steps:
- Place custom components in
packages/components/custom/<component-name> - Create an
index.tsxfile with exports - Reference components in Next.js and Expo via the alias:
@cloudnua-mobile/components/custom/<component-name>
- Place custom components in
Additional Resources
CloudNua Mobile Starter
This component is included with CloudNua Mobile. All packages and source code are available with your purchase. View plans →