2.0.0 • Published 11 months ago

nsc-component-library v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

NSC Component Library

A customizable React component library built with TypeScript, Rollup, and Storybook.

Installation

To install the NSC Component Library, run the following command in your project directory:

npm install nsc-component-library

Usage

After installation, you can import and use the components in your React application:

import React from 'react';
import { Button, Input } from 'nsc-component-library';

const MyComponent = () => (
  <div>
    <Button variant="primary" size="medium">
      Click me
    </Button>
    <Input type="text" placeholder="Enter text" />
  </div>
);

export default MyComponent;

Make sure to import the component library's CSS in your project:

import 'nsc-component-library/dist/index.css';

Available Components

The library includes the following components:

  • Accordion
  • Alert
  • Badge
  • Breadcrumbs
  • Button
  • Card
  • Checkbox
  • Dropdown
  • Input
  • Modal
  • Pagination
  • Radio
  • Select
  • Tabs
  • TextArea
  • Toggle
  • ToolTip

Each component comes with various props for customization. Refer to the component's documentation or TypeScript definitions for detailed usage instructions.

Theming

The library supports theming. You can switch between themes by applying the appropriate CSS class to a parent element.

Development

To run the Storybook development environment:

npm run storybook

To build the library:

npm run build

Contributing

Contributions are welcome! Please read our contributing guidelines for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the ISC License.

2.0.0

11 months ago

1.9.9

11 months ago

1.9.8

11 months ago

1.9.7

11 months ago

1.9.6

11 months ago

1.9.5

11 months ago

1.9.4

11 months ago

1.9.3

11 months ago

1.9.2

11 months ago

1.9.1

11 months ago

1.9.0

11 months ago

1.8.9

11 months ago

1.8.8

11 months ago

1.8.7

11 months ago

1.8.6

11 months ago

1.8.5

11 months ago

1.8.4

11 months ago

1.8.3

11 months ago

1.8.2

11 months ago

1.8.1

11 months ago

1.8.0

11 months ago

1.7.9

11 months ago

1.7.8

11 months ago

1.7.7

11 months ago

1.7.6

11 months ago

1.7.5

11 months ago

1.7.4

11 months ago

1.7.3

11 months ago

1.7.2

11 months ago

1.7.1

11 months ago

1.7.0

11 months ago

1.6.9

11 months ago

1.6.8

11 months ago

1.6.7

11 months ago

1.6.6

11 months ago

1.6.5

11 months ago

1.6.4

11 months ago

1.6.3

11 months ago

1.6.2

11 months ago

1.6.1

11 months ago

1.6.0

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.3.0

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago