Skip to content

A package of small but beautiful React components from the planet, Pluto. πŸ”΅ Get minimal components for your React based applications 😍

License

Notifications You must be signed in to change notification settings

CodeFaceIO/react-pluto

Β 
Β 

Repository files navigation

React Pluto Component Design System + UI Kit

Product Hunt Banner (Light)

A package of small but beautiful React components from the planet Pluto. To install the latest version, run this installation command.

Open in Gitpod

React Pluto Components - Small but beautiful React components from the planet Pluto. | Product Hunt

npm install react-pluto --save-dev

How to import and start using Pluto Components

  • For an instance, consider a component view named as ScreenView, and we need to use a button component.
import { Button } from 'react-pluto';

export default function ScreenView() {
    return (
        <div className="screen-view">
            <Button>
                Pluto Button
            </Button>
        </div>
    )
}
  • Passing custom properties is extremely easy in these components. You can easily pass style, className, id, methods, actions as props.
import { Button } from 'react-pluto';

export default function ScreenView() {
    return (
        <Button style={{ background: 'black', color: 'white', width: '100%' }}>
            Pluto Button
        </Button>
    )
}
import React, { useState } from 'react';
import { Button } from 'react-pluto';

export default function ScreenView() {
    const [currentValueRef, setCurrentValue] = useState(0);
    return (
        <React.Fragment>
            <h2>Current Value is: {currentValueRef}</h2>
            <Button onClick={() => setCurrentValue(++currentValueRef)}> 
                Pluto Button
            </Button>
        </React.Fragment>
    )
}

Tools and Technologies used

We would love if you will raise issues and new feature requests to make this library more better. Thanks for checking out, hope you liked it, if yes then please leave a star ⭐

About

A package of small but beautiful React components from the planet, Pluto. πŸ”΅ Get minimal components for your React based applications 😍

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.2%
  • CSS 20.5%
  • SCSS 18.0%
  • HTML 12.3%