You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@trendui/react-native

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@trendui/react-native

A modern UI component library for React Native

latest
Source
npmnpm
Version
1.8.6
Version published
Maintainers
0
Created
Source

TrendUI - React Native UI Library

TrendUI is a modern and lightweight React Native UI library designed to simplify mobile app development. It offers a collection of customizable, prebuilt components to help developers build beautiful, performant, and consistent user interfaces with ease.

✨ Key Features

  • Wide Range of Components: Includes versatile components such as Button, TextInput, Image, Select, and more.
  • Customizable & Flexible: Fully customizable components with support for styles, themes, and variants to match your design system.
  • Easy CLI Integration: Use the TrendUI CLI to initialize or add components seamlessly to your project.
  • Optimized for React Native: Tailored for performance and smooth rendering on both iOS and Android platforms.
  • Supports TailwindCSS: Integrated support for twrnc and nativewind for rapid styling with TailwindCSS utility classes.

🚀 Getting Started

Follow these steps to set up TrendUI in your React Native project.

1. Installation

Install the library and required peer dependencies:

Using npm:

npm install @trendui/react-native --save

Using yarn:

yarn add @trendui/react-native

2. CLI Setup (Optional)

TrendUI provides a CLI to streamline the process of adding components to your project.

npm link

Use the CLI Commands:

  • Initialize TrendUI in your project:

    npx trendui init
    
  • Add Specific Components:

    npx trendui add button textinput
    
  • List Available Components:

    npx trendui list
    

📦 Components List

TrendUI comes with a variety of prebuilt components:

ComponentDescription
ButtonA customizable button component
TextInputA flexible input field for user text
ImageAn image component with animation loader
TextStyled text component with themes
SelectDropdown component for selections
AccordionAccordion component for collapsible items
AvatarAvatar component for with mutiple variants
BadgeBadge component with multiple styling
TabsTabs component with multiple select options
CardCard component with multiple customization
CheckboxCheckbox component with conditional support

🔧 Configuration

Create a trendui.config.js file in the root of your project to configure where components are installed.

module.exports = {
  componentPath: "/trendui", // Path where components will be added
};

📘 Available CLI Commands

CommandDescription
npx trendui initInitialize TrendUI in your project
npx trendui add <name>Add specific components to your project
npx trendui listList all available components

🧩 Directory Structure

After installing components, your project structure will look like this:

/trendui
    /Button
      Button.tsx
      index.tsx
      Readme.md
    /TextInput
      TextInput.tsx
      index.tsx
      Readme.md
    index.tsx

The index.tsx file will auto-export all components, allowing you to import components seamlessly:

import { Button, TextInput } from "@/trendui";

🌟 Contribution

Contributions are always welcome! To contribute:

  • Fork the repository.
  • Create a new branch: feature/your-feature-name.
  • Commit your changes: git commit -m "Add a new feature".
  • Push the changes: git push origin feature/your-feature-name.
  • Submit a pull request.

🛡 License

This project is licensed under the MIT License.

💬 Support

If you face any issues or have suggestions, feel free to open an issue in the repository.

🎉 Stay Updated

Follow TrendUI on GitHub to get the latest updates and features.

Enjoy building your React Native apps faster and better with TrendUI! 🚀

Keywords

react-native

FAQs

Package last updated on 18 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts