Product Updates - Anima Blog https://www.animaapp.com/blog/product-updates/ Tue, 06 Aug 2024 11:26:28 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 New Feature Alert: Enhance Your Enterprise Security with Single Sign-On (SSO) Now Available in Anima’s Enterprise Plan https://www.animaapp.com/blog/enterprise/new-feature-alert-enhance-your-enterprise-security-with-single-sign-on-sso-now-available-in-animas-enterprise-plan/ https://www.animaapp.com/blog/enterprise/new-feature-alert-enhance-your-enterprise-security-with-single-sign-on-sso-now-available-in-animas-enterprise-plan/#respond Tue, 06 Aug 2024 11:26:28 +0000 https://www.animaapp.com/blog/?p=10123 Reading Time: 2 minutes Announcing the launch of Single Sign-On (SSO) support as part of our Enterprise Plan! This new feature is designed to enhance security, streamline access, and simplify user management for organizations of all sizes. With support for the Security Assertion Markup Language (SAML) protocol, we are taking authentication to the next level.

The post New Feature Alert: Enhance Your Enterprise Security with Single Sign-On (SSO) Now Available in Anima’s Enterprise Plan appeared first on Anima Blog.

]]>
Reading Time: 2 minutes

We are thrilled to announce the launch of Single Sign-On (SSO) support as part of our Enterprise Plan! This new feature is designed to enhance security, streamline access, and simplify user management for organizations of all sizes. With support for the Security Assertion Markup Language (SAML) protocol, we are taking authentication to the next level.

What is SSO and SAML?

Single Sign-On (SSO) is a powerful authentication process that allows users to access multiple applications with a single set of credentials. By integrating SSO, organizations can improve security and provide a seamless login experience for their teams. Gone are the days of juggling multiple usernames and passwords.

SAML, or Security Assertion Markup Language, is an open standard for exchanging authentication and authorization data between parties, in particular, between an identity provider (IdP) and a service provider (SP). SAML enables SSO by securely transmitting user identities from the IdP to the SP, ensuring that users can access resources without needing to re-enter credentials.

How SSO Works

Integrating SSO is a collaborative effort between us and the client. Here’s how the process works:

  1. Exchange of Information:

    To get started, the client provides us with their Identity Provider (IdP) metadata. This metadata includes essential details such as the IdP certificate, attribute mapping, and other necessary information.

  2. Configuration and Setup:

    In return, we provide the client with our Service Provider (SP) metadata, which includes our certificate, assertion service URL, and other relevant information. This exchange ensures that both parties have the necessary data to configure their systems securely.

  3. Seamless Login Experience:

    Once the setup is complete, users can enjoy a seamless login experience. After selecting the SSO option, users will enter their work email and continue. They will then be redirected to the IdP login page for authentication. Once authenticated, users will be redirected back to the web app to complete the login or signup process with Anima.

Why Choose SSO?

Implementing SSO offers several key benefits:

  • Enhanced Security: By centralizing authentication, SSO reduces the risk of password breaches and provides an additional layer of security. Users no longer need to manage multiple passwords, which reduces the likelihood of weak or reused passwords.
  • Streamlined Access: SSO simplifies the login process, allowing users to access multiple applications with a single set of credentials. This streamlined approach boosts productivity and eliminates the need to remember numerous passwords.
  • Simplified Management: For IT teams, SSO offers a centralized platform to manage user access and permissions. Onboarding and offboarding become more efficient, reducing administrative overhead and ensuring compliance with security policies.

Getting Started with SSO

This new SSO feature is available exclusively as part of our Enterprise Plan. If you’re interested in upgrading or learning more about how SSO can benefit your organization, please contact our sales team.

Stay tuned for more exciting updates!

 

The post New Feature Alert: Enhance Your Enterprise Security with Single Sign-On (SSO) Now Available in Anima’s Enterprise Plan appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/enterprise/new-feature-alert-enhance-your-enterprise-security-with-single-sign-on-sso-now-available-in-animas-enterprise-plan/feed/ 0
Convert Figma to React & Tailwind Automatically in VSCode https://www.animaapp.com/blog/product-updates/convert-figma-to-react-tailwind-automatically-in-vscode/ https://www.animaapp.com/blog/product-updates/convert-figma-to-react-tailwind-automatically-in-vscode/#respond Wed, 10 Jul 2024 18:18:01 +0000 https://www.animaapp.com/blog/?p=9978 Reading Time: 2 minutes Frontier seamlessly transforms Figma files into React code, perfectly integrating with your existing Tailwind configurations. Frontier meets you where you work, in VS Code.

The post Convert Figma to React & Tailwind Automatically in VSCode appeared first on Anima Blog.

]]>
Reading Time: 2 minutes

