A set of svg paths that animate in a wave pattern. Good for hero sections background, as seen on height.app
To install, just include the following JavaScript somewhere on your page:
<!-- Load the core file first --><script></script>
<!-- Load the component --><script></script>ft-core.iife.js file must be loaded before any other components.
To pass props, include them as JSON inside a <script> tag with the data-fn="props" attribute.
Note The data-ft-* attribute
determines which Frankternity component is mounted and should be replaced with
the component name.
| Prop Name | Type | Default | Description |
|---|---|---|---|
className | string | Additional CSS classes to be applied to the outer container. | |
stl | object | {} | Additional inline styles to be applied to the outer container. |
svgOptions | object | { duration: 10 } | Options for customizing the SVG animation. |