Giter VIP home page Giter VIP logo

qwik-rive's Introduction


qwik rive

Qwik Rive

Rive Component for Qwik.

Qwik Rive
Table of Contents

A Qwik runtime library for Rive.

This library is a wrapper around the JS/Wasm runtime, giving full control over the js runtime while providing components and hooks for React applications.

Installation

Install through npm:

npm install --save qwik-rive

Usage

import { component$, useStore } from '@builder.io/qwik';
import { QwikRive } from 'qwik-rive';
import { Options } from 'qwik-rive/lib-types/types';

export default component$(() => {
  const store = useStore<Options>({
      src: 'https://cdn.rive.app/animations/vehicles.riv',
  });
  return (
    <>
      <div>
        <QwikRive options={store}></QwikRive>
      </div>
    </>
  );
});

Demo

Rive Overview

Rive is a real-time interactive design and animation tool that helps teams create and run interactive animations anywhere. Designers and developers use our collaborative editor to create motion graphics that respond to different states and user inputs. Our lightweight open-source runtime libraries allow them to load their animations into apps, games, and websites.

๐Ÿก Homepage

๐Ÿ“˜ General help docs

๐Ÿ›  Resources for building in Rive

Getting Started

Follow along with the link below for a quick start in getting Rive Qwik integrated into your Qwik apps.

Getting Started with Rive in Qwik

API documentation

Supported Versions

This library supports Qwik versions ^0.11.1.

Examples

Check out our Storybook instance that shows how to use the library in small examples, along with code snippets! This includes examples using the basic component, as well as the convenient hooks exported to take advantage of state machines.

Migration Guides

Using an older version of the runtime and need to learn how to upgrade to the latest version? Check out the migration guides below in our help center that help guide you through version bumps; breaking changes and all!

Migration guides

Contributing

We love contributions! Check out our contributing docs to get more details into how to run this project, the examples, and more all locally.

Issues

Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.