@gluestack-ui/nativewind
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@gluestack-ui/nativewind

Installation

To use gluestack-ui components with nativewind, all you need to do is install the @gluestack-ui/nativewind package:

$ yarn add @gluestack-ui/nativewind react-native-svg@13.4.0

# or

$ npm i @gluestack-ui/nativewind react-native-svg@13.4.0

Usage

A button component is a graphical user interface element that enables users to act by clicking or tapping. It can be customized in size, shape, color, and behavior to fit the design of the application or website. Here's an example:

import { Button } from '@gluestack-ui/nativewind';

export default function App () {
 return (
     <Button className="px-2 py-4 bg-blue-500" >
      <ButtonText className="text-white">
        Hello world!
      </ButtonText>
     <Button>
  )
}

More guides on how to get started are available here.

Package Sidebar

Install

npm i @gluestack-ui/nativewind

Weekly Downloads

4

Version

0.0.2

License

ISC

Unpacked Size

196 kB

Total Files

569

Last publish

Collaborators

  • sravankumarvelangi
  • vaibhk002
  • daminipandey
  • rayan1810
  • amars29
  • geekgautam
  • gluestackadmin
  • geekashwini
  • vidhi499
  • mayankp06
  • madhavb230100
  • viraj-10
  • rohit_singh
  • ankit-tailor
  • meenumakkar
  • surajahmedc