1.11.5 • Published 3 months ago

buildgrid-ui v1.11.5

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

buildgrid-ui

This lib is under construction, take a look again soon 🚧

A React component library built using Vite and shadcn as the foundation. This library is designed to integrate seamlessly with React and Next.js applications and includes support for TailwindCSS. It also provides a Storybook setup to display and document the components.

Features

  • Built with Vite for a fast development experience.
  • TailwindCSS Integration for utility-first styling.
  • shadcn Components as a robust base.
  • Storybook for component documentation and testing.
  • Semantic Versioning with automated releases using semantic-release.

Getting Started

Installation

To install the library, run:

npm install buildgrid-ui

or

yarn add buildgrid-ui

Usage

  1. Import a component in your React project:

    import { Button } from "buildgrid-ui";
    
    const App = () => <Button variant="primary">Click Me</Button>;
    
    export default App;
  2. Ensure TailwindCSS is configured in your project. Add the following imports to your styles.css file (or equivalent):

    @tailwind base;
    @tailwind components;
    @tailwind utilities;
  3. Include the tailwind.config.js content paths for buildgrid-ui:

    module.exports = {
      content: [
        "./src/**/*.{js,ts,jsx,tsx}",
        "./node_modules/buildgrid-ui/**/*.{js,ts,jsx,tsx}",
      ],
      theme: {
        extend: {},
      },
      plugins: [],
    };

Development

Setting Up the Project

Clone the repository and install dependencies:

git clone https://github.com/yourusername/buildgrid-ui.git
cd buildgrid-ui
npm install

Storybook

Run Storybook locally to preview and develop components:

npm run storybook

Build the Library

To build the library for production:

npm run build

The output will be in the dist/ directory, ready for publishing or integration.


Semantic Releases

This project uses semantic-release for automated versioning and releases.

Steps to Create a Pre-release

  1. Push changes to the designated pre-release branch (e.g., alpha):
    git checkout -b alpha
    git push origin alpha
  2. Pre-release versions (e.g., 1.0.0-alpha.1) will be automatically created.

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Submit a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License.

1.11.5

3 months ago

1.11.4

4 months ago

1.11.3

4 months ago

1.9.4

5 months ago

1.9.3

5 months ago

1.11.0

5 months ago

1.11.2

5 months ago

1.11.1

5 months ago

1.10.0

5 months ago

1.8.2

5 months ago

1.8.1

5 months ago

1.9.2

5 months ago

1.9.1

5 months ago

1.7.3

5 months ago

1.9.0

5 months ago

1.7.2

5 months ago

1.7.1

5 months ago

1.4.3

5 months ago

1.4.1

5 months ago

1.4.0

5 months ago

1.5.2

5 months ago

1.5.1

5 months ago

1.5.0

5 months ago

1.3.6

5 months ago

1.3.5

5 months ago

1.3.4

5 months ago

1.3.3

5 months ago

1.3.2

5 months ago

1.3.1

5 months ago

1.3.0

5 months ago

1.2.0

5 months ago

1.1.0-dev.23

6 months ago

1.1.0-dev.22

6 months ago

1.1.0-dev.25

6 months ago

1.1.0-dev.24

6 months ago

1.1.0-alpha.10

5 months ago

1.1.0-dev.26

6 months ago

1.1.0-dev.29

6 months ago

1.1.0-dev.28

6 months ago

1.1.0-dev.21

6 months ago

1.1.0-dev.20

6 months ago

1.1.0-dev.18

6 months ago

1.1.0-dev.19

6 months ago

1.1.0

5 months ago

1.1.0-dev.41

5 months ago

1.1.0-dev.40

5 months ago

1.1.0-dev.42

5 months ago

1.1.0-dev.34

6 months ago

1.1.0-dev.33

6 months ago

1.1.0-dev.36

6 months ago

1.1.0-dev.35

6 months ago

1.1.0-dev.38

6 months ago

1.1.0-dev.37

6 months ago

1.1.0-alpha.9

5 months ago

1.1.0-alpha.8

5 months ago

1.1.0-dev.30

6 months ago

1.1.0-dev.31

6 months ago

1.1.0-dev.17

6 months ago

1.1.0-dev.15

6 months ago

1.1.0-dev.14

6 months ago

1.1.0-dev.13

6 months ago

1.1.0-dev.12

6 months ago

1.1.0-alpha.7

6 months ago

1.1.0-dev.11

6 months ago

1.1.0-dev.10

6 months ago

1.1.0-dev.9

6 months ago

1.1.0-dev.8

6 months ago

1.1.0-dev.7

6 months ago

1.1.0-dev.6

6 months ago

1.1.0-dev.5

6 months ago

1.1.0-alpha.6

6 months ago

1.1.0-alpha.4

6 months ago

1.1.0-alpha.3

6 months ago

1.1.0-alpha.2

6 months ago

1.1.0-alpha.1

6 months ago

1.0.0

6 months ago

0.0.1-alpha.1

6 months ago