Phantom is integrated in major Solana projects, many of which are open source. Here are some examples.
A quick way to get started with integrating Phantom in your app is the Solana Wallet Adapter package. It is a set of modular TypeScript wallet adapters and components for easily integrating wallets in Solana applications. The package includes starter files, setup and usage instructions, and a live demo showcasing different ui frameworks.