CodeRef
CodeRef
  • Software
    • VSCode
  • Midjourney_AI
    • Midjourney Cheat Sheet
  • aws
    • S3 Reference
    • Services
  • bash
    • .bashrc File Contents
    • CAN
    • _System Config File Locations
    • argument-length-limits
    • Conditionals
    • Data Structures
    • File Permissions
    • File Syncing
    • File System
    • Functions
    • General
    • Loops
    • My Functions
    • Networking
    • Number Operations
    • OpenVPN
    • Operators
    • Resource Management
    • Serial RS232
    • Spinning Wheel Animation
    • SSH
    • Text Operations
    • Environment Variables
  • cpp
    • ChatGPT | Pointers vs. References
    • arrays
    • Classes
    • Data Types / Structures
    • Enumerated Classes
    • Exception Handling
    • Function Objects
    • Functions
    • I/O
    • Loops
    • Macros
    • Namespaces
    • New Features
    • Pointers
    • Scope
    • Smart Pointers
    • Raw String Literals
    • Style Guide
    • Switch Case
    • Templating
    • How to Use tinyxml2
    • Useful Libraries
    • google-test
    • Conditionals
    • Rule of Three/Five
    • Optional Parameters
    • Keywords
    • Filesystem
    • Random
    • Casting
    • tools
  • git
    • Code Review Dependency Strategy
    • Git Bisect Guide
    • Git Reference
    • removing-cherry-picks
    • Useful Tools
    • Graphite Reference
  • js
    • functions
    • Javascript Reference
  • linux
    • Display
    • Dual Boot with Windows
    • File System
    • NVIDIA
    • Sending/Receiving TCP/UDP Messages in Ubuntu
    • dynamically_linked_binaries
  • markdown
    • Images
    • obsidian-reference
  • python
    • Classes
    • Exceptions
    • Functions
    • Operations
    • Python Reference
    • unittest_command-line-args
    • unittest_magicmock_GPT
    • unittest_mock
    • unittest_printing
    • unittest_subtest
    • useful-stuff
    • jupyter
    • poetry
  • ros
    • _ROS Cheat Sheet
    • Create New Workspace
    • Install ROS
    • Node Sample - Listener
    • Node Sample - Talker
    • Node Template
    • Setup
    • urdf
  • excel
    • excel-reference
  • windows
    • File System
    • WSL - Windows Subsystem for Linux
    • WSL
  • software_engineering
    • uncle_bob_lectures
      • Overview
      • Lesson 01 - Notes
  • web
    • Front End
    • Hugo
    • new_frontend_tools
  • sql
    • cheatsheet
Powered by GitBook
On this page
  • Summary
  • Tech Stack for Dynamic/Interactive Apps
  • JAM Stack
  • SSGs (Static Site Generators)
  • For React
  • Non-React
  • Other Popular Tools
  • UI Design Tools
  • Levels
  • CSS Utility Classes
  • UI Component Libraries
  • React Based
  • Non-React Based
  • Tailwind Based, Non-React
  • Static Site Deployment Platforms
  • IDEs
  1. web

Front End

Summary

Hugo (and its existing themes) is geared toward sites with a lot of markdown content. It's a simple publishing framework for markdown content. If I'm just posting articles, blogging, or making a simple personal/portfolio website, Hugo is a great choice.

But it's also highly customizable if you make your own theme. If you do, you can build literally any type of website with it. Although, for single page apps (SPAs) with highly dynamic content like dashboards or things like Google Maps, a React based framework and SSG is probably better.

Gatsby: If I need to create any custom UI (dashboard, custom layout, custom buttons, etc.), make a React app. There are tons of free UI component libraries for React. Try using Gatsby as the framework.

Top choice tech stacks to try:

  • Normal website (blog, portfolio, business)

    • Theme-based: Hugo + Hugo theme (Congo, Hugo Fresh, Hextra, Doks)

      • Just create content, let theme do the design

    • Custom: Hugo + daisyUI, Tailwind UI, Mamba UI, HyperUI

      • Create my own design using off-the-shelf UI components that can be dropped in (headers, footers, navbars, heroes, cards, etc.)

  • Dynamic single-page app

    • Gatsby + Netlify + Ant Design, Radix, shadcn, NextUI

    • Copy/paste off-the-shelf UI components into site design

Tech Stack for Dynamic/Interactive Apps

  • Node.js / npm - package manager

  • vite - build manager and dev server with hot reloads (like hugo server)

  • react - most popular dynamic app javascript framework

  • shadcn - off-the-shelf UI components for react

  • gatsby - static site generator for react apps

  • cypress - unit and end-to-end testing for web apps

  • netlify - static site host/CDN

JAM Stack

