Skip to main content
ENS Components is an open-source React library from Namespace with complete ENS flows you can put in your own app. Your users can register names, claim subnames, and edit their profiles inside your product, and your team skips building the ENS contract calls and pricing. Each flow is one component. A developer renders it, and it handles the screens, validation, pricing, wallet prompts, and confirmation.

Website

Try every component live

GitHub

thenamespace/ens-components

Developer docs

Install and integrate

Flows it covers

The library also includes a transaction progress screen your team can reuse in its own flows, so everything looks consistent.

ENSv2 by default

The onchain flows run on ENSv2, on Ethereum mainnet or the Sepolia testnet.
  • .eth registration and renewal are paid in USDC or DAI.
  • Onchain subnames under an activated name are paid in USDC or DAI.
  • Network fees are paid in ETH.
If you created an onchain listing in the Namespace App before ENSv2, it keeps working. Your developers add one setting to the subname form to mint under it. Offchain subnames work with both ENSv1 and ENSv2 names.

When to use it

Use it when you want ENS names or subnames in your product without building the flows yourself. It fits well if you issue subnames to a community or customers: pair the subname forms with an onchain activation or offchain subnames from the Namespace App. You can change colors, corners, fonts, and copy to match your brand. See Theming. ENS Components is for React apps that use wagmi for wallet connections. It’s open source, so your team can read and audit the code.

Get started