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
  • Component Naming
  • Variant Handling
  • Component Structure
  • Component Logic
  • Continuous Integration

Was this helpful?

  1. IDE
  2. Exporting Code

Guidelines

UX/UI development guidelines for better performance and CI

Overview

Uncodie handles most Figma designer's practices out of the box, nevertheless, there are practices that when followed will help teams and projects get the best results for their projects and apps.

Most guidelines will be in terms of designer good practices, but there are team considerations to most of Uncodie Design Systems automation.

Component Naming

Uncodie will generate a computer name for your component by default and handle weird name cases as spaces or special characters, your CTO should provide component naming guidelines for every type of component, variant, or element in your library to match your coding style.

Example:

"principal button" will be exported into <PrincipalButton/>

Variant Handling

The variant name in your Figma component will be used as the variant name in your compiled main component. Your CTO should provide naming guidelines to achieve the most readable code for the team and developers while using your variants.

Component Structure

Every layer in your figma component is equivalent to a <div> layer in HTML, the best industry practice is to achieve your UX/UI with the minimal amount of layers possible to decrease layer rendering costs, file size, developing costs in code handling and CSS overhead and errors while designing use local variables and data binding for a fast start, but try to refactor your designs into the minimal layer structure possible.

Component Logic

You can start adding component actions, events, and GraphQL queries without any additional consideration in your components, all of the IDE functions are available for Design Systems as well.

Continuous Integration

To facilitate your app life cycle, you can add a CI between your app and uncodie libraries to pull and push your design changes automatically, this is especially important for big teams.

PreviousCustom React librariesNextVariables

Last updated 1 year ago

Was this helpful?

🤖