Are you a frontend developer who loves using Tailwind CSS for its utility-first approach and flexibility? If so, you understand the challenges of translating Figma designs into Tailwind-enhanced React components. Aligning new components with both design fidelity and your established styling conventions can be time-consuming.

That’s where Frontier comes in—a revolutionary tool that seamlessly transforms Figma files into React code, perfectly integrating with your existing Tailwind configurations. Frontier meets you where you work, in VS Code.

Effortless Figma to React Conversion in VSCode

  • Converting Figma designs into React components is more streamlined with Frontier. Here’s how it enhances your workflow:
  • Automatic Component Detection: Frontier scans your Figma design and identifies potential direct matches with existing React components in your codebase.
  • Component Reuse: Frontier generates code that reuses your existing components, enhancing efficiency and reducing code duplication.
  • Tailwind CSS Code Generation: Automatically generates the necessary React code with Tailwind classes applied, preserving the intended design aesthetics while adhering to your predefined styles.
  • Reduce Redundancy: This approach not only accelerates development but also helps keep your codebase clean and manageable.

(Not using VSCode? Translate Figma to Tailwind in Figma)

Seamless Integration with Your Tailwind Config

Frontier does more than just convert designs—it ensures the generated code integrates flawlessly with your existing project frameworks:

  • Tailwind Config Utilization: Detects and uses your tailwind.config.js file, allowing all generated components to inherit your custom styling rules automatically.
  • Intelligent Style Application: Ensures that every component not only matches the design specs but also aligns with your established Tailwind conventions. If needed, Frontier will generate new style configurations that you can then add to your original config file.

For front-end developers using Tailwind CSS, Frontier offers a powerful way to enhance your development workflow. It ensures precise translation of your Figma designs into React components and maintains style consistency through smart integration with your Tailwind setup.

Start using Frontier today and take your Tailwind projects to the next level, where design meets code not just with accuracy, but with style 😉

The post Convert Figma to React & Tailwind Automatically in VSCode appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/product-updates/convert-figma-to-react-tailwind-automatically-in-vscode/feed/ 0
Introducing Frontier’s New Feature: Code Injection https://www.animaapp.com/blog/product-updates/introducing-frontiers-new-feature-code-injection/ https://www.animaapp.com/blog/product-updates/introducing-frontiers-new-feature-code-injection/#respond Thu, 25 Jul 2024 06:58:19 +0000 https://www.animaapp.com/blog/?p=10078 Reading Time: 2 minutes This feature enhances your ability to seamlessly integrate generated code from Figma into your existing projects, saving time and reducing the need for manual copy-pasting.

The post Introducing Frontier’s New Feature: Code Injection appeared first on Anima Blog.

]]>
Reading Time: 2 minutes

We are excited to announce the release of a powerful new feature in Frontier: Code Injection. This feature enhances your ability to seamlessly integrate generated code from Figma into your existing projects, saving time and reducing the need for manual copy-pasting.

Why Did We Create Code Injection? 🤔

  1. We noticed that many of our users were exporting only parts of the code from Figma, often leading to broken implementations. A complete component needs all its pieces— index (TSX or JSX), CSS, assets, and the right styleguide references—to work properly.
  2. We heard from you that manually copying and pasting each file was quite tedious. Downloading assets from one place and uploading them to another? Yawn! 😴

We knew there had to be a better way. Enter Code Injection. We developed this feature to streamline your workflow, making the process of integrating design into development as seamless as possible.

How Does It Work? 🛠

Example Scenario: Implementing a Subscribe Modal Component

The Figma Design:

Figma design example
You open the Figma design and see that it includes:

  • A few input fields (that you already have in your code ✅ – <Input>)
  • A submit button (that you haven’t created in code yet ⭕)
  • A checkbox (that you haven’t created in code yet ⭕)
  • Some text and an icon (non-component elements)

1. Provide your design to Frontier in VScode

  1. Paste the Figma link
  2. Select the Modal component
  3. Click “Inject component”

 

2. The Injection magic:

  1. Frontier will detect that you already have an <input> component, but missing the <button> and <checkbox> components.
  2. Frontier will generate and inject the <button> and <checkbox> components to your source code, with all the necessary folders and files (e.g., tsx, CSS, assets).
  3. Frontier will build a <Modal> component:
    1. Components: imports your existing <input> component and the newly generated <button> and <checkbox> components
    2. Non-Component Elements: Frontier includes inline code for simple elements like text and icons directly within the generated component.

 

Code example

Here’s how the code for a “Modal” component might look after using Code Injection:Code inject example

Get Started 🚀

Try out the new Code Injection feature today and streamline your design-to-code workflow with Frontier! Your feedback is crucial as we continue to enhance Frontier’s capabilities.

Why Use Code Injection? 🌟

  • Efficiency: Automatically generate and integrate components directly into your project, reducing manual coding effort.
  • All-in-One: Generate your component with all its necessary files and assets in one click, streamlining your workflow.

Feel free to reach out if you have any questions or need assistance. We’re here to support your journey to more efficient and consistent coding!

Happy coding! ✨

Get Frontier

The post Introducing Frontier’s New Feature: Code Injection appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/product-updates/introducing-frontiers-new-feature-code-injection/feed/ 0
Figma to HTML Email: Converting Designs to HTML Email Templates with Inline CSS https://www.animaapp.com/blog/product-updates/figma-to-html-email-converting-designs-to-html-email-templates-with-inline-css/ https://www.animaapp.com/blog/product-updates/figma-to-html-email-converting-designs-to-html-email-templates-with-inline-css/#respond Thu, 25 Apr 2024 10:51:35 +0000 https://www.animaapp.com/blog/?p=9772 Reading Time: 3 minutes With Anima’s Figma plugin, you can convert your flex layouts directly into HTML email templates. We’ll do all the hard work of converting those into table layouts with inline CSS. You design freely in Figma, and we’ll do the heavy lifting of translating your vision into adaptive, pixel-perfect emails.

The post Figma to HTML Email: Converting Designs to HTML Email Templates with Inline CSS appeared first on Anima Blog.

]]>
Reading Time: 3 minutes

Figma to HTML Email 

In the world of digital marketing, your email isn’t just a message; it’s a first impression, a handshake, a personal invitation to your world. Recognizing the importance of polished and professional email designs, Anima is thrilled to announce a game-changing feature that’s set to revolutionize how designers and marketers alike create email templates.

Get Anima for Figma

Compatibility with a wide range of email clients

For designers who live and breathe in Figma, creating a responsive complex layout can test your patience. Making it compatible with a wide variety of email clients, that’s even harder. With Anima for Figma plugin, you can convert your flex layouts directly into HTML email templates. We’ll do all the hard work of converting those into table layouts with inline CSS. You design freely in Figma, and we’ll do the heavy lifting of translating your vision into adaptive, pixel-perfect emails. Compatibility with a wide range of email clients

Responsive layout for every device

Leveraging Figma’s auto-layout with Anima’s breakpoint to ensure your emails adapt to every screen size so your communications look and function as intended, regardless of whether your user viewed it on a desktop or a mobile.

– Auto-Layout Translation: Anima converts Figma’s auto-layout settings into responsive HTML tables, maintaining layout integrity across email clients.
– Breakpoint Integration: While many email clients don’t support responsive design, Anima includes inline CSS media queries for those that do, ensuring your emails look great on every device screen.Responsive layout for every device

Prioritizing Accessibility in Design

Our plugin utilizes Figma’s text styles to implement a clear and coherent heading structure, ensuring that your emails are not only visually appealing but also navigable and readable for all users. Additionally, we prioritize alt text for images, enhancing accessibility for visually impaired individuals and improving the SEO of your emails.Prioritizing Accessibility in email Design

Your Code Playground

Experience what your users see firsthand using Anima’s Playground. Edit your HTML and watch your designs transform in real-time. Once ready, just copy the final HTML code directly from the playground into your mail service of choice (e.g., Mailgun or Mailchimp).
Your HTML email Code in Playground

Code sample here
Figma email design template

Forward-Thinking Email Design

We understand that in the fast-paced world of digital marketing, efficiency is just as important as aesthetics. Now, you no longer have to sacrifice one for the other. Our commitment to innovation continues, and this new feature is just another step in our journey to streamline the design process without compromising quality.

From Figma to Inbox – Step-by-step guide

  1. Install Anima’s plugin and open it in Figma
  2. Add auto layout while designing.
  3. You can also add Links, breakpoints, GIFs, Headings, and Alt text.
  4. Select the framework & styling ‘HTML’ + ‘Email compatible’.
  5. Get code! Click ‘Open in Playground’ to preview and edit your HTML and CSS in Anima’s Playground environment.
  6. Copy the HTML code from the playground – The HTML contains your CSS, and Anima will host your images, so you are ready to send your emails!

Stay tuned as we continue to update and upgrade your Anima experience. Not part of the Anima family yet? Join us today and transform the way you create email templates forever.

 

Get Anima for Figma

*Some features might not work with some email clients.

The post Figma to HTML Email: Converting Designs to HTML Email Templates with Inline CSS appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/product-updates/figma-to-html-email-converting-designs-to-html-email-templates-with-inline-css/feed/ 0
Anima’s VSCode extension: Figma to React is now in your favorite IDE https://www.animaapp.com/blog/code/animas-vscode-extension-figma-to-react-is-now-in-your-favorite-ide/ https://www.animaapp.com/blog/code/animas-vscode-extension-figma-to-react-is-now-in-your-favorite-ide/#respond Tue, 19 Mar 2024 15:07:29 +0000 https://www.animaapp.com/blog/?p=9642 Reading Time: 2 minutes A big step toward becoming developers’ sidekick is Anima’s new VSCode extension, now available in beta. With the first beta, you’ll be able to turn Figma into code right inside Visual Studio Code.

The post Anima’s VSCode extension: Figma to React is now in your favorite IDE appeared first on Anima Blog.

]]>
Reading Time: 2 minutes

Update: Frontier, Figma to code in VSCode, is now accessible to all!

With almost 1M installs on Figma’s platform, Anima is leading the design to code space. As the next phase, Anima is evolving into a front-end coding assistant. In this article, we will cover the challenges our customers are having and how we address more of them by taking a more active part in helping R&D teams deliver faster daily.

A big step toward becoming developers’ sidekick is Anima’s new VSCode extension, now available in beta. With the first beta, you’ll be able to turn Figma into code right inside Visual Studio Code.

Anima’s code is clean, runnable, and has high fidelity compared to the Figma design. All you need in order to start is a link to a Figma file, and the rest append in the IDE. Select any layer, turn it into code, extract visual assets, and deliver great UX at half the time.

 

 

Today’s new beta means that Anima will now be available in developers’ home court. We have a great roadmap around how to interact with existing code and integrate smoothly into your workflow.

How to Turn Figma to React in Visual Studio Code

Here is the gist:

  1. Install Frontier, Anima for VS Code
  2. Paste a Figma link into Anima
  3. Select any part of the design to generate React code
  4. Assets are available under “Asset Manager”

Generative AI and Front-end Code Automation

As generative AI is slowly maturing, companies are experiencing AI tools and discovering the pros and cons of providing such solutions to their teams. AI in places such as email and document creation, as well as data analysis, is becoming a no-brainer.

GenAI tools in software development are less straightforward. These are the early days, and we are starting to see a variety of solutions for developers, ranging from chat interfaces to interactive WYSIWYGs, to coding completion, such as GitHub’s Copilot, and all the way to an “AI Developer agent” that tackles bugs.

When it comes to Front-end automation, we believe that there’s a big gap between what’s possible and what’s out there. And with Anima’s capabilities and our understanding of the space, we can do much more. 

A Developer’s Sidekick – Evolving into a Front-end coding Assistant

Gradually, Anima will help developers run faster and faster as they build and maintain front-end code. Mixing Anima’s code-gen engine with GenAI in multiple ways opens new doors to what’s possible. From building new workflows on top of existing code, and all the way to maintaining and governing design systems and even older legacy code.

If you wish to become a design partner and help us shape the future of Front-end, contact us.

Who is This For?

Any dev team building Front-end, starting with those building with React.

Anima’s front-end coding assistant does not compete with Github Copilot, Tabnine, or Amazon’s CodeWhisperer—it complements and expands the amount of coding you can automate.

With this first release, we start by bringing the same offering of today’s Anima to VSCode—Figma to React—runnable, pixel-perfect UI code. Next comes design-system integration and front-end code base maintenance and monitoring.

We’d love to hear your feedback, join the beta, and give it a spin 🙏

The post Anima’s VSCode extension: Figma to React is now in your favorite IDE appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/code/animas-vscode-extension-figma-to-react-is-now-in-your-favorite-ide/feed/ 0
Does Frontier support NextJS? https://www.animaapp.com/blog/genai/does-frontier-support-nextjs/ https://www.animaapp.com/blog/genai/does-frontier-support-nextjs/#respond Fri, 21 Jun 2024 07:43:53 +0000 https://www.animaapp.com/blog/?p=9992 Reading Time: 2 minutes Short answer: Yes!
Frontier will generate client components by default, when it detects NextJS. This is done by adding the ‘use-client’ statement at the beginning of the component declaration. 

The post Does Frontier support NextJS? appeared first on Anima Blog.

]]>
Reading Time: 2 minutes

Short answer: Yes!

Long answer:

NextJS is an extremely popular framework for ReactJS that provides quite a few benefits, one of which is the mix between server and client-side components. 

Server-only components are components that do not use/need state and can pull their data from external APIs without worrying about credentials falling into the wrong hands. They can only be rendered on the server. Server components may contain server and/or client components.

Client-only components are components that have the “use client” directive defined. A component that uses state and other React APIs needs to be a client component, but a client component doesn’t require state to function.

