Skip to content

direction

The legacy Microlink Embed SDK is no longer maintained. It keeps working and you can still use it, but it won't receive further updates. The new Microlink SDK — the microlink.io package — is the way to consume the Microlink API going forward.
Type: <string>
Default: 'ltr'
Values:
'ltr' | 'rtl'
Sets the direction of the card.
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://microlink.io" 
    direction="ltr"
  />
</template>
The default direction is ltr.
Alternatively you can set 'rtl', that means right-to-left
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://microlink.io" 
    direction="rtl"
  />
</template>