Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/uiPublic

Commonly used UI components for PixiJS

License

NotificationsYou must be signed in to change notification settings

pixijs/ui

Repository files navigation

It is a library that contains commonly used UI components, that are extensible to allow them to be used in any project

Here are some useful resources:

We are now a part of theOpen Collective and with your support you can help us make PixiJS even better. To make a donation, simply click the button below and we'll love you forever!

Compatibility

Depending on your version of PixiJS, you'll need to figure out which major version of PixiUI to use.

PixiJSPixiUI
v7.xv1.x
v8.xv2.x

Install

npm install @pixi/ui

There is no default export. The correct way to import pixi-ui is:

Usage

import{Button}from'@pixi/ui';constbutton=newButton();button.onPress.connect(()=>console.log('Button pressed!'));

To use any of the components you can go to it's page in thesandbox,and copy/paste the example code to your project (check theCode tab):

Components

Contribute

Want to be part of the PixiUI project? Great! All are welcome! We will get there quickertogether :) Whether you find a bug, have a great feature request, or you fancy owning a taskfrom the road map above, feel free to get in touch.

Make sure to read theContributing Guidebefore submitting changes.

License

This content is released under the (http://opensource.org/licenses/MIT) MIT License.

Known Issues

This library requires Pixiv7.1.1 or higher as this is when theglobalpointermove event was addedSeehere for details

About

Commonly used UI components for PixiJS

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp