Pluggable Views

Make parts of your app customizable without modifying core code.


Concept

Pluggable views allow users to override specific sections of your UI. This is v5's answer to v4's "view override" feature, but with granular control.

Why?

  • Customers can customize without forking your app

  • Core app updates don't conflict with customizations

Use cases:

  • Different summary cards in portfolio view

  • Additional fields in details panel

  • Custom tabs in details view


usePluggableView Hook

Create customization points in your app.

Basic Usage

With Props

Pass props to the pluggable component:


Best Practices

DO:

  • ✅ Use clear, hierarchical viewIds: App/section/subsection

  • ✅ Provide sensible default components


See Location 5.0 app (/Location/5.0/Resources/views/src/) for complete pluggable view examples.


Next Steps

Last updated