Shared React Tailwind Components for react-templates.net project templates.
npm install react-net-templatesImport components and styles in your React application:
import { GettingStarted, ShellCommand, AutoUis } from 'react-net-templates'
import 'react-net-templates/styles.css'A complete project creation widget with template download and CLI instructions.
import { GettingStarted, ReactLogo } from 'react-net-templates'
<GettingStarted
template="react-spa"
templateName="React SPA"
runLabel="Run .NET and React"
logo={<ReactLogo className="size-12" />}
/>A styled shell command display with copy-to-clipboard functionality.
import { ShellCommand } from 'react-net-templates'
<ShellCommand>npm install react-net-templates</ShellCommand>An image carousel showcasing ServiceStack's built-in Auto UIs including API Explorer, Locode, Admin UI, and more.
import { AutoUis } from 'react-net-templates'
<AutoUis className="my-8" />SVG logo components for common technologies:
NextLogo- Next.js logoReactLogo- React logoTypeScriptLogo- TypeScript logoTailwindLogo- Tailwind CSS logoViteLogo- Vite logoServiceStackLogo- ServiceStack logo
import { ReactLogo, TailwindLogo, TypeScriptLogo } from 'react-net-templates'
<ReactLogo className="size-12 text-blue-500" />
<TailwindLogo className="size-12" />
<TypeScriptLogo className="size-12" /># Install dependencies
npm install
# Run development server with demo
npm run dev
# Build the library
npm run build
# Run tests
npm test
# Type check
npm run type-check- React 18.x or 19.x
- React DOM 18.x or 19.x
BSD-3-Clause