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

@appsmithorg/design-system

v2.1.42

Published

This is the package for the design system that powers the Appsmith platform

Downloads

4,101

Readme

npm package

Welcome to the Appsmith Design System repository! This repository contains the design system components, styles, and guidelines used across the Appsmith platform.

About Appsmith

Appsmith is an open-source, low-code application development platform that allows users to build business applications quickly and easily. The Appsmith Design System plays a crucial role in providing a consistent and visually appealing user interface across all Appsmith projects.

External Usage

To use the Appsmith Design System in your project, follow these steps:

Installation

npm install @appsmithorg/design-system

or

yarn add @appsmithorg/design-system

Including CSS

Add the css import in the root index css file

@import "~@appsmithorg/design-system/build/css/design-system.css";

Usage

import { Button } from "@appsmithorg/design-system";

<Button onClick={() => console.log("An ads button was clicked")}>
  Click me
</Button>

Contribute

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/appsmithorg/design-system.git

The repository you are cloing is a monorepo that contains several packages, each serving a different purpose.

  1. Navigate to the design-system directory
cd design-system/packages/design-system
  1. Get all dependencies with
yarn install

Then run storybook in development and watch mode with

yarn run storybook

Any stories you write within design-system/packages/design-system/src/** will show up here.

  1. To add a new component, use our template
yarn generate:component YOUR_NEW_COMPONENT_NAME

This generates all the scaffolding our components use. Simply replace the fields in caps lock and develop away!

  1. To ensure that any changes you make are not breaking any other components or their stories, run
yarn test-storybook

and fix any failures before you create a pull request.

Using your changes externally

This repository is a library, and for any changes made here to reflect in another repository, the maintainers will have to publish a release. To get your PR accepted,

  1. Add a link to your PR in #design-system and ask someone to generate a release for you. They will give you an alpha version.
  2. Replace the version of design-system in the appsmith repository with this alpha version.

To use your local version of the package, run

yarn link

in this repository, then copy instruction it outputs into the root directory of the repository you want to use this package in. Run

yarn install 

again to be able to import the components using

import { Button } from "@appsmithorg/design-system";

Links