npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rn-material

v1.4.1

Published

Modular and customizable Material Design UI components for React Native

Downloads

7

Readme

Material UI components for React Native Twitter Follow

React Native Material is a set of pre-built, cross-platform, highly customizable UI components that follow Material Design principles.

Latest Stable Version NPM Downloads GitHub issues Used Languages

App bar

Loved the project? Please share it with your friends and give it a ⭐️

☘️️ Try it out

Take a look at our example apps:

Run the Explorer App on your device

Download Expo Go app on your device and scan this QR code to get started.

Expo Go for iOS does not include a QR code scanner learn more. So you have to scan the code using the regular camera app.

Expo Go QR code

Run the Example app locally

Run the example app with Expo to see it in action. The source code is located under the /example folder.

⬇️ Installation

npm install @react-native-material/core

Or (If you're using yarn):

yarn add @react-native-material/core

🚀 Quick Start

Here's a quick example to get you started, it's literally all you need:

import React from "react";
import { Button } from "@react-native-material/core";

export default function App() {
  return <Button title="Button" onPress={() => alert("hi!")}/>;
}

🔌 Component API

<Appbar />

Try it out

The App bars displays information and actions relating to the current screen.

App bar

Prominent App bar

Bottom App bar

<Avatar />

Try it out

Avatars are found throughout material design with uses in everything from tables to dialog menus.

Avatar

<Backdrop />

Try it out

A backdrop appears behind all other surfaces in an app, displaying contextual and actionable content.

Backdrop

<Badge />

Try it out

A Badge represents dynamic information such as a number of pending requests in a Bottom Navigation or Tab Bar.

Badge

<Banner />

Try it out

A banner displays a prominent message and related optional actions.

Banner

<Button />

Try it out

Buttons allow users to take actions, and make choices, with a single tap.

Button

<Divider />

Try it out

A divider is a thin line that groups content in lists and layouts.

<FAB />

Try it out

A floating action button (FAB) represents the primary action of a screen.

Floating Action Button

<Surface />

Try it out

Material surfaces can be displayed in different shapes. Shapes direct attention, identify components, communicate state, and express brand.

Surface

<Typography />

Try it out

Use typography to present your design and content as clearly and efficiently as possible.

Typography

👍 Community

The community is your first stop for questions and advice about the framework. Welcome to the community!

StackOverflow

For crowdsourced answers from expert React Native Material developers in our community. StackOverflow is also frequented, from time to time, by the maintainers of React Native Material.

Post a question

GitHub

React Native Material uses GitHub issues as a bug and feature request tracker. If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been reported or fixed . You can search through existing issues and pull requests to see if someone has reported one similar to yours.

Open an issue

🤝 Contributing

Please take a look at Kanban where we have a roadmap for React Native Material community. Also, we have a list of good first issues that contain bugs that have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

📝 License

This library is licensed under the MIT License - see the LICENSE file for details.