• CODE
  • STRUCTURE
  • HUMAN
  • DOCS

How to extract design layer details with your agent

Connect Lanhu to your AI client once. From then on, your agent can read design files to pull the exact layer names and properties you need for development.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I get layer names and properties using AI?

Your agent uses Lanhu to access design files and list each layer and its specific properties. This gives you the exact data needed to write accurate code. You'll see how your agent handles these files below.

The results.

Where the data lands.

Your agent processes the design file and organizes the information into these outcomes.

CODE

Exact CSS values

Your agent pulls specific properties like hex codes or spacing. You get the exact numbers to use in your stylesheets.

STRUCTURE

Layer name mapping

Your agent identifies each layer name in the file. This ensures your component names match the design hierarchy.

HUMAN

Manual design review

Your agent flags discrepancies between layers. You decide if the design needs a fix before you start coding.

DOCS

Design system specs

Your agent extracts repeated properties. You can use this to build out your local design tokens.

The workflow

What your agent does when the file arrives.

Your agent handles the heavy lifting of navigating the design file structure.

  1. Access the file

    Your agent locates and opens the specific design file you point it toward.

    get_file
  2. Scan the hierarchy

    Your agent looks through the entire file to see how everything is organized.

    list_layers
  3. Identify properties

    Your agent reads the specific attributes of each layer it finds.

    list_layers
  4. Format for dev

    Your agent organizes the layer names and values into a format you can use in your editor.

    list_layers

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Lanhu tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin interacting with your design files.

Starting points

These are opening lines. Swap out the file names and layer descriptions with your own specifics.

Lanhu Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_4iCH3CfiI2AC3jXYEzpWp1PeEIfLrczfwHOLhlzu/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Lanhu capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "lanhu-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_4iCH3CfiI2AC3jXYEzpWp1PeEIfLrczfwHOLhlzu/mcp"
    }
  }
}
Copy into chat04
  • 01

    List all the layer names in the 'LandingPage_v2' design file.

  • 02

    What are the hex codes and font sizes for the layers in the 'Mobile_App_Header' file?

  • 03

    Find the specific layer named 'Primary_Button' in the 'Dashboard_UI' file and give me its padding values.

  • 04

    Check the 'Hero_Section' file and list all the layer properties for the background elements.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Lanhu once, then ask.

Click the link to connect. Your credentials stay encrypted, and you can immediately start asking your agent about your design files.

Connect Lanhu to your agent

FAQ

How this task behaves.

  • 01

    Can your agent change the design layers?

    No. Your agent can only read and list the layers and properties. It cannot modify the design file itself.

  • 02

    Does your agent delete any layers?

    No. This connector is read-only. It cannot delete or move anything in your design files.

  • 03

    Can I use this with Cursor?

    Yes, as long as you are using an MCP-compatible client like Cursor, it will work.

  • 04

    How does your agent know which file to look at?

    You tell your agent which file to access by providing the file name or path in your prompt.

  • 05

    Can your agent see the actual images in the layers?

    No. Your agent can see the layer names and their properties, but it cannot see or interpret the visual image content.

  • More questions about Lanhu? The Connector page answers them. See everything the Lanhu Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Lanhu to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Lanhu plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Lanhu to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.