Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Laracasts

shadcn/ui Deconstructed

via Laracasts

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Shadcn/ui is not only great for building beautiful user interfaces, but it’s also an excellent way to learn coding patterns and techniques to build a robust set of UI components or a design system. In this series, we will reverse-engineer the code generated by shadcn/ui to explore various composition patterns and styling techniques.

Syllabus

  • Introduction
    • Introduction
    • CLI-Driven Code Generation
  • Styling Utilities
    • The cn Function, Part 1: clsx
    • The cn Function, Part 2: Tailwind Merge
    • Multi-Style Variant Components
    • Class Variance Authority
  • Composition and Theming
    • The asChild Prop
    • Component Composition
    • Compound Components
    • Theming

Taught by

Simon Vrachliotis

Reviews

Start your review of shadcn/ui Deconstructed

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.