SureCart Checkout Components
SureCart ships with a library of web components that allow you to add, extend, or modify functionality without needing to code everything from scratch. These components can be used to match the UI, ensure accessibility, add additional checkout fields, and much more.
Benefits
Web components have an additional benefit of "style encapsulation" via the Shadow Dom. This feature prevents styles from other parts of a page from affecting these components, making them safe to use regardless of the styles applied elsewhere on the page.
Additional benefits include:
- π Accessibility through ARIA roles, states, properties, and keyboard support is crucial for inclusivity.
- π₯ Design considerations for both mobile and desktop ensure a seamless user experience.
- π Touch input friendliness is essential for modern devices.
- π¨ The flexibility of styling with CSS variables and included themes allows for customization.
- ποΈ Lazy loading contributes to performance optimization.
- 𧩠The ability to build and extend components easily is a big plus.
- ποΈ Lightweight components are efficient.
- πͺ TypeScript integration provides type safety.
- π Compatibility with HTML/CSS/JS makes it accessible to a broad range of developers.
SureCart Components Documentation
For now, our components documentation kept in our previous documentation link - Components Documentation
Note: We are in the process of migrating all of our documentation to this new platform. Until all of our docs are moved here, you can check the component docs from that site.
Updated 2 months ago