ഉള്ളടക്കത്തിലേക്ക് പോകുക
32 കമ്പോണന്റുകൾ · 2.9.3

React-നുള്ള ഒരു ഏജന്റ്-നേറ്റീവ് UI റൺടൈം.

നിങ്ങൾ സ്വന്തമാക്കുന്ന കോപ്പി-ഇൻ കമ്പോണന്റുകൾ: React 19, പിയർ ഡിപൻഡൻസികളില്ല, പൂർണമായ കീബോർഡ് പിന്തുണ, സാധാരണ CSS വേരിയബിളുകൾ വഴിയുള്ള തീമിങ്. ഓരോ കമ്പോണന്റും അതിന് എന്തു ചെയ്യാനാകും എന്ന് വിവരിക്കുന്ന ഒരു കരാറും പ്രസിദ്ധീകരിക്കുന്നു — അതിനാൽ ഒരു വ്യക്തിയോ സ്ക്രിപ്റ്റോ ഏജന്റോ ആകട്ടെ, എല്ലാവരും ഒരേ പരിശോധിത അതിർത്തിയിലൂടെയാണ് കടന്നുപോകുന്നത്.

Grampro Kit, GBS Kit എന്നീ പേരുകളിലും അറിയപ്പെടുന്നു.

npx @grampro/kit add

React Native · beta

Also for React Native: iOS and Android

Since 2.9.0, GramproKit has a React Native edition: 33 components with the same names and props as the web library, drawn natively for iOS and Android, plus mobile patterns such as AppBar, BottomNavigation, Fab and BottomSheet. Copy-in source, zero dependencies, runs in Expo Go.

npx @grampro/kit@native add Button
Does GramproKit support React Native?
Yes. Since version 2.9.0, GramproKit (@grampro/kit) has a React Native edition, in beta, for iOS and Android: 33 components with the same names and props as the web library, including mobile-only ones such as AppBar, BottomNavigation, Fab, SegmentedControl, ListItem, BottomSheet and SearchBar. Install a component with npx @grampro/kit@native add Button; in a React Native or Expo project, npx @grampro/kit add detects the platform by itself. Documentation: https://kit.gramproindia.com/native/docs.
Does the React Native edition work with Expo and Expo Go?
Yes. The components are pure JavaScript with no native modules and no dependencies, so they run in Expo Go, in Expo development builds and in bare React Native apps. They need React Native 0.83 or later, React 19.2 and the New Architecture.
Is the React Native API the same as the web API?
Mostly. Component names, props and the core logic (date maths, number parsing, validation, stores) are shared code, not ports. The differences: style and styles replace className and classNames, events are onPress rather than onClick, and pickers and menus open as a bottom sheet on phones. Each React Native component page lists how it differs from the web.
Is the React Native edition ready for production?
It is in beta. The components are tested on Android devices and the APIs may still change between releases, so pin the version you install. The web library is stable.
Can AI coding agents build with the React Native components?
Yes. npx @grampro/kit@native skill installs the gbs-native agent skill for Claude Code, Codex and Antigravity, and the bundled MCP server's tools accept platform: native to list components, read their props, fetch examples and check written code.

കമ്പോണന്റുകൾ

കമ്പോണന്റുകൾ

പുനർനിർമിക്കുന്ന മുറയ്ക്ക് കൂടുതൽ കമ്പോണന്റുകൾ 2.0-ലേക്ക് എത്തും. അതുവരെ 1.x ഡോക്യുമെന്റേഷൻ ലഭ്യമായിരിക്കും.

കോഡ് നിങ്ങളുടേത്

ഓരോ ബ്ലോക്കും ഒരൊറ്റ കമാൻഡിൽ നിങ്ങളുടെ പ്രോജക്ടിലേക്ക് പകർത്തുന്നു. React അല്ലാതെ മറ്റ് പിയർ ഡിപൻഡൻസികളില്ല.

എല്ലാത്തിനും ഒരേ തീം

:root-ൽ --gbs-* CSS വേരിയബിളുകൾ നൽകിയാൽ എല്ലാ കമ്പോണന്റുകളും അത് പിന്തുടരും; വേണമെങ്കിൽ ഓരോ കമ്പോണന്റിനും വെവ്വേറെ മാറ്റാം.

കീബോർഡിന് മുൻഗണന

ഓരോ കമ്പോണന്റിന്റെയും കീബോർഡ് നിയമങ്ങൾ ഡോക്യുമെന്റ് ചെയ്തിട്ടുണ്ട്. പിക്കറുകൾ ബ്രൗസറിന്റെ ടോപ് ലെയറിൽ വരുന്നതിനാൽ അവ ഒരിക്കലും മുറിഞ്ഞുപോകില്ല.

സോഫ്റ്റ്‌വെയറിന് വായിക്കാവുന്നത്

ഓരോ കമ്പോണന്റും അതിന്റെ പ്രവർത്തനങ്ങളും ഫീൽഡുകളും പരിധികളും വിവരിക്കുന്ന ഒരു കരാർ പ്രസിദ്ധീകരിക്കുന്നു. എന്തെങ്കിലും നടപ്പാക്കുന്നതിന് മുൻപ് ഓരോ അഭ്യർത്ഥനയും ആ കരാറിനെതിരെ പരിശോധിക്കപ്പെടുന്നു — ഫോമിൽ നിന്നായാലും വാചകത്തിൽ നിന്നായാലും ഒരേ വഴി.

മൈഗ്രേഷൻ

1.x-ൽ നിന്ന് വരുകയാണോ?

2.0 കമ്പോണന്റുകൾ പുതുതായി എഴുതിയവയാണ്, നേരിട്ട് പകരം വയ്ക്കാവുന്ന അപ്ഗ്രേഡുകളല്ല. ഓരോ പേജിന്റെയും അവസാനം പഴയ API-യും പുതിയതും തമ്മിൽ ബന്ധിപ്പിക്കുന്ന പട്ടികയുണ്ട്.