Customization
Customize the logo, colors, favicon, NuxtUI theme, and font family in your app to match your brand.
Setup
- Logo
- Create a logo (PNG, ~50×50px recommended)
- Save to:
public/images/logo.png - Update your config:
shared/config.ts
brandingImages: { logo: '/images/logo.png', openGraphImage: '/images/open-graph.png', },
- Open Graph Image (Social Preview)
- Create an OG image using Canva or OG Image Generator.
- Recommended size: 1200×630px
- Save to:
public/images/open-graph.png
- Favicon
- Generate favicon assets using Favicon.io.
- Place them in
public/images/:android-chrome-512x512.png→pwa-icon-48x48.pngandroid-chrome-192x192.png→pwa-icon-192x192.pngandroid-chrome-512x512.png→pwa-icon-512x512.pngapple-touch-icon.pngfavicon.ico
- Font Family
- Choose a font and apply it globally:
app/assets/styles/main.css
@theme { --font-sans: 'Inter', sans-serif; }
- Choose a font and apply it globally:
- Theme (Radius & Colors)
- Radius:
app/assets/styles/main.css
:root { --ui-radius: 0.5rem; } - Colors:
app/app.config.ts
ui: { colors: { primary: 'blue', neutral: 'neutral', }, },
- Radius:
- Icons (Icones.js)
- Browse icons at icones.js.org and use the icon name in your components:
<UIcon name="lucide:heart" />
- Browse icons at icones.js.org and use the icon name in your components:
Usage
- Run
npm run devto preview changes - Verify logo, favicon, fonts, and theme in the browser
- Use a social preview checker to confirm the OG image
- UI Components: For customizing UI elements (buttons, cards, modals, etc.), refer to the NuxtUI