A pre-configured Next.js template with DS3 (Design System 3) already set up and ready to use.
- 🎨 Pre-configured DS3 design system
- ⚡️ Built with Next.js 14 for server-side rendering
- 🎯 TypeScript support
- 🎭 Theme customization support
- 📱 React Native Web integration
- 🎯 Tailwind CSS with NativeWind preset
- 🔒 Safe Area Context support
- 🌐 App Router and Server Components
For comprehensive documentation about DS3, including UI components, theming, and configuration, visit the DS3 Monorepo.
For details on how this template was set up from scratch, see SETUP.md.
pnpm dlx degit Consensys-Network-State/ds3-nextjs-template ui- Click "Use this template" on the GitHub repository
- Clone your new repository
Install dependencies:
pnpm installStart the development server:
pnpm devBuild for production:
pnpm buildStart the production server:
pnpm startOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying src/app/page.tsx. The page auto-updates as you edit the file.
The template comes with a default theme configuration in theme.config.mjs. You can customize the theme by modifying this file:
export default {
themes: {
default: {
colors: {
neutral: 'gray',
primary: 'blue',
secondary: 'violet',
error: 'red',
warning: 'amber',
success: 'green',
info: 'blue',
},
},
},
};For detailed theme customization options and documentation, refer to the DS3 Theme Package.
To learn more about Next.js and DS3:
- Next.js Documentation - learn about Next.js features and API
- Learn Next.js - an interactive Next.js tutorial
- DS3 Documentation - explore DS3 components and features
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.