Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smart-react-components

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-react-components

React UI library, wide variety of editable ready to use Styled and React components.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Smart React Components

React UI library which provides a wide range of editable Styled and React components.

Documentation

Visit the documentation page for more information and demo about SRC.

Installation

SRC is available as a package on NPM for use with a module bundler.

# NPM
$ npm install smart-react-components

# Yarn
$ yarn add smart-react-components

Features

  • Wide variety of editable ready to use Styled and React components.
  • All components bundled separately.
  • Customizable theme.
  • Server side rendering.
  • Written in TypeScript.
  • I18n support.

Environment Support

:white_check_mark::white_check_mark::white_check_mark::white_check_mark::white_check_mark::x::white_check_mark::white_check_mark:

Usage

After attaching the SRC theme to the Styled Components theme context, you are ready to use all the Styled and React components of SRC.

import React from "react"
import {render} from "react-dom"
import {ThemeProvider} from "styled-components"
import srcTheme from "smart-react-components/theme"
import H1 from "smart-react-components/element/H1"

render(
  <ThemeProvider theme={{src:srcTheme}}>
    <H1 color="primary">Hello World!</H1>
  </ThemeProvider>,
  document.getElementById("app")
)

License

SRC is provided under the MIT License.

Keywords

FAQs

Package last updated on 09 May 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc