rplus-component
v1.0.10
Published
React component library with Tailwind CSS styling
Maintainers
Readme
RPlus Components
A modern React component library with Tailwind CSS support.
Installation
npm install @your-username/rplus-componentsUsage
import { Button, Shimmer } from '@your-username/rplus-components';
import '@your-username/rplus-components/dist/styles.css';
function App() {
return (
<div>
<Button isLoading={false} width={120} height={40}>
Click Me
</Button>
<Shimmer width={200} height={20} />
</div>
);
}Components
Button
width?: number- Button width in pixelsheight?: number- Button height in pixelsisLoading?: boolean- Show shimmer loading stateclassName?: string- Additional CSS classesonClick?: () => void- Click handlerdisabled?: boolean- Disable button
Shimmer
width?: number- Shimmer width in pixelsheight?: number- Shimmer height in pixelsclassName?: string- Additional CSS classes
License
MIT