In Next.js, components are server components. This ensures that fully-formed HTML is sent to the user on page load. It’s up to the developer’s discretion to set the client boundaries. If components are not using state and are not making outward API calls, they can be implemented both as client and server, which is ideal. 

Since it can be quite complex to determine, which type of component a particular React component is (Server only, Client only, agnostic), Frontier will generate client components by default, when it detects NextJS. This is done by adding the ‘use-client’ statement at the beginning of the component declaration. 

This issue arises because it can be challenging to identify if the rendered component tree includes descendants that must be rendered on the client side. Without a ‘use client’ directive for those components, runtime errors may occur.

If you remove the ‘use-client’ and the code still builds with no errors, this means that the client boundaries have been set correctly, and you can let Next.js determine whether the component is rendered on the client or the server. If, on the other hand, removing it causes a build error, it means that one or more of the descendants uses client-only APIs, but hasn’t declared itself as a client component. In this case, you can add the ‘use-client’ statement in the code we’ve created, or add the directive directly inside of the offending descendant.

So, what’s the bottom line?

Short answer: Yes, Frontier supports NextJS!

Start here!

The post Does Frontier support NextJS? appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/genai/does-frontier-support-nextjs/feed/ 0
Introducing: Frontier, the future of front-end by Anima https://www.animaapp.com/blog/genai/introducing-frontier-the-future-of-front-end-by-anima/ https://www.animaapp.com/blog/genai/introducing-frontier-the-future-of-front-end-by-anima/#respond Thu, 16 May 2024 11:22:49 +0000 https://www.animaapp.com/blog/?p=9863 Reading Time: 4 minutes Frontier is the first AI coding assistant tailored for Front-end development.
It quickly analyzes your entire codebase, mapping your design system, frameworks, conventions, and components locally for maximum security. Using Anima’s advanced design-to-code engine, turn design into React, using your existing components.

The post Introducing: Frontier, the future of front-end by Anima appeared first on Anima Blog.

]]>
Reading Time: 4 minutes

In the age of generative AI, we expect AI to simply understand us. And in many cases, it already does. And it is pure magic when some tool provides exactly what you need, based on a tiny hint.

Our goal at Anima is to automate front-end engineering so humans don’t waste their time. During 2023, Anima’s AI produced over 750k code snippets, the equivalent of 1,000 years worth of human coding. With over 1 Million installs on Figma’s platform, Anima is leading the design to code space.

As the next phase, we take a deeper path into automating front-end day-to-day coding.

Today’s LLMs do not understand Front-end and UI

There are many models around code generation, from code completion to instructions. There are multiple popular Copilots – Coding assistants that help you code faster and are based on these code models.

However, when it comes to Front-end automation, we believe there’s a big gap between what’s out there and what’s possible. With Anima’s capabilities and our understanding of this domain, we’re aiming to solve this gap.

And so, today, we announce Frontier – An AI coding assistant for developers building Front-end.

Frontier in VSCode

Frontier – AI Code-gen with your code in mind, tailored for frontend

Anima Frontier meets developers where they’re at, the IDE. Starting with VSCode, the most popular IDE.

First, Frontier analyzes the entire codebase and maps your code design system, frameworks, conventions, and components. This part takes seconds and is done locally, so your code is as secure as possible.

Second, using Anima’s state-of-the-art design-to-code engine, Frontier analyzes your design and simply understands what’s in the design version and the code of the design system.

And lastly, you could pick any part of the Figma design right inside VSCode, and get code based on YOUR code. And it is magical.

Start Free

Check out this walkthrough of Frontier by Andrico, developer at Anima

Andrico thumbnail Frontier walkthrough

Increasing Design-system adoption with automation

Mature projects often have hundreds of components, if not thousands.
Design-system governance and adoption are challenging tasks that are crucial for maintaining these projects. Automation helps.

the safe path towards design-system adoption is automation

AI Security and Guardrails

Frontier was built from the ground up to offer an Enterprise-level secured solution.

AI adoption in Enterprise companies has more friction due to popular privacy concerns:

  • Egress privacy: How do we ensure that our code doesn’t “leak” into the LLM model through training, which means other companies might receive snippets of our code?
  • Ingress privacy: How do we ensure that other companies’ code that might have been fine-tuned or trained into the LLM, doesn’t enter our code base – causing security and potentially copyright concerns?

In order to generate code that integrates Anima’s interpretation of the Figma design, but uses the components in the user’s code base, we could have taken the easy way and simply trained the LLM around the code base. This has severe privacy and security implications, as we would have needed to upload a significant amount of user/enterprise code and train a custom LLM around it. We realize how critical security and privacy are, particularly to developers in Enterprise environments. We therefore took a completely different direction.

