# templates Get started quickly with pre-built templates for common app architectures. Choose from Next.js, Vite, or Webpack templates, all configured with CDS components and best practices. import { TemplateCard } from '@site/src/components/page/TemplateCard'; import { HStack } from '@coinbase/cds-web/layout'; import ThemedImage from '@theme/ThemedImage'; ### Get started The easiest way to get started with CDS is with a template. All templates include the required CDS packages, dependencies, and pre-configured settings. Each template provides a working example application with common UI patterns to help you start building. } /> } /> } /> ### Installation To create a new project from a template, use `gitpick` to bootstrap your application: #### Next.js ```bash npx -y gitpick coinbase/cds/tree/master/templates/next-app cds-next cd cds-next ``` #### Vite ```bash npx -y gitpick coinbase/cds/tree/master/templates/vite-app cds-vite cd cds-vite ``` #### Webpack ```bash npx -y gitpick coinbase/cds/tree/master/templates/webpack-app cds-webpack cd cds-webpack ``` ### Setup After creating your project, install dependencies and start developing: ```bash ## We suggest using nvm to manage Node.js versions nvm install nvm use ## Enable corepack for package manager setup corepack enable ## Install dependencies yarn ## Start development server yarn dev ``` ### What's included All templates come pre-configured with: - Latest CDS packages (`@coinbase/cds-web`, `@coinbase/cds-icons`, etc.) - TypeScript configuration - Example components demonstrating common UI patterns - Theme setup with CDS default theme - Responsive layouts using CDS layout components ### Next steps After setting up your template, learn how to customize and extend CDS: - [Theming](/getting-started/theming) - Customize colors, spacing, and typography - [Installation](/getting-started/installation) - Manual installation and setup options