Safe React Components

screenshot of Safe React Components
react
material-ui

Safe react component library

Overview

This repository contains a theming and a set of useful React components written in TypeScript. These components and theming are used to build the Safe web and desktop app. They can also be used to build Safe Apps, which are integrated third-party applications for Safe. The components provide a native feel, solve common blockchain-related problems, and save time by eliminating the need to build components from scratch.

Features

  • Native feel: Build Safe Apps with a similar style as the Safe app, creating a native experience.
  • Blockchain-focused: Includes components that solve common blockchain-related problems like inputs for ETH addresses and bigNumbers, as well as identicon images.
  • Time-saving: Eliminates the need to build all components from scratch, saving development time.

Summary

This repository contains a theming and component library for building Safe Apps, integrated third-party applications for Safe. The components provide a native feel, solve blockchain-related problems, and save time by eliminating the need to build components from scratch. The installation process involves installing dependencies, instantiating the SafeThemeProvider, and using the components in your application.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

material-ui
Material UI

material-ui adds classes to Tailwind CSS for all common UI components. Classes like btn, card, etc. This allows us to focus on important things instead of making basic elements for every project.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.