Space Plugin SDKSpace Plugin SDK
Home
Overview
  • 中文简体
  • English
Home
Overview
  • 中文简体
  • English
  • SDK

    • Overview
    • Getting Started
    • Terminology
    • Architecture
    • Manifest
    • Internationalization
    • Received Events
    • Events Sent
    • Registration Procedure
    • Property Inspector
    • Style Guide
    • Changelog
  • Example

    • Counter
    • Timer
    • Number Display
    • Time
  • Support

    • Help and Error Reporting

Style Guide

Design style guidelines for Stream Dock plugins

General

To maintain consistency across the Space ecosystem, we have established some guidelines for Stream Dock plugins.

Plugin Name

The name of the plugin should accurately represent its functionality. The name should not include "Plugin" or "Stream Dock."

Icon Colors

Action and Category icons should be a single color with a transparent background.

Icon Sizes

Use vector images whenever possible.

IconSize
Action Icon128 x 128 px
Category Icon128 x 128 px
Key Icon128 x 128 px
Plugin Icon128 x 128 px

Button Feedback

Use showAlert and showOk messages to inform users whether their button actions are successful.

Reducing Complexity

We encourage reducing the complexity of the property inspector as much as possible. Here are a few ways to simplify the property inspector for your plugin:

  • For complex actions, consider splitting the action into multiple actions to reduce complexity.

  • Consider dividing the property inspector into required and optional sections. For optional parts, consider collapsing them to reduce complexity.

  • Choose the right controls; different form controls provide a better user experience for different types of information.

  • Radio buttons are ideal for selecting between two or three options but can be overwhelming for many options. For scenarios with more than 3 options, consider using a dropdown list instead.

  • For dropdown lists with many options, consider adding option groups if there are potential categories.

  • For dropdown lists with many options, consider adding another dropdown to filter the number of options.

Last Updated:
Contributors: Heart
Prev
Property Inspector
Next
Changelog