Instead of uploading code to the cloud, we implemented local data gathering, indexing, and ML models, locally, inside VS Code. These identify and index the relevant code on the developer’s machine. The gathered information is stored locally, as part of the code base, which means it can be shared securely within the team through Git – and not through the cloud. When a particular component needs to be instantiated, we are able to perform a significant amount of preprocessing locally and send the LLM in the cloud only a small amount of code and information it needs – not enough to expose the enterprise to any risk in Ingress or Egress. This innovative approach has the added benefit of performance, as most of the operations are done on the developer’s fast computer.

Under the hood of Frontier – LLMs, ML, and AI-first architecture

Anima Frontier is automating the front-end with AI, based on Anima’s vast experience in leading this space and utilizing the most advanced tech for the mission.

We often see impressive weekend projects that are 99% powered by LLMs and have amazing results 30% of the time. These are cool projects, but they are not suitable for professionals.

LLMs, as powerful as they are, open new doors but aren’t silver bullets; they require a supporting environment. At Anima, we test and benchmark, choosing the right tool for the right task. When it comes to LLMs, we provide them with context, validating their results and setting them up for success.

In the process of solving this complex problem, we broke it down into tens of smaller problems and requirements. Some problems require creativity and are solved best with LLMs, and specific models are faster and perform better than others. Some of these problems require classic Machine-learning / Computer Vision problems, i.e. classification rather than generation. Some are solved best with heuristics.

By combining the best-of-class solutions for each individual problem, we can produce mind-blowing results with minimal risk of LLM Hallucinations, which are so prevalent in LLM-based code solutions.

What’s next for Frontier

As we look to utilize everything possible with AI to help developers code Front-end faster, it feels that we’re just scratching the surface. Anima Frontier should be able to merge code with design updates, heal broken code, understand states and theming, name elements correctly, read specs, and think more and more like a human developer.

We have a rich list of features, and we need you to tell us what bothers you most and what you’d expect AI to do for front-end developers today. Join the conversation on Anima’s Discord channel.

 

Start Free

 

The post Introducing: Frontier, the future of front-end by Anima appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/genai/introducing-frontier-the-future-of-front-end-by-anima/feed/ 0
Announcing Anima’s plugin for Figma Dev Mode, live from Config https://www.animaapp.com/blog/product-updates/anima-in-figma-dev-mode/ https://www.animaapp.com/blog/product-updates/anima-in-figma-dev-mode/#respond Wed, 21 Jun 2023 20:08:55 +0000 https://www.animaapp.com/blog/?p=8767 Reading Time: 4 minutes You can get Anima’s code - React / HTML - inside Figma’s Dev Mode via our integrated Code Gen plugin.

The post Announcing Anima’s plugin for Figma Dev Mode, live from Config appeared first on Anima Blog.

]]>
Reading Time: 4 minutes

Developers, we have groundbreaking news to share! For months, we’ve been working closely with the Figma team to improve Figma’s developer experience.

On June 21st, Figma announced its new Dev Mode interface, an integrated suite of the leading third-party developer plugins and we’re excited to announce Anima for Dev Mode as part of this historic rollout! 🎉

For the first time, CodeGen 2.0—Anima’s new code generation engine—is available to the public as a Figma native integration. The code quality is unmatched, giving you instant, clean React.js with variant and interaction support inside Figma’s Dev Mode panel. No friction, no external syncing, and no delay.

We’re constantly working to improve the quality of our React and HTML code for developers, and thanks to your input we’ve set the bar for the entire industry.

How to access Dev Mode and use Anima’s CodeGen plugin

How to access Dev Mode and run Anima’s plugin

  1. Get Anima for Dev Mode here
  2. Switch to Dev Mode using the toggle in the top right corner of the Figma editor
  3. Select the “Plugins” tab
  4. Click on Anima to run the CodeGen plugin
Anima codegen in Figma Dev Mode

 

How to export Figma components to React in Dev Mode

(In August 2023, Anima released HTML code gen in Dev Mode.)

You can now try Anima’s React code for free, right inside Figma:

  1. Open the Anima plugin in Dev Mode 
  2. Select a Figma component, layer or a Frame
  3. In the right panel, select your code framework – you will get runnable code (React, HTML, CSS, Javascript, Typescript and more to come!)
  4. Click ‘Download selection’ for a zip file with all of your code, or
  5. Click ‘Open in CodeSandbox’ to run it instantly

What’s new in CodeGen

Here’s everything you need to know about Anima’s new code generation engine, including our latest and greatest improvements.

Overview

Anima turns Figma components into reusable React components instantly, right inside Figma, with no friction and no external syncing. You get:

  • Clean React, Typescript or Javascript: Fully functional React code that can run instantly, including sub-component support
  • Clean HTML, CSS: read more here
  • Variant & props support: Stateful and interactive React components based on your Figma variants and props
  • Responsive layout: Responsive CSS flexbox derived from Figma Auto Layout parameters

