Components

3 Series
32 Lessons
2h 27m

EdgeJS has fantastic support for components, which features support for state, props, slots, slot scopes, and data injection. Components allow you to define markup or functionality once, and use it throughout your app.

Series.

Snippets.

Lessons.

Video preview
Adocasts Plus Exclusive
Free in 12 days
Easy SVG Icons with Edge Iconify
Let's Learn AdonisJS 6 #3.10
Feb 21

Easy SVG Icons with Edge Iconify

In this lesson, we'll learn how we can install and use the edge-iconify package giving us super easy access within our EdgeJS files to any of the SVG icon packages available through Iconify.

Video preview
Adocasts Plus Exclusive
Free in 4 days
Extracting A Layout Component
Let's Learn AdonisJS 6 #3.5
Feb 13

Extracting A Layout Component

In this lesson, we'll learn how we can create EdgeJS layouts using components so that we don't have to redefine or HTML structure for every page in our application.

Video preview
Adocasts Plus Exclusive
Free in 4 days
Making A Button Component Using Slots
Let's Learn AdonisJS 6 #3.4
Feb 13

Use Slots To Make A Button Component

In this lesson, we'll learn about EdgeJS component slots by making a versatile button component that can gracefully handle both links and button types.

Video preview
Adocasts Plus Exclusive
Free in 4 days
Component Tags, State, and Props
Let's Learn AdonisJS 6 #3.3
Feb 13

Component Tags, State, and Props

In this lesson, we'll learn how to use EdgeJS components within AdonisJS as direct tags. We'll also learn about our component's state and props

Video preview
Adocasts Plus Exclusive
Free in 1 day
Making A Reusable Movie Card Component
Let's Learn AdonisJS 6 #3.2
Feb 10

Making A Reusable Movie Card Component

In this lesson, we'll learn how we can make a movie card component with EdgeJS that we can define once and easily use throughout our markup.

Video preview
Adocasts Plus Exclusive
Exclusive
Form HTTP Method Components
EdgeJS Components #6.2
Jan 14

Form HTTP Method Components

In this lesson, we'll create helper HTTP Method form components, further simplifying our method spoofing by allowing us to just chain the desired method off our form component.

Video preview
Adocasts Plus Exclusive
Exclusive
Form Component Method Spoofing
EdgeJS Components #6.1
Jan 14

Form Component Method Spoofing

In this lesson, we'll add simplified HTTP Method Spoofing functionality to our base form component. With this simplified functionality all we'll need to do is specify the desired HTTP Method to the method prop and it'll add it to our URL.

Video preview
Adocasts Plus Exclusive
Exclusive
Form Utility Component
EdgeJS Components #6.0
Jan 14

Form Utility Component

In this lesson, we'll start a form utility component. This component will allow us to create one central location where we can maintain our forms and provide additional functionality like simplified method spoofing.

Video preview
Adocasts Plus Exclusive
Exclusive
Accordion Variant Options
EdgeJS Components #5.2
Jan 07

Bordered, Active Bordered, and Plain Variants

In this lesson, we'll split out three different variants from the accordion item we made in the last lesson. We'll create bordered, active bordered, and plain accordion items.

Video preview
Adocasts Plus Exclusive
Exclusive
Identifying Accordion Items
EdgeJS Components #5.1
Jan 07

Identifying Accordion Items

In this lesson, we'll add the ability to have more than one item on a given accordion by creating a new accordion item component.

Video preview
Adocasts Plus Exclusive
Exclusive
Starting Our Accordion
EdgeJS Components #5.0
Jan 07

Starting Our Accordion

In this lesson, we'll start our accordion component and gain an understanding of how to handle uniquely identifying components that may appear multiple times on a single page via the AlpineJS magic id utility.

Video preview
Adocasts Plus Exclusive
Exclusive
Self-Destruct & Dismissible Alerts
EdgeJS Components #4.4
Dec 11, 23

Dismissible & Self Destructing Alerts

In this lesson, we'll focus on adding interactivity to our alerts by making them both conditionally dismissible and self-destructable.

Video preview
Adocasts Plus Exclusive
Exclusive
Inverse Style & Cascading Slots
EdgeJS Components #4.3
Dec 11, 23

Inverse Alert Style & Cascading Slots

In this lesson, we'll add our alert's inverse styling by extending our base alert. We'll also see how to cascade slots passed into our inverse alert to our extended base alert.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Conditional Content
EdgeJS Components #4.2
Dec 04, 23

Adding Conditional Icon, Headline, and Message Content

In this lesson, we'll make our alert's icon, headline, and message completely optional. We'll also allow our icon to be provided via slot and our headline and message via prop or slot.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Alert Variants
EdgeJS Components #4.1
Dec 04, 23

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.

Video preview
Adocasts Plus Exclusive
Exclusive
Creating Our Base alert
EdgeJS Components #4.0
Dec 04, 23

Creating Our Base Alert

In this lesson, we'll create our base alert to serve as our building block for our content, variant, and style options. We'll also fix a pseudo-selector issue.

Video preview
Adocasts Plus Exclusive
Exclusive
Button Inverse and Outline Styles
EdgeJS Components #3.4
Nov 20, 23

Adding Button Inverse and Outline Styles

In this lesson, we'll add two new button style options, inverse and outline. Both styles will extend off the work we did with our base button to keep all functionality in one concise location

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Button Variants
EdgeJS Components #3.3
Nov 20, 23

Adding Button Variants

In this lesson, we'll add variant options for our base button. These will provide light and dark options as well as stateful coloring blue, green, red, and yellow.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Button Sizes
EdgeJS Components #3.2
Nov 20, 23

Adding Button Size Options

In this lesson, we'll add four size options to our base button large, base, small, and extra small. These sizes will then automatically be available as we add our button variants and styles.

Video preview
Adocasts Plus Exclusive
Exclusive
Adding Interactivity to our Button
EdgeJS Components #3.1
Nov 13, 23

Adding Interactivity to our Button

In this lesson, we'll add extendable interactivity to our button using AlpineJS. We'll also walk through a demonstration of how we can utilize event propagation in AlpineJS to our advantage.

Showing 1 to 20 of 31 results