Earthling UI

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 NameAliasesCommand
Next.js (next)ssr, nextjsbunx earthling-ui create next my-app
Vite SPA (vite)spabunx earthling-ui create vite my-spa
Tauri Desktop (tauri)app, desktopbunx earthling-ui create tauri my-desktop-app
Electron Kiosk (kiosk)electronbunx earthling-ui create kiosk my-kiosk-app

Package Templates

Package templates are designed for building libraries and utilities.

Template NameAliasesCommand
Database Package (db)database, drizzlebunx earthling-ui create db my-db-package
Library Package (lib)librarybunx earthling-ui create lib my-library
CLI Package (cli)bunx earthling-ui create cli my-cli

Repository Templates

Template NameAliasesCommand
Monorepo (monorepo)repobunx earthling-ui create monorepo my-workspace

Best Practices

  1. Choose the right template for your project type
  2. Keep dependencies up to date to benefit from the latest features and security fixes
  3. Follow the established patterns in the template for consistency
  4. Contribute improvements back to the Earthling UI project if you find ways to enhance the templates