Skip to content

contrast

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: <boolean>
Default: false
When enabled, it will generate a high contrast card based on predominant colors detected in the feature image from the target URL.
  • React
  • Vue
  • Jekyll
  • Vanilla
<template>
  <Microlink 
    url="https://github.com/cleanbrowsing/dnsperftest" 
    :contrast="true"
  />
</template>
The contrast mode has better accessibility ratio.