Skip to content

Pack · 10 assets

Web starter

Snippets for HTML, CSS, JavaScript, TypeScript and React, plus a contact form, a 404 page, a CSS button set, a React copy button, a Next.js landing hero, URL regex patterns and the light Inkwell theme. All of it is free. Installing the pack switches the editor to Inkwell.

Marketplace assets picked to work together. Open the pack in PocketCode to install them all at once.

If PocketCode is installed on your Android device, this opens the page in the app.

In this pack

HTML and CSS snippetsFreeSnippets8 HTML snippets (landmarks, Open Graph tags, picture, dialog, a table with headers) and 12 CSS ones (reset, grid layouts, clamp, dark mode variables, reduced motion, container queries).JavaScript and TypeScript snippetsFreeSnippets12 JavaScript snippets (fetch with a timeout, Promise.allSettled, grouping, localStorage) and 8 TypeScript ones (type guards, exhaustive switch, as const, satisfies). The JavaScript ones appear in .js files and the TypeScript ones in .ts files.React with TypeScript snippetsFreeSnippets20 snippets for React in .tsx files: typed props, useReducer actions, effects with cleanup, a typed context hook, useLocalStorage, an error boundary and a Testing Library test. You add the React imports your file needs.Contact form (HTML + CSS)FreePageA contact form in one HTML file: name, email, an optional topic and the message. Every field has a label, and a red border appears only after someone types in it or tries to send. Set the form's action to your endpoint. Dark mode follows the system.404 page (HTML + CSS)FreePageA "page not found" page in one HTML file. Save it as 404.html on your static site. It links to your home page and to a page for reporting the broken link, and shows a back button when there is a previous page. Light or dark follows the system.Button set (HTML + CSS)FreeButtonPrimary, secondary, danger and quiet buttons in plain CSS, plus disabled and loading states. Each is at least 44 by 44 px with a focus ring for keyboard users. Dark mode swaps the colours and keeps the contrast.Copy button (React)FreeButtonA React and TypeScript button that copies a text to the clipboard. It shows "Copied" for two seconds and a hidden status line tells screen readers. No CSS framework is needed. On pages served over plain http it falls back to the older copy command.Landing hero (Next.js + Tailwind)FreePageHero section for the Next.js App Router: a title, a subtitle and two links over a soft gradient. It uses dark colours when the system is in dark mode.URL patternsFreeRegex pack18 patterns for links in Find and replace: URL parts, query and tracking parameters, local, WebSocket and image URLs, URLs with a password in them, Markdown links, href and src values. Some rewrite http:// as https:// or a git@ remote as an HTTPS URL.InkwellFreeThemeHigh-contrast light theme with near-black text on white. Text and every syntax colour reach at least 7:1 contrast, so code stays readable in bright light. It also adds a matching terminal theme (Settings > Terminal).