Northstar is a premium React template for teams that want to turn strategy into visible, consistent progress. It includes a polished homepage, reusable secondary pages, responsive layouts, accessible interactions, and light/dark themes.
- Node.js 18+
- npm 9+
npm install
npm run devCreate a production build with npm run build. Run npm run lint for the Oxlint check.
/- Product-led homepage/about- Brand story and principles/features- Feature overview with product metrics/pricing- Pricing plans and comparison/contact- Accessible contact form/blog- Editorial journal landing page
The routes use a lightweight pathname router and work with Vite's history fallback during development. Configure your static host to serve index.html for direct production route requests.
src/
components/ Shared navigation, footer, and theme controls
data/ Brand, feature, pricing, and journal content
pages/ Secondary page views and page metadata
App.jsx Homepage and route entry point
App.css Design system and responsive page styles
index.css Global reset and document defaults
- Change the brand, navigation, social links, plans, feature data, and journal entries in
src/data/siteConfig.js. - Update colors, spacing, typography, and responsive breakpoints through the CSS variables and rules in
src/App.css. - Replace the Unsplash product image and avatar URLs in
src/App.jsxwith local assets or your own optimized image CDN URLs. - Update page titles and descriptions in
src/pages/SecondaryPages.jsxand the default metadata inindex.html. - Add a new page component in
src/pages/SecondaryPages.jsx, then map its pathname inSecondaryPageandpageMeta.
The theme toggle stores the user's choice in localStorage under northstar-theme and applies a data-theme="dark" attribute to the document root. Extend the dark theme selectors in src/App.css when adding new surfaces.
Run npm run build and deploy the generated dist/ directory to Netlify, Vercel, Cloudflare Pages, or GitHub Pages. Enable SPA fallback to index.html so direct visits to /about, /features, /pricing, /contact, and /blog resolve correctly.