You can try out the flow and demo of Trails on our sandbox environment here. To install on your own application:
1

Install the SDK

pnpm i 0xtrails
2

Import and Use the Widget

Add the widget to your React application, for example send 1 USDC cross-chain to a recipient on Base.
import { TrailsWidget } from '0xtrails/widget'

export const App = () => {
  return (
    <TrailsWidget
      toAddress="0x97c4A952b46bEcaD0663f76357d3776ba11566E1"
      toAmount="1" 
      toChainId={8453}
      toToken="USDC"
    />
  )
}

Script Import

While we recommend using the React component, you can also embed via a script tag in a non-React site.
<div id="trails"></div>
<script src="/js/trails.min.js"></script>
<script>
  TrailsWidget.render(document.getElementById('trails'), {
    toAddress: '0x...',
    toAmount: '0.1',
    toChainId: 8453,
    toToken: '0xUSDC...'
  })
</script>