SSGs (Static Site Generators)

For React

    • Gatsby + Netlify is recommended

  • Next.js

Non-React

  • Hugo

Other Popular Tools

  • Vite

UI Design Tools

Levels

  • Level 1 (lowest)

    • Pure CSS

  • Level 2 - utility classes

    • Tailwind CSS - basically group CSS settings into class names to use in HTML; move CSS into to HTML

    • Semantic UI - higher level than Tailwind, UI component level

  • Level 3 - UI component libraries

    • On top of Tailwind

      • daisyUI - semantically named classes, things like "primary button", etc., use the class names in HTML

    • On top of pure CSS

      • Bulma

      • Bootstrap (try others before this, others seem nicer)

    • On top of React

      • Ant Design

      • shadcn

      • Radix

      • NextUI

CSS Utility Classes

UI Component Libraries

    • Tons of stuff

    • Free dashboard templates, Tailwind UI components, etc.

React Based

    • Tailwind based

    • Radix based, which has great accessibility

    • Copy and paste code directly into your codebase, component by component

    • No package to install

    • Focus on accessibility

    • Beautiful components

    • Figma integration

    • Super fancy 3D animation components

      • UI components for chakra

    • For building charts and dashboards

    • Unstyled, fully accessible UI components for React/Vue

Non-React Based

These could be good candidates for Hugo since they don't require React.

    • Looks awesome

    • Pure CSS, single CSS file to add to your project

    • Google-style UI components for free

      • UI kit template for dashboard apps

      • Bootstrap 5 based

      • Also offer illustrations, email templates, free icons

    • Just add css and js files to project

    • Pure CSS

    • Compose reactive behavior directly in markup (HTML)

    • Just import Alpine via <script> tag

Tailwind Based, Non-React

These could be good candidates for Hugo since they don't require React.

    • Looks incredible, top choice to try

    • But a YouTuber said the UI components have very poor accessibility (UX stuff, like not maintaining focus on a popup, things scrolling behind popups, etc.)

    • In the comments people said the accessibility issues were fixed, and that reactive behavior is not part of the scope of daisyUI

    • Makers of Tailwind CSS

    • Some free, some paid

    • Components and full UI layouts/templates

    • React and Vue compatible, but I don't think they're required

    • HTML + Tailwind

Static Site Deployment Platforms

    • Seems extremely popular, every SSG and framework points you to it, integrates with all of them

    • I'm using it currently, it's great, super fast and easy to use, excellent

    • Includes many other cloud features like storage buckets, serverless functions (workers), etc.

    • All cloud services seem to have a generous free tier

    • Really interesting, seems to have a lot of features, would like to try

  • Laravel Vapor?

    • Mentioned in a YouTube video, haven't looked into it much, seems relatively popular

IDEs

Last updated 11 months ago

Gatsby |

Tailwind CSS |

Creative Tim |

React version |

shadcn |

Radix |

NextUI |

Ant Design |

Aceternity UI |

chakra |

Choc UI |

Tremor |

Blueprint JS |

PrimeReact |

Evergreen |

HeadlessUI |

Bulma |

Semantic UI |

React version |

MUI (Material UI) |

Bootstrap |

Tabler |

UIkit |

Tachyons |

Alpine.js |

daisyUI |

Mamba UI |

HyperUI |

Tailwind UI |

uiverse |

FloatUI |

tailwindcraft |

Wicked Blocks |

TailGrids |

Netlify |

Cloudflare Pages |

Vercel |

MarsX |

https://jamstack.org/
https://www.gatsbyjs.com/
https://tailwindcss.com/
https://www.creative-tim.com/
https://www.creative-tim.com/product/argon-design-system-react
⭐
https://ui.shadcn.com/
⭐
https://www.radix-ui.com/
⭐
https://nextui.org/
⭐
https://ant.design/
https://ui.aceternity.com/
https://v2.chakra-ui.com/
https://choc-ui.com/
https://www.tremor.so/
https://blueprintjs.com/
https://primereact.org/
https://evergreen.segment.com/
https://headlessui.com/
⭐
https://bulma.io/
https://semantic-ui.com/
https://react.semantic-ui.com/
https://mui.com/
https://getbootstrap.com/
https://tabler.io/
https://getuikit.com/
https://tachyons.io/
https://alpinejs.dev/
⭐
https://daisyui.com/
⭐
https://mambaui.com/
⭐
https://www.hyperui.dev/
https://tailwindui.com/
https://uiverse.io/
https://floatui.com/
https://tailwindcraft.com/
https://wickedblocks.dev/
https://tailgrids.com/
https://www.netlify.com/
https://pages.cloudflare.com/
https://vercel.com/
https://www.marsx.dev/