Code Monkey home page Code Monkey logo

star-ui's Introduction

star-ui

This is a design system. Feel free to raise any issue or PR.

Introduction

So star-ui is a monorepo created using yarn workspace. There are 3 packages:

  1. docs
  2. star-ui
  • docs is documentation for star-ui. It should automatically create documentation from component. Possibly I can use the storybook docs addon directly. I am not sure. The idea is to generate it, not write it manually.
  • star-ui is the root package in the project. This will contain all components.

Installation

using npm

npm install react-star-ui

or yarn

yarn add react-star-ui

Getting Started

Clone the repo

git clone [email protected]:akkssh/star-ui.git

After that, run the below command in the root directory to install all dependencies across all packages

yarn install

Run the below command to run storybook server and start working:

yarn start-docs

Cheers ๐Ÿป

star-ui's People

Contributors

akashdp3 avatar dependabot[bot] avatar

Stargazers

 avatar Prithviraj Khelkar avatar Shubham Kathe avatar

Watchers

 avatar

star-ui's Issues

Alert Component

Create a alert component with following config:

variants:

  • Error
  • Warning
  • Info
  • Success

This component will show different icons according to the variant and default close button.

Fix build error in Spinner

Error:

No overload matches this call.
Overload 1 of 2, '(props: Pick<Pick<Pick<DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>, "slot" | "style" | ... 252 more ... | "is"> & { ...; }, "ref" | ... 254 more ... | "is"> & Partial<...>, "ref" | ... 254 more ... | "is"> & { ...; } & { ...; }): ReactElement<...>', gave the following error.
Type '{ size?: "sm" | "md" | "bg" | undefined; borderColor?: string | undefined; borderLeftColor?: string | undefined; }' has no properties in common with type 'IntrinsicAttributes & Pick<Pick<Pick<DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>, "slot" | ... 253 more ... | "is"> & { ...; }, "ref" | ... 254 more ... | "is"> & Partial<...>, "ref" | ... 254 more ... | "is"> & { ...; } & { ...; }'.
Overload 2 of 2, '(props: StyledComponentPropsWithAs<"span", any, {}, never>): ReactElement<StyledComponentPropsWithAs<"span", any, {}, never>, string | ... 1 more ... | (new (props: any) => Component<...>)>', gave the following error.
Type '{ size?: "sm" | "md" | "bg" | undefined; borderColor?: string | undefined; borderLeftColor?: string | undefined; }' has no properties in common with type 'IntrinsicAttributes & Pick<Pick<Pick<DetailedHTMLProps<HTMLAttributes, HTMLSpanElement>, "slot" | ... 253 more ... | "is"> & { ...; }, "ref" | ... 254 more ... | "is"> & Partial<...>, "ref" | ... 254 more ... | "is"> & { ...; } & { ...; }'.

Create a stack stucture

Stack component should structure its children nodes in a single line with spaces in between

Create a stack stucture

Stack component should structure its children nodes in a single line with spaces in between

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.