npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@limbar/ui

v0.7.2

Published

React UI components written in TypeScript for embedding Limbar products such as remote control of Android emulators and iOS simulators in web applications.

Downloads

815

Readme

@limbar/ui

This package contains all the UI components that you can use to serve Android emulators and iOS simulators from Limbar to your users over WebRTC, such as RemoteControl which is a React component written in TypeScript.

Get Started

For full example with both backend and frontend, see examples/simple

Add the dependency to your frontend package.

npm install @limbar/ui

Styling

The components come with their own CSS styles and do not require Tailwind CSS or any other CSS framework. The styles are self-contained and included automatically when you import the components.

You can customize the appearance by:

  • Using CSS custom properties (CSS variables) for theming
  • Adding custom CSS classes via the className prop
  • Overriding the default styles with your own CSS
/* Example: Customize spinner color */
:root {
  --rc-spinner-color: #your-brand-color;
  --rc-muted-foreground: #your-text-color;
}

It's recommended that you trigger creation over a backend endpoint of yours that will call Limbar with an organization token. Making the call from browser to Limbar directly risks leaking your organization token.

Here is an example:

import { RemoteControl } from '@limbar/ui';

function MyRemoteControl() {
  return (
    <RemoteControl 
      url="https://your-webrtc-url" 
      token="your-auth-token"
    />
  );
}

To get the WebRTC URL and token, you can add an endpoint to your backend that calls Limbar using our type-safe client package @limbar/api or you can make the HTTP calls directly according to our API Reference.

Components

RemoteControl

The RemoteControl component allows you to stream the screen of an Android emulator to your application as well as control it with your mouse and keyboard.

Some of the features include:

  • Multiple users can connect to the same instance simultaneously which is super useful for demos and presentations.
    • You can build and deploy your app in a cloud editor that has lim connect android running and see your app in the browser.
  • The component is optimized for low latency and high performance by using WebRTC as the transport layer for both video and the control signals.

Props

| Prop | Type | Description | |------|------|-------------| | url | string | The URL of the instance to connect to | | token | string | Token used to authenticate the connection to the instance | | className | string? | Optional class name to apply to the component on top of the default styles | | sessionId | string? | Optional unique identifier for the WebRTC session to prevent conflicts between users connected to the same source. If not provided, a random one will be generated | | openUrl | string? | Optional URL to open in the instance when the component is ready, such as an Expo URL |