Universal Themed Components for React Native, Next.js, and React

@gluestack-ui/themed

Installation

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

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

# or

$ npm i @gluestack-ui/themed @gluestack-style/react 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, GluestackUIProvider } from '@gluestack-ui/themed';
import { config } from '@gluestack-ui/config';

export default function App () {
 return (
    <GluestackUIProvider config={config}>
     <Button>
      <ButtonText>
        Hello world!
      </ButtonText>
     <Button>
    </GluestackUIProvider>
  )
}

More guides on how to get started are available here.


Download details:

Author:
Source: https://www.npmjs.com/package/@gluestack-ui/themed

License:

#nextjs #javascript #typescript #react 

Universal Themed Components for React Native, Next.js, and React
3.65 GEEK