Skip to main content

Plugin Settings Panel

Enable Settings Panel

Set withSettingPanel = true in your plugin class to enable the settings panel:

Create Settings Component

Create a standalone Preact component to manage the settings interface:

Configuration API

Blinko provides a configuration API to save and retrieve plugin settings:

Using Configuration in Your Plugin

You can access and use these settings in other parts of your plugin:

Best Practices

  1. Type Safety
    • Use TypeScript types for your configuration
    • Define interfaces for your plugin’s settings
  1. Internationalization
    • Use Blinko’s i18n system for all text
    • Provide translations for all settings labels
  1. Error Handling
    • Handle API errors gracefully
    • Provide user feedback for actions
  1. UI/UX Best Practices
    • Use consistent styling with Blinko’s theme
    • Provide immediate feedback for user actions
    • Use appropriate input types and validation

Create Settings Component

Create a standalone Preact component to manage the settings interface:

Configuration API

Blinko provides a configuration API to save and retrieve plugin settings:

Using Configuration in Your Plugin

You can access and use these settings in other parts of your plugin:

Best Practices

  1. Type Safety
    • Use TypeScript types for your configuration
    • Define interfaces for your plugin’s settings
  1. Internationalization
    • Use Blinko’s i18n system for all text
    • Provide translations for all settings labels
  1. Error Handling
    • Handle API errors gracefully
    • Provide user feedback for actions
  1. UI/UX Best Practices
    • Use consistent styling with Blinko’s theme
    • Provide immediate feedback for user actions
    • Use appropriate input types and validation