open-index/open-npm huggingface dataset:
npm package: @figma/cc-alpha
Description: An experimental NPM package designed for sampling React development apps at runtime, collecting examples of rendered React components. These examples are then used by Figma to establish a link between your implemented components and their original designs
Latest version: 1.0.6-alpha

# Figma CC Alpha

An experimental NPM package designed for sampling React development apps at runtime, collecting examples of rendered React components.
These examples are then used by Figma to establish a link between your implemented components and their original designs.
You must be enrolled in this alpha program to successfully use this package.

## Installation

```
npm install @figma/cc-alpha
```

then

```
import CodeConnect from "@figma/cc-alpha"

CodeConnect.init({
    apiToken: "xxx-xxxx"
    orgId: "xxxxxx"
})

React.render()
```

## Running
Start your development environment. If everything is set up correctly:
	•	A small Figma icon will appear in the bottom-right corner of your screen.
	•	Clicking the Figma icon will open additional options.

## Looking for Code Connect?
https://www.npmjs.com/package/@figma/code-connect
npm package: @figma/code-connect
Description: A tool for connecting your design system components in code with your design system in Figma
Author: Figma
Latest version: 1.4.3

# Code Connect

Code Connect is a tool for connecting your design system components in code with your design system in Figma. When using Code Connect, Figma's Dev Mode will display true-to-production code snippets from your design system instead of autogenerated code examples. In addition to connecting component definitions, Code Connect also supports mapping properties from code to Figma enabling dynamic and correct examples. This can be useful for when you have an existing design system and are looking to drive consistent and correct adoption of that design system across design and engineering.

Code Connect is easy to set up, easy to maintain, type-safe, and extensible. The easiest way to get started is using **template files** — a framework-agnostic way to represent any code snippet, giving you full control over how components appear in Dev Mode. Code Connect also includes framework-specific integrations for React (and React Native), Storybook, HTML (e.g. Web Components, Angular and Vue), SwiftUI and Jetpack Compose.

![image](https://static.figma.com/uploads/d98e747613e01685d6a0f9dd3e2dcd022ff289c0.png)

> [!NOTE]
> Code Connect is available on Organization and Enterprise plans and requires a full Design or Dev Mode seat to use.

## Documentation

Use Figma’s Code Connect to make your design system easily accessible to your developers and create a shared source of truth for both the design and code elements.

Our Getting Started guide will walk you through setting up Code Connect and publishing your first components using template files. **[Code Connect Documentation →](https://developers.figma.com/docs/code-connect/)**

For framework-specific prop mapping and variant support, see the integration guides for:

- **[React (and React Native) →](https://www.figma.com/code-connect-docs/react)**
- **[HTML (e.g. Web Components, Angular and Vue) →](https://www.figma.com/code-connect-docs/html)**
- **[SwiftUI →](https://www.figma.com/code-connect-docs/swiftui)**
- **[Jetpack Compose →](https://www.figma.com/code-connect-docs/compose)**