Design System

Design system object gives meta-data about one specific design system.

Example Design System Payload

This is what the design system payload looks like:


                                                        
                                                        
                                                            {
                                                          "id": string
                                                          "workspaceId": string
                                                        
                                                          "name": string
                                                          "description": string
                                                        
                                                          "isPublic": boolean
                                                          "basePrefixes": [string]
                                                          "source": {
                                                            "type": "Supernova" | "Figma" | "Sketch"
                                                            "fileId": string | null
                                                            "fileName": string | null
                                                          }
                                                        }
                                                        
                                                            

Associated functions

You can use the following functions to retrieve information about design systems:

  • @ds.currentDesignSystem