<!-- Source: https://developers.memberstack.com/dom-package -->
<!-- Markdown version of a Memberstack developer documentation page. Canonical HTML: https://developers.memberstack.com/dom-package -->

## Memberstack's DOM Package

Memberstack's DOM Package is a collection of pre-built components that you can use to build your authentication and membership features. The package includes:

## [Quick Start](/dom-package/quick-start.md)

Get started quickly with the Memberstack DOM package. Learn the basics of installation, configuration, and your first authentication flow.

-   Installation & Setup
-   Basic Configuration
-   Framework Integration
-   First Authentication Flow
-   Test Mode vs Live Mode

## [Core Authentication](/dom-package/core-authentication.md)

Comprehensive authentication functionality including email/password, passwordless, and social provider authentication.

-   Email/Password Flow
-   Passwordless Flow
-   Social Provider Flow
-   Logout & Session Management

## [Member Journey](/dom-package/member-journey.md)

Comprehensive suite of features for managing the complete member lifecycle.

-   Signup Options
-   Login Options
-   Profile Management
-   Member JSON
-   Data Tables
-   Protected Content
-   Password Management

## [Plan Management](/dom-package/plan-management.md)

Tools and features for managing member subscription plans.

-   Free Plans
-   Paid Plans
-   Plan Purchase Flow

## [Pre-built Modals](/dom-package/pre-built-modals.md)

Ready-to-use modal components for common member interactions.

-   Login Modal
-   Signup Modal
-   Profile Modal

## [Error Handling](/dom-package/error-handling.md)

Rich error objects with utility functions, error codes, categories, and actionable suggestions for handling errors effectively.

-   Error Object Structure
-   Utility Functions
-   Error Codes Reference
-   Complete Example
-   Framework Examples

## [Testing](/dom-package/testing.md)

Unit test your Memberstack integration with mock factories, a mock SDK instance, and custom Jest/Vitest matchers.

-   Mock Factories
-   createMockMemberstack()
-   Custom Test Matchers
-   Full Test Example
-   Dependency Injection

## [Advanced Integration](/dom-package/advanced-integration.md)

Advanced features for custom integration and extension of Memberstack functionality.

-   Webhooks
-   Custom Authentication
-   Available Packages

## [Playground](/dom-package/playground.md)

Interactive examples and sandbox environment for Memberstack features you can test with your public key.

-   Authentication
-   Pre-built Modals
-   Profile Management
-   Plan Management
-   Data Tables
-   Other Methods
-   FAQs
