Elements

Beautiful payments.
Your design.

Build stunning, custom payment forms with embeddable UI components. Full control over your checkout experience while we handle security and compliance.

99.99%
Uptime SLA
<50ms
Average latency
150+
Countries supported
50M+
Elements rendered
payment-form.jsx
import { OnyxProvider, Elements } from '@onyx/react';

const options = {
  theme: 'night',
  variables: { colorPrimary: '#3b82f6' }
};

function CheckoutForm() {
  return (
    <OnyxProvider>
      <Elements options={options}>
        <CardElement />
        <AddressElement />
        <Button>Pay now</Button>
      </Elements>
    </OnyxProvider>
  );
}
PCI DSS Level 1 Compliant
<50ms latency
How it works

Integrate in minutes

Get up and running with just a few lines of code. No complex setup required.

1

Install the SDK

Add our lightweight JavaScript SDK to your project with npm or include it directly via CDN.

2

Configure Elements

Create and customize payment elements with your brand colors, fonts, and styling preferences.

3

Accept Payments

Mount elements to your page and start accepting secure payments instantly.

Components

Powerful building blocks

Mix and match pre-built components to create the perfect checkout experience.

Card Element

A complete card input with number, expiry, and CVC fields. Supports all major card brands.

Address Element

Smart address autocomplete with international format support and validation.

Payment Method Element

Let customers choose from saved cards, wallets, and other payment methods.

Authentication Element

Handle 3D Secure and SCA compliance automatically with our auth element.

Features

Everything you need to build

Comprehensive tools for creating seamless payment experiences.

Developer-friendly APIs

Build custom payment experiences with our flexible APIs. Full control over the look and feel of your checkout.

Complete customization

Style every aspect of your payment form. Match your brand perfectly with CSS customization.

PCI compliance built-in

Sensitive card data never touches your servers. Stay PCI compliant without the complexity.

Responsive by default

Payment elements automatically adapt to any screen size. Perfect on desktop, tablet, and mobile.

Real-time validation

Instant feedback on card numbers, expiry dates, and CVVs. Reduce errors and improve conversion.

Modular components

Mix and match elements to build the exact checkout flow you need. Card, address, payment method—your choice.

"Onyx Elements gave us the control we needed to build a checkout experience that truly matches our brand. Integration was seamless and our conversion rates increased by 35%."

Michael Chen

CTO, TechFlow Solutions

Frequently Asked Questions

Get answers to common questions about this product

Still have questions? We're here to help.

Contact Our Team

Start building today

Create custom payment experiences with our flexible UI components. Get up and running in minutes.