All Projects → borakilicoglu → svelte-marquee-text

borakilicoglu / svelte-marquee-text

Licence: MIT license
[CSS GPU Animation] Marquee Text for Svelte

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to svelte-marquee-text

sveld
Generate TypeScript definitions for your Svelte components
Stars: ✭ 281 (+497.87%)
Mutual labels:  svelte, svelte-component
svelte-multiselect
Keyboard-friendly, accessible and highly customizable multi-select component
Stars: ✭ 91 (+93.62%)
Mutual labels:  svelte, svelte-component
svelte-lottie-player
Lottie Player component for Svelte
Stars: ✭ 90 (+91.49%)
Mutual labels:  svelte, svelte-component
svelte-undoable
Memento design pattern in Svelte
Stars: ✭ 39 (-17.02%)
Mutual labels:  svelte, svelte-component
svelte-intersection-observer
Detect if an element is in the viewport using the Intersection Observer API
Stars: ✭ 151 (+221.28%)
Mutual labels:  svelte, svelte-component
svelte-search
Accessible, customizable Svelte search component
Stars: ✭ 17 (-63.83%)
Mutual labels:  svelte, svelte-component
svelte-inview
A Svelte action that monitors an element enters or leaves the viewport.🔥
Stars: ✭ 358 (+661.7%)
Mutual labels:  svelte, svelte-component
hagura-sveltekit
A minimal markdown blog template built using SvelteKit
Stars: ✭ 51 (+8.51%)
Mutual labels:  svelte
sveltekit-magic
An implementation of passwordless authentication using Magic with SvelteKit.
Stars: ✭ 38 (-19.15%)
Mutual labels:  svelte
svelte-color-picker
A color picker component for svelte
Stars: ✭ 96 (+104.26%)
Mutual labels:  svelte
svelte-portal
Svelte component for rendering outside the DOM of parent component
Stars: ✭ 261 (+455.32%)
Mutual labels:  svelte
sdk-for-svelte
Appwrite SDK for Svelte 🧡 ⚠️ Warning - this SDK was designed to support Appwrite 0.9 and is not compatible with the latest Appwrite versions. We are planing to refactor it as part of the SDK Generator for better support and maintenance.
Stars: ✭ 69 (+46.81%)
Mutual labels:  svelte
d3-fdg-svelte
d3 Force Directed Graph example (d3-force) implemented in sveltejs. REPL:
Stars: ✭ 31 (-34.04%)
Mutual labels:  svelte
vscode
Builder.io for VSCode - turn designs into code!
Stars: ✭ 139 (+195.74%)
Mutual labels:  svelte
auth
Sapper Authentication Implementation for Wordpress
Stars: ✭ 18 (-61.7%)
Mutual labels:  svelte
sveltekit-blog
Sveltekit blog starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook. The project has the structure set up for the scaleable web application.
Stars: ✭ 100 (+112.77%)
Mutual labels:  svelte
svelte-grid-responsive
Responsive grid system based on Bootstrap for Svelte
Stars: ✭ 41 (-12.77%)
Mutual labels:  svelte
app-idea-generator
💡 Generate app ideas to take inspiration from, or to have a laugh
Stars: ✭ 13 (-72.34%)
Mutual labels:  svelte
svelte-portable-text
Svelte component for rendering block content
Stars: ✭ 30 (-36.17%)
Mutual labels:  svelte
svelte-typescript-setups
Examples and tests of different bundler setups for Svelte with Typescript and PostCSS (Tailwind)
Stars: ✭ 50 (+6.38%)
Mutual labels:  svelte

svelte-marquee-text

[CSS GPU Animation] Marquee Text for Svelte

npm license npm

Demo

https://borakilicoglu.github.io/svelte-marquee-text

Install

npm install svelte-marquee-text-widget or yarn add svelte-marquee-text-widget

Usage

Import that in your App.svelte or similar file

import MarqueeTextWidget from "svelte-marquee-text-widget";

On your page you can now use html like this:

<!-- simple marquee text -->
<MarqueeTextWidget>
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
  eirmod tempor invidunt ut labore et dolore magna.
</MarqueeTextWidget>

<!-- short text need more duplicates -->
<MarqueeTextWidget repeat="{10}">
  Short text =(
</MarqueeTextWidget>

<!-- slow duration -->
<MarqueeTextWidget duration="{30}">
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
  eirmod tempor invidunt ut labore et dolore magna.
</MarqueeTextWidget>

Props

Prop Type Default Description
duration Number 15 Animation Duration
repeat Number 2 Number of repeat the Slot (It's important for to short content)
paused Boolean false The property specifies whether the animation is running or paused
pauseOnHover Boolean false The property specifies whether the animation should be paused when hovered over
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].