ShadCN Vue — Modern UIs with Minimal Effort

Buttons, Variants, and the as-child Prop with ShadCN Vue

In this lesson, let’s take a closer look at the button component. In the process, learn about the common variant prop for changing the look (style, color, etc) of many components. Many trigger-type components also accept an as-child prop so you can render your own element while keeping all behavior, accessibility, and style of the original component.

Links

  • Chapter 1

ShadCN Vue — Modern UIs with Minimal Effort

6:03
Data Tables in ShadCN VueComing Soon
Theming with ShadCN VueComing Soon
Dark mode with ShadCN VueComing Soon
Course ConclusionComing Soon