@figma-gong/sds
v1.0.0
Published
SDS design system – primitives, compositions, and icons for Figma Make
Maintainers
Readme
SDS Design System (Figma Make)
React design system package: primitives, compositions, and icons for use in Figma Make.
Install
In a Figma Make file, ask the chat: install @your-scope/sds (replace @your-scope with your Figma org scope), or add to package.json:
"@your-scope/sds": "latest"Use
Import styles once in your app root (e.g.
main.tsxor root layout):import "@your-scope/sds/styles";This loads design tokens and component CSS. Required for correct styling.
Import components where needed:
import { Button, Card, Text, IconStar } from "@your-scope/sds";
Contents
- Primitives: Button, IconButton, Text, Input, Checkbox, Avatar, Dialog, Menu, Navigation, Pagination, etc.
- Compositions: Cards, Headers, Footers, Forms, Heroes, Panels
- Icons: IconStar, IconMenu, IconChevronDown, and many more
- Layout: Flex, Section, Grid
- Utils: AnchorOrButton, etc.
Publish (maintainers)
- In Figma: Make settings → Figma npm registry → Get started. Enter org scope, then Generate key (admin) and copy the snippet.
- In this repo root, add the snippet to .npmrc (or use
.npmrc.exampleas a template and paste the real snippet where indicated). - From repo root:
npm run build:lib - From this directory:
npm publish
Replace @your-scope in package.json with your actual scope before publishing.
