<BlogPostCustomerFacts
  logo="/images/companies/logos/magic-patterns.svg"
  name="Magic Patterns"
  urlWebsite="https://magicpatterns.com"
  teamSize={"1-15"}
  yearFounded={2023}
  customerSinceDate={new Date(2024, 5, 1)}
/>

Magic Patterns is an AI-powered design platform that helps product teams move
from idea to production within hours, rather than weeks. The platform allows
users to turn natural language into fully functioning prototypes, which makes it
possible to move from concept to working design in minutes. Product managers,
designers, and website builders use Magic Patterns to explore ideas, share work
with teammates, and iterate quickly.

As the product expanded, teams expected the same realtime collaboration they
experienced in tools like Figma and Google Docs. Users needed to work within the
same canvas, see changes appear instantly, and review prototypes together.
Delivering that experience, while also supporting AI-driven updates across the
product, required a reliable multiplayer foundation.

<Figure caption="Generating a digital events page in Magic Patterns (in fast-forward).">
  <MuxVideo
    playbackId="D93loxXkqbt485p01P8bxA02SgHsF2EIDwT5SCVeL02YHI"
    alt="Magic patterns events page"
  />
</Figure>

## The challenge

To deliver a modern collaborative design tool, Magic Patterns needed realtime
editing state in a multiplayer document, live cursor presence, instant updates
between their AI system and the front end, consistent syncing across multiple
tabs, and inline comments for design review.

<BlogPostQuote
  quote="Building software is collaborative. If you want to be part of that process,
your product needs to support collaboration, and Liveblocks powers that for us."
  author={{
    name: "Alexander Danilowicz",
    title: "Co-founder & CEO, Magic Patterns",
    avatarUrl: "/images/people/alexander-danilowicz.jpg",
    companyAvatarUrl: "/images/companies/avatars/magic-patterns.png",
    companyName: "Magic Patterns",
  }}
/>

Building this required specialized infrastructure work including WebSockets,
conflict-free data management, connection handling, retries, and observability.
It also created long term operational overhead that would slow product
development and pull the team away from their core focus of building an AI
driven design experience.

<Figure caption="The logic behind Liveblocks’ WebSocket connection manager.">
  <Image
    src="/images/blog/magic-patterns/connection-engine.png"
    alt="The logic behind Liveblocks’ WebSocket connection manager"
    width={1536}
    height={880}
    quality={95}
  />
</Figure>

Magic Patterns needed a multiplayer foundation that integrated cleanly with
their stack and allowed their small team to move quickly.

## Why Liveblocks

Magic Patterns chose Liveblocks because it provided the fastest and most
reliable way to deliver realtime collaboration for both their infinite canvas
and their AI powered workflows.

<BlogPostQuote
  quote="Liveblocks is a game-changing developer tool. It abstracts away realtime
infrastructure we never want to think about."
  author={{
    name: "Teddy Ni",
    title: "Co-founder & CTO, Magic Patterns",
    avatarUrl: "/images/people/teddy-ni.jpg",
    companyAvatarUrl: "/images/companies/avatars/magic-patterns.png",
    companyName: "Magic Patterns",
  }}
/>

### The “ah-ha!” moment

The team’s first goal was to build a collaborative infinite canvas. Teddy
expected features like shared cursors and live updates to take weeks, but
discovered that Liveblocks abstracts away the complexity into simple React
hooks. After downloading a [live cursors example](/examples/live-cursors), he
had a full working version in three to four hours.

<BlogPostQuote
  quote="That was the moment it clicked. Something I thought would be complicated was
immediately smooth."
  author={{
    name: "Teddy Ni",
    title: "Co-founder & CTO, Magic Patterns",
    avatarUrl: "/images/people/teddy-ni.jpg",
    companyAvatarUrl: "/images/companies/avatars/magic-patterns.png",
    companyName: "Magic Patterns",
  }}
/>

### Realtime collaboration for AI generated changes

Liveblocks powers the communication path between Magic Patterns’ AI system and
the front end. When a user submits a prompt, every open tab updates instantly
and stays in sync.

<Figure caption="Magic Patterns’ AI chat updating in realtime across tabs.">
  <MuxVideo
    playbackId="zKv7vupbZPB02jRoWvxYuRM5ojMRuHYAKKkB2cD9MWwk"
    alt="Magic patterns multi tabs"
  />
</Figure>

### Stronger demos and user delight

Liveblocks also creates a “wow moment” in sales demos. When prospects see
multiple cursors moving in realtime and AI updates appearing instantly, they
immediately understand the value of the product. The collaborative experience
feels familiar, which helps Magic Patterns demonstrate the power of their AI
tools much more effectively.

### Increased developer velocity

By removing the need to build and maintain realtime infrastructure and
WebSockets, Liveblocks has made the Magic Patterns engineering team
significantly faster and allowed them to stay focused on product innovation.

<BlogPostQuote
  quote="The developer experience is amazing. It sped up our engineering team by 5X and
saved us hundreds of hours of building from scratch and maintaining."
  author={{
    name: "Teddy Ni",
    title: "Co-founder & CTO, Magic Patterns",
    avatarUrl: "/images/people/teddy-ni.jpg",
    companyAvatarUrl: "/images/companies/avatars/magic-patterns.png",
    companyName: "Magic Patterns",
  }}
/>

## The outcome

With Liveblocks, Magic Patterns delivers a fast and intuitive realtime design
experience. Teddy shipped the first version of their collaborative infinite
canvas in only a few hours, and that early success shaped how the team
approached collaboration across the entire product. The same foundation now
keeps AI generated updates in sync for every user, which creates a strong “wow
moment” in demos and helps teams understand the product immediately.

Relying on Liveblocks allows Magic Patterns to focus on building their AI design
platform rather than maintaining multiplayer infrastructure. Collaboration has
become a defining part of the product and a key reason customers choose Magic
Patterns.

<Figure caption="Realtime avatars and share menu in Magic Patterns.">
  <MuxVideo
    playbackId="Mqo801NY2WVg02qZT9VkHKK5Cjl9SG2joZJErPQVbIxAQ"
    alt="Magic patterns avatars"
  />
</Figure>

## What to consider when building a collaborative experience?

To finish up, we have some final advice from Teddy Ni, Co-founder & CTO:

1. At some point your customers will ask for collaboration, so it is better to
   build it into the experience early rather than bolting it on later.
2. Putting realtime experiences into your codebase adds a lot of weight. If you
   build in-house keeping things in sync across tabs and AI updates becomes
   something you have to think about constantly.
3. Using the Liveblocks [examples](https://liveblocks.io/examples) to get
   started (and then Liveblocks) will save you a tremendous amount of
   development time.

<BlogPostQuote
  quote="If my co-founder, Teddy, says that it is a great developer product, it
is a really damn good developer product. We do not use bad developer products."
  author={{
    name: "Alexander Danilowicz",
    title: "Co-founder & CEO, Magic Patterns",
    avatarUrl: "/images/people/alexander-danilowicz.jpg",
    companyAvatarUrl: "/images/companies/avatars/magic-patterns.png",
    companyName: "Magic Patterns",
  }}
/>