Ready to get started?

Join Adocasts Plus for $8/mo, or sign into an existing Adocasts Plus account, to get access to all of our lessons.

robot mascot smiling

Adding Alert Variants

In This Lesson

We'll focus on adding a light, dark, blue, green, red, and yellow variant option to our base alert.

Created by
@tomgobich
Published

Next up, let’s go ahead and add in our variant options while our component’s markup is still relatively simple. This process will be relatively similar to when we added our button’s variant options.

Getting the Variant Classes

First, let’s copy the Pines UI markup for the alert variant options, or you can copy it from below.

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!