Templates
Earthling UI provides a variety of project templates to help you get started quickly. These templates are pre-configured with Earthling UI and follow best practices for their respective project types.
Available Templates
Application Templates
Application templates are designed for building user-facing applications.
| Template Name | Aliases | Command |
|---|---|---|
| Next.js (next) | ssr, nextjs | bunx earthling-ui create next my-app |
| Vite SPA (vite) | spa | bunx earthling-ui create vite my-spa |
| Tauri Desktop (tauri) | app, desktop | bunx earthling-ui create tauri my-desktop-app |
| Electron Kiosk (kiosk) | electron | bunx earthling-ui create kiosk my-kiosk-app |
Package Templates
Package templates are designed for building libraries and utilities.
| Template Name | Aliases | Command |
|---|---|---|
| Database Package (db) | database, drizzle | bunx earthling-ui create db my-db-package |
| Library Package (lib) | library | bunx earthling-ui create lib my-library |
| CLI Package (cli) | bunx earthling-ui create cli my-cli |
Repository Templates
| Template Name | Aliases | Command |
|---|---|---|
| Monorepo (monorepo) | repo | bunx earthling-ui create monorepo my-workspace |
Best Practices
- Choose the right template for your project type
- Keep dependencies up to date to benefit from the latest features and security fixes
- Follow the established patterns in the template for consistency
- Contribute improvements back to the Earthling UI project if you find ways to enhance the templates