Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Optional%20title%22?q=react&page=839&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=react

Returns an array of strings in format "username" or "username/projectName"

Found 10246 results for "react"(1947ms)

assertiveJadeHorsemain.tsx2 matches

@trakflipUpdated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 **/
2import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
3
4export default (req: Request) => {
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5// Solana and Wallet Imports

dotcommain.tsx3 matches

@blotreUpdated 4 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { email } from "https://esm.town/v/std/email?v=11";
3import { sqlite } from "https://esm.town/v/std/sqlite?v=5";
4import tailwindURL from "https://esm.town/v/stevekrouse/tailwindURL";
5import { renderToString } from "npm:react-dom/server";
6
7const linkClass = "text-blue-500 hover:underline";
8const Link = (
9 { children, href }: {
10 children?: React.ReactNode;
11 href: string;
12 },

imageConverterAppGlassUImain.tsx3 matches

@gitmanish01Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5const SUPPORTED_FORMATS = [

naturalYellowWhalemain.tsx2 matches

@PijushUpdated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 **/
2import { renderToString } from "https://esm.sh/react-dom@18.2.0/server";
3
4export default (req: Request) => {

cryptoVolumeTraderAdvicemain.tsx3 matches

@SabjiUpdated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function CryptoTracker() {

ReminderAppmain.tsx4 matches

@Azam123Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4
5function App() {
159 <small>{new Date(reminder.date).toLocaleString()}</small>
160 <button onClick={() => toggleCompletion(reminder.id, reminder.completed)}>
161 ↩️ Reactivate
162 </button>
163 </div>

cerebras_codermain.tsx10 matches

@muneeb683Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import Cerebras from "https://esm.sh/@cerebras/cerebras_cloud_sdk";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import { Prism as SyntaxHighlighter } from "https://esm.sh/react-syntax-highlighter";
5import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
6import { STARTER_PROMPTS } from "https://esm.town/v/stevekrouse/cerebras_coder_prompts";
7
31}: {
32 prompt: string;
33 setPrompt: React.Dispatch<React.SetStateAction<string>>;
34 handleSubmit: (e: React.FormEvent) => void;
35 handleStarterPromptClick: (promptItem: PromptItem) => void;
36}) {
117
118function App() {
119 const previewRef = React.useRef<HTMLDivElement>(null);
120 const [prompt, setPrompt] = useState("");
121 const [projectId, setProjectId] = useState<number | null>(null);
175 }
176
177 async function handleSubmit(e: React.FormEvent | string) {
178 if (typeof e !== "string") {
179 e.preventDefault();
674 </div>
675 <div className="bg-white w-full h-full flex flex-col grow rounded-xl border-2 border-white overflow-hidden">
676 <React.Fragment key={iframeKey}>
677 <iframe
678 srcDoc={code}
680 className="w-full grow"
681 />
682 </React.Fragment>
683 </div>
684 </div>

enchantingBlushOrangutanmain.tsx7 matches

@akshaybondre123Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { AnimatePresence, motion } from "https://esm.sh/framer-motion@10.16.4";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
5
6function CreativeDeveloperPortfolio() {
19 title: "AI Chatbot Platform 🤖",
20 description: "Intelligent conversational AI with natural language processing",
21 tech: ["Python", "TensorFlow", "React"],
22 link: "https://ai-chatbot.example.com",
23 image: "https://maxm-imggenurl.web.val.run/ai-chatbot-interface",
26 title: "Blockchain Explorer 🔗",
27 description: "Real-time cryptocurrency transaction tracker",
28 tech: ["Solidity", "Web3.js", "React"],
29 link: "https://blockchain-explorer.example.com",
30 image: "https://maxm-imggenurl.web.val.run/blockchain-dashboard",
33 title: "Smart Home Dashboard 🏠",
34 description: "IoT device management and monitoring system",
35 tech: ["Node.js", "MQTT", "React Native"],
36 link: "https://smart-home.example.com",
37 image: "https://maxm-imggenurl.web.val.run/smart-home-dashboard",
41 const skills = [
42 { name: "Python", level: 90, color: "bg-blue-500" },
43 { name: "React", level: 85, color: "bg-cyan-500" },
44 { name: "Machine Learning", level: 80, color: "bg-green-500" },
45 { name: "Cloud Computing", level: 75, color: "bg-indigo-500" },

cleverIndigoSwallowmain.tsx7 matches

@akshaybondre123Updated 4 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { AnimatePresence, motion } from "https://esm.sh/framer-motion@10.16.4";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
5
6function CreativeDeveloperPortfolio() {
19 title: "AI Chatbot Platform 🤖",
20 description: "Intelligent conversational AI with natural language processing",
21 tech: ["Python", "TensorFlow", "React"],
22 link: "https://ai-chatbot.example.com",
23 image: "https://maxm-imggenurl.web.val.run/ai-chatbot-interface",
26 title: "Blockchain Explorer 🔗",
27 description: "Real-time cryptocurrency transaction tracker",
28 tech: ["Solidity", "Web3.js", "React"],
29 link: "https://blockchain-explorer.example.com",
30 image: "https://maxm-imggenurl.web.val.run/blockchain-dashboard",
33 title: "Smart Home Dashboard 🏠",
34 description: "IoT device management and monitoring system",
35 tech: ["Node.js", "MQTT", "React Native"],
36 link: "https://smart-home.example.com",
37 image: "https://maxm-imggenurl.web.val.run/smart-home-dashboard",
41 const skills = [
42 { name: "Python", level: 90, color: "bg-blue-500" },
43 { name: "React", level: 85, color: "bg-cyan-500" },
44 { name: "Machine Learning", level: 80, color: "bg-green-500" },
45 { name: "Cloud Computing", level: 75, color: "bg-indigo-500" },

StarterPackFeeds11 file matches

@moeUpdated 4 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

FullstackStarter30 file matches

@wolfUpdated 5 hours ago
Starter template with client-side React & Hono server
effector
Write business logic with ease Meet the new standard for modern TypeScript development. Type-safe, reactive, framework-agnostic library to manage your business logic.
officialrajdeepsingh
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh