Skip to content
Preview
Linear 12 tools

Connected to the Design workspace

Authorised
ada@example.com
Permissions
Read and write issues, comments and projects

IntegrationSettings

namerequired
string
The service's name.
logo
ReactNode
The service's own mark, in a tile beside the name.
count
number
A count beside the name: the tools it offers, the accounts it holds.
countLabel
string
What the count counts, for a reader who hears it ("tool" reads "12 tools").
meta
string
One quiet line under the name: the account, the address, the connection.
pausedMeta
string
Default: "Paused"
The line under the name while the service is off.
enabled
boolean
Controlled on state.
defaultEnabled
boolean
Default: true
The state it starts at when uncontrolled. Default true: a connected service is on until someone pauses it.
onToggle
(enabled: boolean, details: { event: Event }) => void
Called with the new state when the switch toggles.
authSummary
ReactNode
Read-only: who authorised the connection.
permissionsSummary
ReactNode
Read-only: what the connection may reach.
fields
readonly IntegrationField[]
Default: []
The fields this service needs, in the order a person meets them.
values
IntegrationValues
The values the fields start at, by key: a field's own defaultValue stands where its key is absent.
onSave
(values: IntegrationValues, dirtyFields: readonly string[]) => void | Promise<void>
Called with the fields' values and the keys that changed. A write-only secret appears only when it was replaced, generated or cleared (""), so saving another field never sends or erases a stored key. A rejection is shown in the actions bar and changed nothing.
onDiscard
() => void
Called after Discard put every field back.
saveLabel
string
Default: "Save"
The save action's words.
discardLabel
string
Default: "Discard"
The discard action's words.
rootStyle
IntegrationSettingsStyle
Typed StyleX override: where the surface sits and its knobs.

State machine

PreviewThe connection is on and its permissions are visible.
Linear 12 tools

Connected to the Design workspace

Authorised
maya@example.com
Permissions
Read and write issues and projects