Skip to main content

Getting Started

Spectacles UI Kit (SUIK) is a collection of components, utilities, and assets designed to help developers create interactive AR user interfaces for the Spectacles platform. It provides a cohesive design across the system and also interfaces seemlessly with Spectacles Interaction Kit, our package that handles inputs. It is designed to be easy to use for both beginners and extensible for advanced users.

Spectacles UI Kit frequently updates so please refer to the release notes for the latest changes.

Adding UI Kit to Your Spectacles Project

If you don't have a Spectacles project yet, create one by following our Spectacles Lens setup guide.

Install the UI Kit Package

  1. In Lens Studio, go to WindowAsset Library

  2. In the search bar, type "Spectacles UI Kit"

  3. Click Install on the SpectaclesUIKit package

Explore the Example Components

The UI Kit includes pre-built example components to help you get started:

  1. In your Resources Panel, find the SpectaclesUIKit package

  2. Drag the ExampleInterface prefab into your Scene Hierarchy

  3. Go to your Preview Panel to see the UI components in action and understand how they work

Next Steps

Upgrading Spectacles UI Kit within a Project

Open your project. After TypeScript compilation is complete, right-click the SpectaclesUIKit package in the Asset Browser. If Pull Update from Library is available, select it.

To manually check for updates, navigate to Asset Library > Spectacles > SpectaclesUIKit and verify if a new version is available for installation. You can also select a specific version to install. After updating, right-click the SpectaclesUIKit package in the Asset Browser and select Pull Update from Library.

Now your project is updated!

Compilation errors may result after updates from changes in the API. Review the release notes for any updates on new APIs and make the necessary edits.

Was this page helpful?
Yes
No