npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mb-react-component-libarary

v1.0.20

Published

**mb-react-component-library** is a versatile and customizable collection of accelerating web development.

Downloads

25

Readme

mb-react-component-library

Overview

mb-react-component-library is a versatile and customizable collection of accelerating web development.


Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Components
  5. Contributing

Features

  • Highly Reusaable: A set of components designed for reuse in various projects.
  • Customizable Styles: Easil adapt styles to fit our project design.
  • Documentation: Comprehensive documentation for quick integration and customization.
  • Active development: Regularl updated with new components and features.

Installation

Include instructions on how to install and set up your component library. You can use npm, yarn, or other package managers.

npm install mb-react-component-library

Components

  1. Typography - A flexible typography component that allows customization of font styles, sizes, and weights.

import { Typography } from 'mb-react-component-library';

const MyTypographyComponent = () => {
  return <Typography variant="heading">Hello, world!</Typography>;
};
export default MyTypographyComponent;
  1. Button - A customizable button component with support for various sizes, styles, and onClick handlers.

import { Button } from 'mb-react-component-library';

const MyButtonComponent = () => {
  return <Button backgroundColor={"success"} size={"small"} onClick={() => console.log('Button clicked')}>Click me</Button>;
};
export default MyButtonComponent;
  1. Card - A container component for organizing content with customizable styles and layouts.

import { Card } from 'mb-react-component-library';

const MyCardComponent = () => {
  return <Card title = {"Card Title"} imageUrl={"Give image path/url here"} description = {"Card Description"}firstButtonTitle = {"Learn More"} secondButtonTitle = {"Share"} ></Card>;
};
export default MyCardComponent;
  1. Carousel- An interactive carousel component for displaying images or other content in a rotating fashion.

import { Carousel } from 'mb-react-component-library';

const MyCarouselComponent = () => {
  return <Carousel data={[
        { img: 'https://images.unsplash.com/photo-1546182990-dffeafbe841d?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8YW5pbWFsfGVufDB8fDB8fHww', title: 'Lion'},
        { img: 'https://media.istockphoto.com/id/1253898581/photo/dog-celebrating-with-red-party-hat-and-blow-out.jpg?s=612x612&w=0&k=20&c=ny3b2B4_v_9FHFKQVBiXf9n2I6wGJqrvfW_AMFBVfaY=', title: 'Dog' }
        ]} />;
};
export default MyCarouselComponent;
  1. Header- A versatile Header component for creating navigation bars, page headers, or other top-level components. This component typically includes options for logos, navigation links, and user-related actions.

import { Header } from 'mb-react-component-library';

const MyHeaderComponent = () => {
  return (
    <Header title={"Storybook Header"} headerBgColor={"primary"}></Header>
  );
};
export default MyHeaderComponent;

Usage

import {Button} from "mb-react-component-library"

const ButtonComonent=()=>{
    return (
        <Button backgroundColor={primary}>Primary Button</Button>
    )
}

export default ButtonComponent;