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/$1?q=react&page=1176&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 16325 results for "react"(7643ms)

markerPenCardmain.tsx3 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useEffect, useRef, useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5const MarkerPenCard = ({

markerPenCardREADME.md2 matches

@dcm31•Updated 2 months ago
9- Customizable dimensions, colors, and corner radius
10- Interactive with onClick support
11- Renders any React children inside the card
12- Mobile-friendly and responsive
13
40- `backgroundColor` (string): Color of the card background (default: "white")
41- `onClick` (function): Click handler for the card (default: empty function)
42- `children`: React nodes to render inside the card
43
44## How it works

ballpointPenCardREADME.md2 matches

@dcm31•Updated 2 months ago
8- Customizable dimensions, colors, and corner radius
9- Interactive with onClick support
10- Renders any React children inside the card
11- Mobile-friendly and responsive
12
39- `backgroundColor` (string): Color of the card background (default: "white")
40- `onClick` (function): Click handler for the card (default: empty function)
41- `children`: React nodes to render inside the card
42
43## How it works

weirdMarkerStyleCardmain.tsx3 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.3.1 */
2import React from "https://esm.sh/react@18.3.1";
3import { renderToString } from "https://esm.sh/react-dom@18.3.1/server";
4
5export default async function handler(req) {

HonoReactTailwindStarterindex.tsx3 matches

@moe•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { createRoot } from "https://esm.sh/react-dom@19/client";
3import { BrowserRouter } from "https://esm.sh/react-router@7";
4import { App } from "./App.tsx";
5

HonoReactTailwindStarterApp.tsx3 matches

@moe•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { NavLink, Route, Routes } from "https://esm.sh/react-router@7";
3import { useState } from "https://esm.sh/react@19";
4import { Example } from "./components/Example.tsx";
5

HonoReactTailwindStarterExample.tsx3 matches

@moe•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { useState } from "https://esm.sh/react@19";
3
4export function Example() {
6 return (
7 <div class="p-4 ">
8 <h1 class="text-3xl font-semibold mb-2">Val Town React + Hono Starter</h1>
9 <div class="opacity-50 mb-4">Hello world...</div>
10 <div class="my-10">

spellbindingFuchsiaSkinkmain.tsx3 matches

@Emailscompelling•Updated 2 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
5// Tool definitions with more details

wondrousCyanBatmain.tsx3 matches

@dcm31•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@18.3.1 */
2import { renderToString } from "https://esm.sh/react-dom@18.3.1/server";
3import React from "https://esm.sh/react@18.3.1";
4
5export default async function handler(req) {
react-starter

react-starterApp.tsx2 matches

@jxnblk•Updated 2 months ago
1/** @jsxImportSource https://esm.sh/react@19 */
2import { useState } from "https://esm.sh/react@19";
3
4export default function App () {

reactHonoStarter4 file matches

@halfstack•Updated 21 hours ago

MiniAppStarter10 file matches

@moe•Updated 23 hours ago
Hono + React + Tailwind + Farcaster Mini App Starter Project
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