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
14 lessons • 1 hr4:12
6:03
3:31
1:07
10:28
9:06
4:15
11:42
6:51
10:05
6:24
5:08
1:31