Skip to main content
The Starter Kit centralizes all application-wide configuration in config/app.config.ts. This file controls your app’s branding, navigation structure, footer content, and deployment mode integration.

Overview

The app configuration provides a single source of truth for:
  • Application name, title, and description (used for metadata and SEO)
  • Logo text and navigation links
  • Header navigation structure
  • Footer sections and external links
  • Deployment mode integration
All configuration changes automatically propagate to relevant components without additional code modifications.

File Location

Basic Properties

Application Identity

name
string
required
The application name displayed throughout the UI. Used in the header, page titles, and metadata.
title
string
required
The primary title shown in browser tabs and search engine results. Can be overridden per page.
description
string
required
A concise description of your application. Used for SEO meta tags and appears in search results.

Example Customization

config/app.config.ts

Logo Configuration

The logo configuration controls the branding in your application header.
config/app.config.ts
logo.text
string
required
The text displayed as your logo in the header. Keep it short and memorable.
logo.href
string
required
The destination URL when users click the logo. Typically "/" for the homepage.
If you want to use an image logo instead of text, you’ll need to modify components/project/header.tsx to replace the text with an <Image> component. See Branding and Styling for details.

Header Navigation

Define your main navigation links in the header configuration:
config/app.config.ts
An array of navigation link objects. Each link must have href and label properties.
The destination path or URL for the navigation link.
The visible text for the navigation link.

Mode-Aware Navigation

The Starter Kit automatically filters navigation links based on the deployment mode. In project mode (the default), all links defined in your configuration are displayed.
The Starter Kit operates exclusively in project mode. The mode-aware logic exists for compatibility with the upstream user-app but doesn’t affect standard deployments.
The footer configuration organizes links into labeled sections:
config/app.config.ts
Your company or product name displayed in the footer.
A short description or tagline displayed below the footer title.
An object where keys are section names and values are arrays of link objects.
The destination path or URL for the footer link.
The visible text for the footer link.
Set to true to open the link in a new tab. Defaults to false for internal links.
Mark external links to automatically open in a new tab with security attributes:

Complete Example

Here’s a real-world configuration for an AI image generation SaaS:
config/app.config.ts

Using Configuration in Components

The configuration is automatically used by built-in components. For custom components, import and use it directly:

Where Configuration is Used

Root Layout

app/layout.tsx uses title and description for metadata

Header Component

components/project/header.tsx uses logo and header.links

Footer Component

components/project/footer.tsx uses all footer properties

Page Metadata

Individual pages can override the default title and description

Best Practices

Limit header navigation to 5-7 primary links. Too many links can overwhelm users and hurt mobile usability. Use footer sections for secondary navigation.
Navigation labels should be clear and specific. Avoid generic terms like “Resources” or “More” without context.
Navigation automatically collapses to a hamburger menu on mobile. Test your configuration on small screens to ensure all links are accessible.
Your title and description appear in search results. Keep the title under 60 characters and description under 160 characters for best display.

Environment-Specific Configuration

For different environments (development, staging, production), use environment variables:
config/app.config.ts
Or create environment-specific configuration files:

Next Steps

Branding & Styling

Customize colors, fonts, and visual design

Theme Configuration

Set up light and dark mode theming

Custom Pages

Add new pages to your application

Component Library

Explore available UI components