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=162&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 11887 results for "react"(1026ms)

untitled-8939CreateEnvelopeModal.tsx4 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3
4interface CreateEnvelopeModalProps {
7}
8
9const CreateEnvelopeModal: React.FC<CreateEnvelopeModalProps> = ({ onClose, onCreate }) => {
10 const [name, setName] = useState("");
11 const [icon, setIcon] = useState("๐Ÿ’ฐ");
28 ];
29
30 const handleSubmit = (e: React.FormEvent) => {
31 e.preventDefault();
32 if (name.trim()) {

untitled-8939TransactionList.tsx3 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3import type { Transaction, Envelope } from "../../shared/types.ts";
4
9}
10
11const TransactionList: React.FC<TransactionListProps> = ({
12 transactions,
13 envelopes,

untitled-8939EnvelopeList.tsx3 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import type { Envelope } from "../../shared/types.ts";
4
9}
10
11const EnvelopeList: React.FC<EnvelopeListProps> = ({ envelopes, onDrop, isDragging }) => {
12 if (envelopes.length === 0) {
13 return (

untitled-8939Dashboard.tsx3 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useRef } from "https://esm.sh/react@18.2.0";
3import type { User, Envelope, Transaction } from "../../shared/types.ts";
4import EnvelopeList from "./EnvelopeList.tsx";
15}
16
17const Dashboard: React.FC<DashboardProps> = ({
18 user,
19 onCreateEnvelope,

untitled-8939Onboarding.tsx4 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3
4interface OnboardingProps {
6}
7
8const Onboarding: React.FC<OnboardingProps> = ({ onCreateUser }) => {
9 const [name, setName] = useState("");
10 const [step, setStep] = useState(0);
11
12 const handleSubmit = (e: React.FormEvent) => {
13 e.preventDefault();
14 if (name.trim()) {

untitled-8939App.tsx3 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0";
3import type { User, Envelope, Transaction, Achievement } from "../../shared/types.ts";
4import Onboarding from "./Onboarding.tsx";
9const API_BASE_URL = "/api";
10
11const App: React.FC = () => {
12 const [user, setUser] = useState<User | null>(null);
13 const [loading, setLoading] = useState<boolean>(true);

untitled-8939index.tsx3 matches

@pmaxxโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import App from "./components/App.tsx";
5

untitled-8939README.md2 matches

@pmaxxโ€ขUpdated 1 week ago
17## Tech Stack
18
19- Frontend: React with animations
20- Backend: TypeScript with SQLite storage
21- Data: CSV parsing for bank statements
29โ”‚ โ””โ”€โ”€ index.ts # Main API entry point
30โ”œโ”€โ”€ frontend/
31โ”‚ โ”œโ”€โ”€ components/ # React components
32โ”‚ โ”œโ”€โ”€ animations/ # Animation utilities
33โ”‚ โ”œโ”€โ”€ index.html # Main HTML template

linkInBioTemplatemain.tsx2 matches

@Inkyistโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

loopyLettersAppmain.tsx3 matches

@alexweinโ€ขUpdated 1 week ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useRef, useState } from "https://esm.sh/react@18.2.0";
4
5const OUTER_RADIUS = 146;

MiniAppStarter9 file matches

@moeโ€ขUpdated 1 day ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

reactHonoStarter4 file matches

@jessicagarsonโ€ขUpdated 1 day ago
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