Skip to main content

Vajra UI Core

Headless, zero-dependency React Native layout and primitive components. No theming, no color tokens, no default fonts, just shorthand style props for layout, spacing, and typography.

  • Headless: no default colors, borders, or fonts. Every prop maps directly to a React Native style value, you own the look.
  • Zero dependencies: only react and react-native as peer dependencies.
  • Layout primitives: Box, Row, Col, Center, AbsoluteCenter, Spacer, Separator, and a responsive Grid.
  • Typography & input: CoreText and CoreTextInput bring the same shorthand props to text and form fields.
  • Responsive utilities: useDimensions for screen-aware widths without a context provider.

Want pre-styled, token-driven components built on top of these primitives? See the styled sibling package, @devraj-labs/vajra-ui.

See Installation to get started, or browse the primitives directly.