Button Component

This section documents the configuration attributes for each built-in button model. Use these pages when you are writing a JSON configuration, debugging a config validation error, or looking up the default for a specific attribute.

  • For how to add and configure a button component on your machine, see Button.
  • For the methods you call on a button in code, see the Button API reference.
  • For button models outside the built-in set, browse the Viam registry. Each registry module’s configuration is documented in its own README on its registry page.

Built-in models

No built-in button models ship with viam-server. Find button hardware support through the Viam registry.