Skip to main content
For examples and details on the usage of this React components, visit the feature demo page.

Basic usecase

You don’t need to import the component. It’s available in the NEAR Components through the Layout Managers. <DappletContextPicker onClick={onClick} LatchComponent={LatchComponent} />

Props

Example Usage

Here’s an example showing how to integrate DappletContextPicker into your project:

Advanced Configuration

Use the targetprop to define specific contexts or arrays of contexts for fine-tuned selection.Example: target=Target1, Target2
The LatchComponent prop allows you to fully control how contexts are displayed and interacted with.Example: Use custom buttons, tooltips, or other UI elements as part of your latch.
DappletContextPicker is a versatile tool designed to simplify context selection and interaction in the Mutable Web environment. Start experimenting with different configurations to maximize its potential.