@getscale/getscale-ui v0.2.25
GetScale Storybook Component Library
A modern React component library built with Vite, Storybook, and Tailwind CSS. This library provides a collection of reusable UI components with comprehensive documentation and interactive examples.
Features
- šØ Modern UI components built with React
- š Interactive documentation with Storybook
- šÆ TypeScript support
- šØ Tailwind CSS for styling
- š¦ Easy to install and use
- š§ Customizable theming
- š± Responsive design
- āæ Accessibility focused
Installation
- Create a
.npmrcfile in your project root:
@getsales-inc:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_AUTH_TOKEN- Install the package:
npm install @yazan-getscale/getscale-storybook- Import the styles in your main application file:
import '@yazan-getscale/getscale-storybook/dist/styles.css';Project Structure
src/
āāā components/ # React components
āāā stories/ # Storybook stories and documentation
āāā theme/ # Theme configuration
āāā utils/ # Utility functions
āāā assets/ # Static assets
āāā styles.css # Global stylesDevelopment
- Clone the repository
- Install dependencies:
npm install- Start Storybook:
npm run storybook- Build the library:
npm run buildAvailable Scripts
npm run dev- Start development servernpm run build- Build the librarynpm run storybook- Start Storybooknpm run build-storybook- Build Storybooknpm run lint- Run ESLintnpm run preview- Preview the build
Dependencies
Core Dependencies
- React (>=17.0.0)
- React DOM (>=17.0.0)
- Tailwind CSS
- TypeScript
Development Dependencies
- Vite
- Storybook
- ESLint
- PostCSS
- Various Storybook addons
Publishing
To publish a new version:
- Update the version in
package.json - Run the build:
npm run build- Publish to npm:
npm publish- In your project, update the package:
npm update @yazan-getscale/getscale-storybookContributing
- Create a new branch for your feature
- Make your changes
- Write or update stories for your components
- Submit a pull request
License
MIT License - see LICENSE file for details
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago