Uncodie
Technical DocumentationNo CodeTutorialsChangelogDisccord
Developers
Developers
  • 📖Documentation
    • Basic Concepts
      • Node JS
      • React
      • Postgres SQL
      • GraphQL
      • Git
      • API
  • 🔌API
    • Getting Started
      • Credentials
    • Users
      • Register User
    • Component Interface
      • Props
  • 🤖IDE
    • Getting started
    • Component View
      • CSS
      • Controller
      • Component
    • Compiler
    • Importing Code
      • Scripts
        • Manifest
      • Connectors
        • Manifest
      • Components
        • Manifest
    • Exporting Code
      • Design Systems
        • Custom React libraries
      • Guidelines
  • ⚙️Figma Plugin
    • Variables
      • Global Variables
      • Local Variables
      • Route Variables
      • Session Context
      • Window Variables
    • Actions
      • GraphQL Trigger
      • Refresh Query
      • Set Variable
      • Select and Navigate
  • 🎛️Settings
    • User Authentication
    • Git
    • External Deployment
    • Version Control
    • External DB Setup
    • SEO
Powered by GitBook
On this page
  • Overview
  • Setup
  • Use Cases
  • Data Binding
  • States
  • UX
  • Local Variables
  • Context Variables
  • Router Context
  • Session Context

Was this helpful?

  1. Figma Plugin

Variables

Real-time variable management for your app

Overview

You can make use of variables available at different scopes in the app structure. This will impact the app reloading and caching and the general performance of your project.

Setup

  1. Open your IDE in Figma

  2. Navigate to the Variables section

  3. Select the Scope of your variable

  4. Create a variable that will be available in the selected context

Use Cases

Data Binding

Use a variable to expose the var value in any component or CSS property.

For more information on data binding in Uncodie see:

States

Change components variants, or components visibility using variable values.

For more information using variants see:

UX

Navigate, and change screen behavior or user capabilities and permissions according to variables in your app.

Local Variables

Local context variables are component variables inherited from all the component children elements

Context Variables

Context variables are global variables available in all the applications.

Router Context

Router variables are params set in the URL of the screen that can be used to perform queries or app UX optimizations, for more information see:

Session Context

These are variables related to the user session in the app, such as email, user name, etc.

For more information in User Authentication settings see:

PreviousGuidelinesNextGlobal Variables

Last updated 1 year ago

Was this helpful?

⚙️
Router Variables
User Authentication
Logo
Logo