Tutorial homepage

Create a new settings option in your extension

◤

Settings play a crucial role in giving users control over the app's behavior, appearance, and overall functionality without the need for code modifications.

This guide is designed for developers who want to expand the versatility of their Bonfire extensions.

By the end of this tutorial, you'll have the knowledge and confidence to integrate multiple setting options into your extension, making the most of Bonfire's helpers and its modular architecture.

Prerequisites

  • Elixir, LiveView knowledge.
  • A local Bonfire development environment already set up. If you're encountering any hiccups in setting it up, don't worry - just check out our step-by-step guide to run Bonfire locally for a smooth start.
  • Familiarity with the Bonfire framework and its extension architecture.

Understanding Bonfire's Setting Structure

Adding a new option in the Settings panel

Integrating the Setting into the Extension

Testing and Validating Your New Setting: