SemType entity editor

An interactive UI for viewing and editing entities typed against the SemType registry


SemType

Introduction

The SemType entity editor is the React-based UI used inside HASH for viewing and editing entities — concrete instances of types registered on SemType and defined according to the underlying Block Protocol Type System.

A typical entity editor view lets you:

  • Inspect and edit an entity's properties (typed values).
  • Add, remove, and reorder outgoing links to other entities.
  • See the entity's type(s) and navigate to them.
  • Browse the entity's history of changes over time.

Status

Not yet a standalone package

The SemType entity editor is currently maintained as part of the HASH frontend application, not as a standalone npm package. Until it is extracted, the recommended way to evaluate or embed it is to either run HASH locally or use the hosted version of HASH.

If you have a use case that would benefit from a published, standalone entity-editor component, please open an issue or get in touch.

How it works

The entity editor is built directly against the Block Protocol Graph module — the specification that underpins SemType. It reads and writes entities through the same primitives that any embedding application exposes to blocks.

That means an entity editor view is itself a kind of "super-block" — it understands property types, link entity types, value constraints, and ordering rules out-of-the-box, and renders an appropriate input for each property's data type.

Try it

  1. Open any entity in HASH — for example, by creating a new entity from the sidebar — to see the entity editor in action.
  • SemType type editor — for editing the types that entities conform to.
  • SemType — the registry of semantic types the editor works against.
  • Block Protocol — the open standard the editor's data model is built on.

License

The entity editor is part of the HASH application and is licensed accordingly. See the HASH license summary for details.