Animated Divider

Create stylish, fun animated dividers for your page elements that are triggered as your visitors scroll down your page.

Examples

The Animated Divider tool allows us top add a pop of interest to our pages. Call attention to a section of content or just accent a header or some text. This tool is easy to use, but provides a great way to spice up our page design.

Example One

In our first example below we've built a few columns of text with headers and have accentuated them with the Animated Divider. All of our dividers' animation are synced in this example.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Example Two

Here we've created another set of columns containing text and headers, but this time we've centered the dividers and our content. Additionally we've also staggered the animations using the Animated Divider tool's delay functionality.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Example Three

In our previous two examples the divider line has grown outward to our desired final width. In this example we've set the Animated Divider to start out expanded and shrink down to its final size. For some variety in our examples we've als given these dividers a shadow as well as slowed down the animation speed.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco ex ea commodo consequat.

3_celociraptor

'Ooh, Ah.' That's How It Always Starts. But Then Later, There's Running And Screaming.

Previously the Animated Divider tool was a part of an addon pack for Foundry. This immensely popular little tool was one we knew we had to include in Foundry 3. Additionally we've also added several new features to make it even more versatile and useful than before.

Settings

Edit Mode

Edit Mode Title

Allows you to add a custom label to the top title bar of the tool. This lets you quickly identify what purpose you're using that tool for in your layout. This title is also visible when you've collapsed or hidden the contents of the tool in Edit Mode.

General

Include Base Margin

When enabled a preset margin will be added to the base of the tool. Foundry allows you to configure the Base Margin preset to your liking within the Control Center. The Base Margin can be configured independently at each of the 6 responsive breakpoints.

Height & Width

Height

Here we can control the height, or thickness, of the Animated Divider. This allows you to customize the look of the divider line to match your page design.

Height Units

Allows you to specify the unit of measure for the height value. You can choose from Pixels (px) or Root Em (rem). The default and recommended units for this offset value is Root Em (rem).

Start Width

This is the starting width of the divider line. When the animation is triggered the animation will begin here and animate to the end width. You can choose from several preset widths, or set your own custom width. Width units are Percantage (%) based, whether they are presets or custom values.

End Width

This is the final end width of the divider line after the animation has concluded. After the animation is triggered the animation will end here. You can choose from several preset widths, or set your own custom width. Width units are Percantage (%) based, whether they are presets or custom values.

Style

Style

Here you can choose the style of the Animated Divider line. You're able to choose from one of Foundry's preset colors, which are defined in the Control Center's color palette settings, or choose either a custom solid color or custom gradient.

When using a custom solid color or gradient you'll be presented with the appropriate color pickers for defining those colors.

Alignment

Alignment (Uniform)

This setting allows you to align the divider to the left, center or right of its parent container. In Uniform mode this alignment will be set the same for all 6 breakpoints.

Alignment (Non-Uniform)

Clicking on the small plus icon will give you the ability to adjust the alignment of the divider independently at each of the 6 responsive breakpoints giving you more granular control.

Rounded Corners

Rounded Corners

Choose from one of Foundry's preset border radiuses, define your own rounded corner radii or disable rounded corners for the divider.

Animation

Duration

Controls the length of your animation. You can also think of the Duration setting as a sort of Speed setting. The larger the value here the longer the animation runs, which also translates to a slower animation. A shorter value will result in a quicker animation.

Delay

Used to delay the the animation's start. The delay period begins when the animation would normally be triggered. This setting is often used to stagger the animation of several items.

Easing

In real life most objects don’t just start and stop instantly, and rarely move at a constant speed. The Easing setting allows us to apply some of this real world feel to our animated objects. We've provided several styles to help you get the feeling you are after.

Animate Once

When enabled the animation will occur only the first time the element would be triggered. After that if the visitor scrolls past the element on the page again it will remain visible and will not trigger the animation again. When disabled the animation will trigger whenever the element comes within view and meets the tigeering offset requirements.

Shadow

Shadow

Used to add a decorative shadow to the divider. Foundry provides a variety of preset shadow styles, as well as access to a user defined preset that you can configure in the Control Center. Additionally for one-off shadows there is also a custom shadow option where you can create a unique shadow style, setting its positioning, size, spread and color.

HTML Comment

HTML Comment

Enabling this feature adds an HTML comment to the exported code to indicate the name of the tool being used here. This is helpful to both yourself and others when troubleshooting, or inspecting the code. This is enabled by default.

Custom

This field allows you to replace the default HTML Comment with your own text.

CSS

Classes

Allows you to specify an options class, or classes, that will be added to this tool's wrapper. You can use this to apply custom styling from the Blacksmith tool, or add a Bootstrap v5 preset class to your item. If you're applying more than one class be sure that you separate each class name with a space. Do not use special characters.