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/$%7Bart_info.art.src%7D?q=react&page=812&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 9072 results for "react"(2764ms)

worthyCyanRoundwormmain.tsx13 matches

@vawogbemi•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import confetti from "https://esm.sh/canvas-confetti";
3import React, { useEffect, useState } from "https://esm.sh/react";
4import DatePicker from "https://esm.sh/react-datepicker";
5import { createRoot } from "https://esm.sh/react-dom/client";
6import Stripe from "https://esm.sh/stripe";
7
8const datePickerStyles = `
9 .react-datepicker {
10 font-family: Arial, sans-serif;
11 border: 1px solid #aeaeae;
16 background-color: white;
17 }
18 .react-datepicker__header {
19 text-align: center;
20 background-color: #f0f0f0;
25 position: relative;
26 }
27 .react-datepicker__current-month {
28 margin-top: 0;
29 color: #000;
31 font-size: 1rem;
32 }
33 .react-datepicker__day-names, .react-datepicker__week {
34 display: flex;
35 justify-content: space-around;
36 }
37 .react-datepicker__day-name, .react-datepicker__day {
38 color: #000;
39 display: inline-block;
43 margin: 0.166rem;
44 }
45 .react-datepicker__day:hover {
46 background-color: #f0f0f0;
47 }
48 .react-datepicker__day--selected {
49 background-color: #216ba5;
50 color: #fff;
51 }
52 .react-datepicker__day--today {
53 font-weight: bold;
54 }
55 .react-datepicker__navigation {
56 display: none;
57 }

forbearingAmethystToadmain.tsx13 matches

@vawogbemi•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import confetti from "https://esm.sh/canvas-confetti";
3import React, { useEffect, useState } from "https://esm.sh/react";
4import DatePicker from "https://esm.sh/react-datepicker";
5import { createRoot } from "https://esm.sh/react-dom/client";
6import Stripe from "https://esm.sh/stripe";
7
8const datePickerStyles = `
9 .react-datepicker {
10 font-family: Arial, sans-serif;
11 border: 1px solid #aeaeae;
16 background-color: white;
17 }
18 .react-datepicker__header {
19 text-align: center;
20 background-color: #f0f0f0;
25 position: relative;
26 }
27 .react-datepicker__current-month {
28 margin-top: 0;
29 color: #000;
31 font-size: 1rem;
32 }
33 .react-datepicker__day-names, .react-datepicker__week {
34 display: flex;
35 justify-content: space-around;
36 }
37 .react-datepicker__day-name, .react-datepicker__day {
38 color: #000;
39 display: inline-block;
43 margin: 0.166rem;
44 }
45 .react-datepicker__day:hover {
46 background-color: #f0f0f0;
47 }
48 .react-datepicker__day--selected {
49 background-color: #216ba5;
50 color: #fff;
51 }
52 .react-datepicker__day--today {
53 font-weight: bold;
54 }
55 .react-datepicker__navigation {
56 display: none;
57 }

fluentAmberHyenamain.tsx3 matches

@deepmojo•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {

efficientWhiteBobolinkmain.tsx6 matches

@deepmojo•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
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() {
106
107const clientCode = `
108import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
109import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
110
111const App = ${App.toString()};
117
118const root = createRoot(rootElement);
119root.render(React.createElement(React.StrictMode, null, React.createElement(App)));
120`;
121

evaltownWorkermain.tsx3 matches

@deepmojo•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function WeatherIcon({ condition }) {

falDemoAppmain.tsx4 matches

@gratitude5dee•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { createFalClient } from "https://esm.sh/@fal-ai/client";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5import { falProxyRequest } from "https://esm.town/v/stevekrouse/falProxyRequest";
6
10 const [loading, setLoading] = useState(false);
11
12 const generateImage = async (e?: React.FormEvent) => {
13 e?.preventDefault();
14 setLoading(true);

cerebras_codermain.tsx6 matches

@chadparker•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import Cerebras from "https://esm.sh/@cerebras/cerebras_cloud_sdk";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5import { Prism as SyntaxHighlighter } from "https://esm.sh/react-syntax-highlighter";
6import { tomorrow } from "https://esm.sh/react-syntax-highlighter/dist/esm/styles/prism";
7
8function App() {
18 >(null);
19
20 async function handleSubmit(e: React.FormEvent) {
21 e.preventDefault();
22 setLoading(true);

falDemoAppmain.tsx4 matches

@robertbrook•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { createFalClient } from "https://esm.sh/@fal-ai/client";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5import { falProxyRequest } from "https://esm.town/v/stevekrouse/falProxyRequest";
6
10 const [loading, setLoading] = useState(false);
11
12 const generateImage = async (e?: React.FormEvent) => {
13 e?.preventDefault();
14 setLoading(true);

curiousTurquoiseDormousemain.tsx3 matches

@CoachCompanion•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import { marked } from "https://esm.sh/marked@4.3.0";
5

efficientAmberUnicornmain.tsx3 matches

@CoachCompanion•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect, useRef } from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import { marked } from "https://esm.sh/marked@4.3.0";
5

vt-discord4 file matches

@boucher•Updated 4 days ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31•Updated 4 days ago
A web-based dice roller using React on Val Town
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