senirupa

0.2.0 • Public • Published

Senirupa

Senirupa is a tool for React design. 🎨

  • Easy to use
  • Customizable
  • Lightweight
  • Component base

Install

To install Senirupa

  npm i senirupa --save

Icon Usage

Check the example folder for more details. Example

import { IconArrowUp } from 'senirupa';

function App() {
	return (
		<div className='App'>
			<IconArrowUp color='#ffffff' size='30px' />
		</div>
	);
}

Icon Props

Add props for icon customization, all data types are string.

Props Default Description
size 18px Change icon size
color #000000 Change icon color
weight 2 Change icon weight
lineCap round Change strokeLineCap icon - ( round, butt, square )
lineJoin round Change strokeLineJoin icon - ( round, bevel, arcs )

Authors

License

MIT

Package Sidebar

Install

npm i senirupa

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

246 kB

Total Files

3

Last publish

Collaborators

  • firmnardians