Usage with React

Usage in any framework that supports React components.

import { Swap } from '@swing.xyz/ui'

// Import the theme CSS directly within your component or within another css file
import '@swing.xyz/ui/theme.css'

function Component() {
  return <Swap />
}