# Grasshopper2.UI.Primitives namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Classes

- [Capsule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.primitives.capsule.md): Represents the basic Grasshopper UI capsule object. A capsule is a slab with optional plugs and messaging bar.
- [Plug](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.primitives.plug.md): Represents a capsule plug.

## Enums

- [Parts](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.primitives.parts.md): Lists the possible visual parts that make up a visual element. Not all elements necessarily supports all parts.
- [PlugSide](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.primitives.plugside.md): Enumerates the sides a plug can have.
