Skip to content
Integration row, light
Light
Integration row, dark
Dark

Every state

  • Integration row, default, light
    Integration row, default, dark

    default

  • Integration row, hover, light
    Integration row, hover, dark

    hover

  • Integration row, focus, light
    Integration row, focus, dark

    focus

  • Integration row, connecting, light
    Integration row, connecting, dark

    connecting

  • Integration row, connected, light
    Integration row, connected, dark

    connected

  • Integration row, error, light
    Integration row, error, dark

    error

  • Integration row, many, light
    Integration row, many, dark

    many

  • Integration row, disabled, light
    Integration row, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
namestring"Ledgerly"The app's name ("Ledgerly").
descriptionstring"Send paid invoices to your bookkeeping every night."One line on what connecting does.
markListRowIntegrationMark{ initials: "Lb", tint: 2 }Mark.
defaultStatusListRowIntegrationStatus"off"The state it starts in.
connect() => Promise<boolean>() => new Promise((r) => setTimeout(() => r(true), 1200))Connects the app; resolve true when it worked. Default: a short local wait that succeeds.
onChange(status: ListRowIntegrationStatus) => void–Called with the new status after every change.
statusLabels{ off: string | null; connecting: string; connected: string; error: string }{ off: null, connecting: "Connecting…", connected: "Connected", error: "Not connected" }Words for each status, shown next to the switch ("Connected"). "off" null: nothing is shown when off.
errorMessagestring"Couldn't reach Ledgerly. Turn it on to try again."Line shown in place of the description when connecting failed.
switchLabelstring"Connect {name}"Accessible name of the switch; "{name}" becomes the app's name.
disabledbooleanfalseDisables it.
classNamestring–Extra classes on the outer element.

More list rows

All 8
list-row-04 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans