Components overview
Schematic gives you two ways to put billing UI in your app. Both read one data layer, so you can mix them: a custom portal with a drop-in checkout is a normal setup.
Using an agent? Paste this into Claude Code, Cursor, or Codex and it does the setup on this page:
Which path?
One setup for both
Install the React SDK and the components package. @stripe/stripe-js and @stripe/react-stripe-js are peers of the components, used by the add-card form in Payment Methods.
Every component and every hook reads from one provider. Your server mints a short-lived access token for the signed-in company with your secret key, so the key never reaches the browser.
The Quickstart walks through the token exchange and the first component, and Add Schematic billing to your app is the same setup written for an agent.
What’s in the box
Each component imports from @schematichq/schematic-components/elements and renders on its own, so a page shows only the cards you place on it.
Using the component builder? Builder components keep working, and they ship in the same @schematichq/schematic-components package as the drop-ins. The builder pages live under Component builder, and Migrate to drop-in components covers the move when you are ready.