You're Overthinking Web Components | Sanford Tech
Magic UI
Beautiful UI components and templates to make your landing page look stunning.
toolwind/anchors: Anchors for Tailwind CSS provides a simple API for working with CSS anchor positioning, enabling flexible, declarative positioning relative to custom anchors.
Anchors for Tailwind CSS provides a simple API for working with CSS anchor positioning, enabling flexible, declarative positioning relative to custom anchors. - toolwind/anchors
Anime.js | JavaScript Animation Engine
A fast and versatile JavaScript animation library
syntax-highlight element - Web Component
A syntax-highlight web component that uses the CSS Custom Highlight API.
Table of contents • Exploring JavaScript (ES2025 Edition)
Assortment/darkmodejs: Utility package for managing Dark Mode on the web
Utility package for managing Dark Mode on the web
Creating The “Moving Highlight” Navigation Bar With JavaScript And CSS — Smashing Magazine
In this tutorial, Blake Lundquist walks us through two methods of creating the “moving-highlight” navigation pattern using only plain JavaScript and CSS. The first technique uses the `getBoundingClientRect` method to explicitly animate the border between navigation bar items when they are clicked. The second approach achieves the same functionality using the new View Transition API.
Image Editor | Figma
📺 Demo video on YouTube
💡 Features:
Manipulate an image with many different color adjustments and filtersSave and load your own presetsPlugin takes and keeps the original resolution of the image.Changes tracking
🎨 Color adjustments:
BrightnessContrastHueChannelsExposureGammaVibranceTintCurvesSof...
Obra Icons
A simple, consistent set of icons, perfect for user interfaces.
Free online vector editor & procedural design tool
Open source free software. A vector graphics creativity suite with a clean, intuitive interface. Opens instantly (no signup) and runs locally in a browser. Exports SVG, PNG, JPG.
Configure a Contact Form Email Server with Resend for Your Website
This tutorial covers how to hook up your front-end contact form to a back-end email server using Resend. You can apply the concepts discussed in this post to any front-end or back-end framework. If you're using a form provider like FormSpree or FormSubmit and want to move away from them, then this blog post is for you.
import { Elysia, t } from "elysia";
import { cors } from "@elysiajs/cors";
import { Resend } from "resend";
import { EmailTemplate } from "./email-templates/message";
import winston, { format } from "winston";
const { errors, printf, combine, colorize, timestamp } = format;
// logger for server logs
export const logger = winston.createLogger({
level: "info",
});
logger.add(
new winston.transports.Console({
format: combine(
errors({ stack: true }),
colorize({ all: true }),
timestamp(),
printf(
({ level, message, timestamp, stack }) =>
`[${timestamp}]:${level}: ${message}${stack ? `\n\n${stack}` : ""}`,
),
),
}),
);
const resend = new Resend(Bun.env.RESEND_API_KEY);
const serverPort = Bun.env.SERVER_PORT || 3000;
// creating Elysia instance
new Elysia()
.use(
cors({
methods: ["POST"],
origin: [
Bun.env.NODE_ENV === "production"
? Bun.env.ALLOWED_ORIGIN
: "localhost:4321",
],
}),
)
.post(
"/send-email",
async (context) => {
const { name, email, message } = context.body;
try {
// the part where we are sending emails
const { error } = await resend.emails.send({
from: `${name} <${Bun.env.EMAIL_TO}>`,
to: [Bun.env.EMAIL_TO],
subject: `New Message Received From ${name}`,
react: EmailTemplate({ name, email, message }),
});
// error sending email, send back error status and message
if (error) {
return context.error((error as any).statusCode, error);
}
logger.info("New email received");
return new Response(JSON.stringify({ message: "Success" }), {
headers: {
"content-type": "application/json",
},
});
} catch (error) {
// catch error and log it, respond to user
if (error instanceof Error) {
logger.error(error.message, error);
}
return context.error("Internal Server Error", error);
}
},
{
// body must be of three properties: name, email, and message
// validation happens as a middleware
body: t.Object({
name: t.String({
minLength: 3,
error: "Name must be at least 3 characters",
}),
email: t.String({
format: "email",
error: "Invalid email format",
}),
message: t.String({
minLength: 1,
maxLength: 1024,
error:
"Message should be at least 10 characters and max of 1024 characters",
}),
}),
// any errors that happens during validation will be logged
error: ({ path, body, request: { method, headers }, error, code }) => {
const errorMessage = `method=${method} path=${path} error=${
error.message
} body=${JSON.stringify(body)} userAgent=${headers.get("user-agent")}`;
logger.error(errorMessage);
return error;
},
},
)
// if any errors happen on the server itself, log the errors
.onError(({ path, request: { method, headers }, error }) => {
const errorMessage = `method=${method} path=${path} userAgent=${headers.get(
"user-agent",
)}`;
logger.error(errorMessage, error);
return error;
})
.listen(serverPort, () => {
logger.info(`Server starting on PORT: ${serverPort}`);
});
Astro file upload: How to add file uploads to your Astro websites | Uploadcare
Add file uploads to your Astro site with Uploadcare. Learn how to build secure, fast, and user-friendly upload forms with this step-by-step guide
There is an app, NO, a web API for that - conference talk by Stéphanie Walter - UX Researcher & Designer.
A talk on unleashing the capabilities of mobile browsers and new APIs to create a truly mobile optimized experience that goes beyond responsive grid and layout adaptation.
Font Generator - 𝓒𝓸𝓹𝔂 𝖆𝖓𝖉 𝓟𝓪𝓼𝓽𝓮 Fancy Cool Text
Convert your simple text into fancy fonts with our cool font generator that helps you copy and paste from 180+ beautiful text styles in seconds.
CSS Only Contrast
We've always wanted it, now it looks like we can have it.
Implementing Edge-Side Rendering (ESR) in Nuxt 3+ for Enhanced Performance - Michael Hoffmann | Michael Hoffmann - Senior Frontend Developer (Freelancer) from Munich, Germany with focus on Vue.js
Discover how Edge-Side Rendering (ESR) can be employed in Nuxt 3++ applications to improve performance by rendering content at the edge, closer to the end-user.
Cap — Modern, Open-source PoW CAPTCHA for JavaScript
Cap.js is a fast, privacy-friendly proof-of-work CAPTCHA alternative to reCAPTCHA and hCaptcha. Zero dependencies, developer-friendly, and effective against spam, DDoS, and automation.
everywhere.tools
Collection of open-source tools for designers & creatives
Gradient effect online
Apply gradient effect to photos & videos in-browser. Create lo-fi blocky gradients. Free, no sign-up required.
Halftone Maker - Ultimate PNG/SVG halftone pattern generator
Free online tool to create professional halftone patterns with real-time preview and export as scalable SVG. Works on all devices including smartphones.
WebTUI
Modular CSS Library that brings the beauty of Terminal UIs to the browser
humanwhocodes/crosspost: A JavaScript utility for posting across multiple social networks at once
A JavaScript utility for posting across multiple social networks at once - humanwhocodes/crosspost
Datastar - The hypermedia framework.
Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.
Open Graph Generator | Web Code Tools
Free award-winning Open Graph generator. Attract more visitors to your website when it’s shared on Facebook, Pinterest and LinkedIn.
AI Color Match: Free Image Color Transfer Tool
Color-grade in one-click. Instantly apply the color and tone of any image to your own. Download your edit as a .jpg or preset, or LUT for free.
How to make your images in Markdown on GitHub adjust for dark mode and light mode
When you want your images to look good in Markdown on GitHub, you might have to adjust for the UI around them.
First adventures in View Transitions
Until recently I had taken only the most cursory look at View Transitions. Now they are in Safari too, and therefore viable across multiple platforms, I wanted to understand them a little more and start making use of them in production. I imagine I am where most working front-end devs are at this point; aware...
OpenFreeMap Quick Start Guide
OpenFreeMap – Open-Source Map Hosting lets you display custom maps on your website and apps for free.
21st.dev - Discover, share, and craft UI components
Ship polished UIs faster with ready-to-use React Tailwind components inspired by shadcn/ui.