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

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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.