Latest code improvements

Code quality is our main focus at Anima. Your feedback and requests help us focus on what matters the most, and we’re working tirelessly to produce code that’s as clean and close to pixel-perfect as possible.

Here are a few of our most recent code updates 👇

1. Interactive components and variant support

CodeGen now supports Figma variants, plus variant switching for on-click and hover interactions. Support for transitions is coming soon.

2. Variant support gets cleaner conditional CSS

Initially, the way Anima supported Figma variants resulted in lengthy React code with a large number of conditional inline styles.

3. Added support for Figma’s text and boolean properties

A lot of users have requested the ability to automatically convert Figma properties into React props. Following our latest Codegen update, all Text and Boolean properties defined in Figma will now be included in our generated code.

For example, consider the following button in Figma, which defines a “Value” text property and a “Has right icon” boolean property:

Now when we generate this button’s code, it’ll include the appropriate value and hasRightIcon properties:

4. Improved support for SVG icons

Another source of frustration for our users has been a lack of proper icon handling. In the React world, it’s common to represent SVG icons as React components (with tools like SVGR), as that makes using and customizing the icons much simpler.

After the latest code improvements, Anima now turns icons into React components—including all of the relevant props that control color and more!

For example, Anima detect an icon component in Figma.

And generate it as an Icon React component:

Once you convert a Figma icon into a React component, you can use it across your codebase as a regular React component and even customize the color as needed!

 

Try Dev Mode + CodeGen 2.0 for free and tell us what you think 😎

Anima’s new Code Gen plugin for Dev Mode is free for all users during the rollout period, and even Figma users with read-only access can use our Dev Mode integration without limitations. You can install it here.

After the free access period ends, Anima Pro users will continue to get unlimited code exports for individual components, as well as full flows with multiple responsive screens.

We’re tailoring our code output to users’ wants, needs, and workflows, and your feedback really helps along the way.

Take it for a spin, tell us what you like and don’t like, and request new features.

Together we can accelerate your frontend builds and scale your impact as a developer—without scaling your workload. Try it free today!

 

The post Announcing Anima’s plugin for Figma Dev Mode, live from Config appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/product-updates/anima-in-figma-dev-mode/feed/ 0
Introducing HTML Support in Figma’s Dev Mode with Anima https://www.animaapp.com/blog/product-updates/introducing-html-support-in-figma-dev-mode-with-anima/ https://www.animaapp.com/blog/product-updates/introducing-html-support-in-figma-dev-mode-with-anima/#respond Thu, 24 Aug 2023 08:47:27 +0000 https://www.animaapp.com/blog/?p=8976 Reading Time: 2 minutes Build in Figma, and Anima will translate your designs into HTML. Copy paste, export or open in Codesandbox, right from Figma's Dev Mode.

The post Introducing HTML Support in Figma’s Dev Mode with Anima appeared first on Anima Blog.

]]>
Reading Time: 2 minutes
We’re thrilled to announce that Anima’s HTML support has made its way into Figma’s Dev Mode! This significant enhancement is here to expedite your design-to-code workflow 🎉
 

How to Translate Your Designs into HTML:

Build in Figma, and Anima will translate your designs into HTML. Here’s how:

  1. Select Frames: Choose the frames you want to translate into code in your Figma design.
  2. Generate HTML and CSS: Anima will work its magic and generate the corresponding HTML and CSS code for your selected frames. No need to painstakingly translate your designs – Anima does it for you.
  3. Multiple Export Options: Choose from various export options – 
    • copy the generated code
    • download it as a complete package
    • open directly to CodeSandbox for further customization
 

Better handoff with Figma Variables & Auto layout support:

Anima’s code now embraces Figma variables and auto layout, leading to enhanced code quality and the generation of responsive designs. We strongly recommend integrating these features into your projects for a smoother workflow and superior results.
 
Check out how this simple Figma file opens in Codesanbox.

So.. When to choose HTML?

Not sure if you need HTML or React? Here’s our take on that:
 

HTML is an excellent choice for:

  • Crafting static web pages.
  • Executing effective marketing campaigns.
  • Publishing straightforward web projects.
 

React shines when it comes to:

  • Creating interactive and dynamic web applications.
  • Building with reusable components.
 
So no matter which project you’re working on now, Anima got you covered, ensuring your design translates seamlessly into functional code.
 
We’re excited to see the creative solutions you’ll bring to life with this newfound capability. As always, your feedback is invaluable as we continue to refine and expand our offerings. 
Feel free to share with us your feedback, or join us on discord

