reactic-ui

1.0.3 • Public • Published
reactic-ui

reactic-ui

It is a package containing basic ui components for ReactJS.

NPM JavaScript Style Guide

Install

npm install --save reactic-ui

Usage

import React from 'react'
import { Button, Submit } from 'reactic-ui'
import 'reactic-ui/dist/index.css'

const App = () => {
  return(
   <>
   <Button>Basic Button</Button>
   <Submit>Send Form</Submit>
   </>
  );
}
export default App;

Props

In addition to the following features, you can also give the onClick or onFocus function.:

Prop Type Required Default Note
type string No mosaic Button style. Possible options are: mosaic, grid, edge.
size string No medium Size value of the button. Possible options are: small, medium, large.
dark bool No false Inverts colors if your page has dark mode.

Advanced Usage

import React from 'react'
import { Button, Submit } from 'reactic-ui'
import 'reactic-ui/dist/index.css'

const App = () => {
  return <Button type="edge" size="small" dark={true}>Disable Dark Mode</Button>
}
export default App;

License

MIT © icetinturkey

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.30
1.0.20
1.0.10
1.0.01

Package Sidebar

Install

npm i reactic-ui

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

13.8 kB

Total Files

7

Last publish

Collaborators

  • icetinturkey