Object

An object is an icon that represents an Atlassian-specific content type.

Installation

Package installation information
Installyarn add @atlaskit/object
SourceBitbucket.org, (opens new window)
npm@atlaskit/object, (opens new window)
Bundleunpkg.com, (opens new window)

Props

label

Description

The label for the object.

If the object is decorative, this can be set to an empty string. If not provided, will default to a human-readable version of the icon name.

Typestring

size

Description

The size of the object.

  • small: 12px
  • medium: 16px
Type"small" | "medium"

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests

Typestring
Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License