deno-frontend

Build Deno frontend UIs with Fresh 2.x, Preact, and Tailwind.

91|8|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/denoland/skills --skill deno-frontend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deno-frontend
Source: https://github.com/denoland/skills/tree/main/skills/deno-frontend
Command: npx skills add https://github.com/denoland/skills --skill deno-frontend

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building modern web UIs in Deno can be complex without clear patterns. This skill guides you through Fresh 2.x, Preact, and Tailwind to streamline frontend development, routing, and islands.

Core Features & Use Cases

  • Fresh 2.x integration: server components, island architecture, and typed state patterns
  • Routing and components: file-based routes, layouts, and API route strategies
  • Tailwind styling: Vite-based setup and CSS integration for rapid UI design

Quick Start

Create a Fresh 2.x project, install dependencies, and start the dev server to see your UI.

Frequently Asked Questions about deno-frontend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build server-rendered pages with islands in Deno?

You can build server-rendered pages with islands in Deno using Fresh 2.x, Preact, and Tailwind. This approach leverages an island architecture to selectively hydrate client-side interactions, ensuring rapid UI design and efficient server rendering.

How do I migrate my existing application from Fresh 1.x to Fresh 2.x?

Migrating to Fresh 2.x involves adopting updated APIs, routing conventions, and define helpers. This skill guides you through the transition from Fresh 1.x, covering new server component patterns, typed state management, and Vite-based configuration.

Can I use Tailwind CSS with Vite for styling in a Deno frontend project?

Yes, you can use Tailwind CSS with Vite in a Deno frontend project. Fresh 2.x supports Vite-based setup and CSS integration, enabling rapid UI design and streamlined styling workflows for your server-rendered components.

What is the best way to configure file-based routing and layouts in Fresh?

The best way to configure routing in Fresh is through its file-based routing system. You structure your application by creating route files and layouts, applying API route strategies and typed state patterns to manage server-rendered pages effectively.

Does Deno support Preact components for client-side interactions and data fetching?

Yes, Deno supports Preact components for client-side interactions and data fetching. By combining Fresh 2.x with Preact, you can implement interactive islands within server-rendered pages, leveraging typed state patterns and define helpers.

How does island architecture work in Fresh 2.x for server components?

Island architecture in Fresh 2.x works by rendering most components on the server and selectively hydrating specific interactive Preact components on the client. This minimizes JavaScript sent to the browser while maintaining dynamic UI capabilities.