# Input

### What It Does

Defines the entry points for data flowing into your graph. This node allows you to create named inputs that can be configured when the graph runs, making your graph reusable with different values.

### Inputs

| Name             | Description                                             | Type | Required |
| ---------------- | ------------------------------------------------------- | ---- | -------- |
| \[custom inputs] | Any named inputs you define become available as outputs | Any  | No       |

### Outputs

| Name                | Description                                     | Type |
| ------------------- | ----------------------------------------------- | ---- |
| \[matching outputs] | Each input you define creates a matching output | Any  |

![Input Example](https://3657049418-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy0SFXZjN1sdgdxYM7QPE%2Fuploads%2Fna3FhceuIUes7KkOx0Q2%2FScreenshot%202025-04-22%20at%206.22.55%E2%80%AFPM.png?alt=media\&token=e9f6d118-2bdd-43c9-8c3e-7fa2b613e124)

### How to Use It

1. Drag the Input node into your graph (usually at the left/beginning).
2. Click the "+" button to add a new named input (like "baseColor" or "spacing").
3. Set the type and default value for each input.
4. Connect the outputs to other nodes in your graph that need these values.
5. When the graph is used, these inputs can be configured externally.

### Tips

* You should only have one Input node per graph.
* Give your inputs clear, descriptive names that indicate their purpose.
* Set meaningful default values so the graph works well even without custom inputs.

### See Also

* **Output**: For defining what values are returned from your graph.
* **Constant**: For values that don't need to change between uses of the graph.

### Use Cases

* **Design System Components**: Create reusable components with configurable properties.
* **Theming**: Build a color scheme generator that takes base colors as inputs.
* **Layout Systems**: Define spacing algorithms that can adapt to different base units.