The post Introducing HTML Support in Figma’s Dev Mode with Anima appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/product-updates/introducing-html-support-in-figma-dev-mode-with-anima/feed/ 0
Introducing Anima GenAI Code Personalization – Prompt in Figma to Customize Your Code https://www.animaapp.com/blog/product-updates/introducing-anima-genai-code-personalization-prompt-in-figma-to-customize-your-code/ https://www.animaapp.com/blog/product-updates/introducing-anima-genai-code-personalization-prompt-in-figma-to-customize-your-code/#respond Tue, 30 Jan 2024 08:55:17 +0000 https://www.animaapp.com/blog/?p=9510 Reading Time: 3 minutes Today, we’re thrilled to launch our GenAI code personalization!
A whole new level of design to code workflow. If you ask 1000 developers, you’ll get 1000 different sets of tech stacks, coding styles and conventions. One constant feedback we get about Anima’s generated code, is that will never look the same as if they had been written it themselves.

The post Introducing Anima GenAI Code Personalization – Prompt in Figma to Customize Your Code appeared first on Anima Blog.

]]>
Reading Time: 3 minutes

Anima turns Figma, Adobe XD, or Sketch designs into React, HTML & Vue code, saving developers 50%-70% of their time coding UI. With over 900k installs on Figma community, Anima is leading the space of design-to-code, and we continue improving thanks to your constant feedback.

Today, we’re thrilled to launch our GenAI code personalization!

A whole new level of design to code workflow. If you ask 1000 developers, you’ll get 1000 different sets of tech stacks, coding styles and conventions. One constant feedback we get about Anima’s generated code, is that will never look the same as if they had been written it themselves.

Entering generative AI (GenAI). Over the past year, the world of AI has been evolving rapidly, opening a whole new set of possibilities. GenAI allows us to take Anima’s code generation into a whole new level.

Anima already produces a pixel-perfect code that runs out of the box, right out of Figma. With this update and a set of upcoming AI features coming in early 2024, the generated code looks more and more similar to how developers write their code, individuals or teams.

 

How does it work?

  • As always, design starts in Figma.
  • Open Anima’s plugin in “Dev Mode” or “Edit Mode” (In Edit mode go to Inspect)
  • Select any Screen, Frame, Component, or Layer.
  • Anima will show you React or HTML code right away.
  • Toggle on AI code personalization, you’ll see 3 options to customize your code:
    • Custom instructions – Simply instruct Anima with free text.
      •  i.e. “Add SEO meta tags”, or “Use arrow functions”, or “Add comments”
    • Presets – Some requests are common, and you can easily pick one from the menu.
      • i.e. “Add animations”, “Make it work”, etc.
    • Code samples – Sometimes, a sample is easier.
      • I.e. if you wrap every component in a special way, let Anima learn from your code.
  • After saving, you could run your code online by clicking “Open”, or get it by clicking “Download”.  Youtube - Meta tags and semantic

    Anima’s code generation now gets the superpowers of GenAI, so developers turn any Figma design into a pixel-perfect runnable code that follows the way they write code.

    We trained our generative code __ on millions of design, making sure fidelity is high ( using our open-source system Scooby)
    A fine-tuned Large Language Model (LLM) refines the code to align with your unique framework and style preferences.

    Anima vs CoPilot, GPT (GPT4v), Bard (Gemini)

    GenAI already help developers, a lot. CoPilot, and Tab9 are right there for you in VSCode, and are great in running 2x faster doing logic. However, they don’t have the context of the Figma design or the Design System. Same goes for GPT & Bard’s new capabilities – While the code looks great, it is often broken, and it does not come close to Anima’s fidelity.

    Anima vs CoPilot, GPT4v vs Bard

    GenAI is here to help you code faster, and there’s no conflict in mixing multiple tools. Anima could help you save half the time coding the Front-end user-interface (UI), then CoPilot/Tab9/GPT can help you wire it up.

    Here’s a great video of our own Andrico mixing Anima with Figma, CoPilot, GPT and Dall-E. Andrico built a simple game, to demo how you could utilize multiple AI tools to build faster.

    Build a ReactJS Pong Game with AI by Andrico

    What’s next

    2024 is packed with features that will make Anima a better coding companion for developers building Front-end, by matching your coding conventions, having the context of both your design and code base, and integrating with your existing workflow.

    Get Anima for Figma and let us know what you think about our AI code personalization.
    Have a creative day 🙌

    Sign up for Anima here!
    Get Anima for Figma plugin here

The post Introducing Anima GenAI Code Personalization – Prompt in Figma to Customize Your Code appeared first on Anima Blog.

]]>
https://www.animaapp.com/blog/product-updates/introducing-anima-genai-code-personalization-prompt-in-figma-to-customize-your-code/feed/ 0