New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@galacean/editor-ui

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@galacean/editor-ui

An opinionated UI library designed to create engaging and functional online tools with ease.

  • 0.0.6-beta.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

import { Meta } from "@storybook/blocks"; import { Title } from '@storybook/blocks'

import Github from "./assets/github.svg"; import Discord from "./assets/discord.svg"; import Bilibili from "./assets/bilibili.svg"; import DingDing from "./assets/dingding.png"; import Youtube from "./assets/youtube.svg"; import Tutorials from "./assets/tutorials.svg";

export const RightArrow = () => <svg viewBox="0 0 14 14" width="8px" height="14px" style={{ marginLeft: '4px', display: 'inline-block', shapeRendering: 'inherit', verticalAlign: 'middle', fill: 'currentColor', 'path fill': 'currentColor' }}

Introduction

@galacean/editor-ui is a set of components used to build Galacean Editor which is an perfessional 3d scene editor in the browser. This package is separated from it, dedicated to building a graphic editor in the browser.

In addition to including some basic components such as <Button> or <Input />, it also provides some dedicated components like <ColorPicker />, <GradientSlider />, <ParticleSlider />, AssetPicker and some hooks to help you build your own graphic editor.

You also could use it to build some plugins for Galacean Editor.

Accessibility is a key part of the package, all components are designed to be accessible.

Installation

npm install @galacean/editor-ui

Usage

Once you have installed the package, you can import the components and use them in your application.

import { Button } from '@galacean/editor-ui';

function App() {
  return (
    <Button>Galacean Editor</Button>
  );
}

Note: You have to keep your application with some reset css to make sure the components work correctly. If not you could use resetStyle() which exported from @galacean/editor-ui to reset the style.

This package does not use the z-index style.

Acknowledgement

This library would not have been possible without these excellent open-source projects:

  • @stitches/react CSS-in-JS solution
  • @radix-ui for building accessibility components
  • @radix-ui/colors for color system
  • react-colorful a tiny color picker component
  • colord for color manipulation
  • @tabler/icon-react for some icons

Keywords

FAQs

Package last updated on 31 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc