proLanding page · Next.js + Tailwind
Openweight
A landing page for a serverless inference API for open models: a particle-field hero, model size switcher, OpenAI-compatible code tabs, latency stages and per-token pricing.
loopkitui.com/t/inference-apiscroll inside ↓
Built from
- Hero Particle Field →
- Model Switcher →
- API Code Tabs →
- Latency Chart →
- Icon Feature Grid →
- Usage Pricing Slider →
- FAQ Two Column →
- CTA Terminal →
- Footer Sitemap Dark →
For: Infrastructure startups selling model hosting and inference APIs to developers.
prompt
You are building a complete landing page with Loopkit: the "Openweight" template.
Goal: A landing page for a serverless inference API for open models: a particle-field hero, model size switcher, OpenAI-compatible code tabs, latency stages and per-token pricing.
Audience: Infrastructure startups selling model hosting and inference APIs to developers.
Stack: Next.js App Router, TypeScript, Tailwind CSS v4, framer-motion. Colour tokens are shadcn's plus Loopkit's --signal, --ok, --warn, --info (see https://loopkitui.com/docs/theming). Light theme by default, dark via the .dark class.
1. Install the Loopkit components this page uses:
npx shadcn@latest add https://loopkitui.com/r/hero-particle-field.json # Hero Particle Field
npx shadcn@latest add https://loopkitui.com/r/section-model-switcher.json # Model Switcher
npx shadcn@latest add https://loopkitui.com/r/section-api-code-tabs.json # API Code Tabs
npx shadcn@latest add https://loopkitui.com/r/metric-latency-chart.json # Latency Chart
npx shadcn@latest add https://loopkitui.com/r/icon-feature-grid.json # Icon Feature Grid
npx shadcn@latest add https://loopkitui.com/r/usage-pricing-slider.json # Usage Pricing Slider
npx shadcn@latest add https://loopkitui.com/r/faq-two-column.json # FAQ Two Column
npx shadcn@latest add https://loopkitui.com/r/cta-terminal.json # CTA Terminal
npx shadcn@latest add https://loopkitui.com/r/footer-sitemap-dark.json # Footer Sitemap Dark
2. Create app/page.tsx with the source below. Keep the section order and the copy structure; replace the product name, copy and links with mine.
3. Check it at 360, 768, 1440 and 2560 px wide, in light and dark, with reduced motion on and off. The console must be clean.
Page source:
```tsx
"use client";
import { cn } from "@/lib/utils";The full page is in Pro.
Get Pro