app/client/packages/design-system/ads/src/Documentation/Introduction.mdx
import { Meta } from "@storybook/blocks";
<Meta title="ADS/Docs/Introduction" />This site contains examples and documentation of all of the building blocks used to build the Appsmith platform. This re-write of Appsmith design system is significantly different from the previous iteration and requires you to understand a few basic concepts in order to maximise your productivity as a designer/engineer consuming ADS 2.0.
Designers can access the components and tokens from ADS2.0 through Figma’s asset library panel.
Toggle the ADS2.0 components and Icon libraries from the Figma asset library panel, as shown above. You will see all the components and icons show up here. Drag the desired component you want to use to your Figma canvas.
Ensure that you have the old library, referred to as Appsmith Design system, toggled off! This library will be deprecated soon.
The component library is available on npm and the source code on github.
To make changes to the library, refer to the README.
To use a specific component, refer to the docs for the component in the storybook here.
To use tokens created by ads in your own components, refer to the story in the storybook.
Design files you receive will almost certainly be using components or compositions of components alone. If you find that you are having to build a component from scratch, please confer with your designer if there’s an alternative using established components, or ask someone from the design-system team if you can develop the new component within the design-system repository, before proceeding to build the custom component. We are all responsible for ensuring the experience we deliver is consistent and as solid as a rock 🪨
Everything you design/code should be:
You have the provision to style your design using the tokens from ADS2.0 if the above two cases do not meet your need.
Every component and its comprising parts in ADS2.0 has been styled using design tokens in order to ensure consistency and to achieve cohesiveness across the components.
☝️ Remember this operating principle Use components from ADS2.0. If they do not meet your need and you have a unique use-case to design for, use tokens. Anything else is not accepted as it would break the consistency of the designs within the product.
Depends on keywords.Phew! That's a lot of steps. Fortunately, as our platform becomes more stable, this is a process we will need lesser of.
If you are outside of Appsmith, you can use the file published on Figma community
Note: This file is not actively maintained and will not get regular updates.