Text that appears character by character with a blinking cursor. Supports looping phrases, cursor styles, speeds, and colors.
Welcome to SoftUI, a neumorphic CSS library.
<p style="font-size:22px;font-weight:700;color:var(--sui-text);"> <span class="sui-typewriter sui-typewriter-cursor" data-sui-typewriter>Welcome to SoftUI, a neumorphic CSS library.</span> </p> <!-- Types out the text content character by character --> <!-- sui-typewriter-cursor adds the blinking cursor -->
I love
npm install
<div style="display:flex;flex-direction:column;gap:20px;">
<p style="font-size:22px;font-weight:700;color:var(--sui-text);">
I love
<span class="sui-typewriter sui-typewriter-cursor" data-sui-typewriter data-words="building websites|writing CSS|creating components|open source" data-loop></span>
</p>
<p style="font-size:20px;font-weight:600;color:var(--sui-text);">
npm install
<span class="sui-typewriter sui-typewriter-cursor sui-typewriter-primary" data-sui-typewriter data-words="softui-css|react|vue|svelte" data-loop></span>
</p>
</div>
<!-- data-words: pipe-separated phrases to cycle through -->
<!-- data-loop: types, deletes, types next phrase, repeats -->Line cursor:
Block cursor:
Underscore cursor:
<div style="display:flex;flex-direction:column;gap:20px;">
<p style="font-size:20px;font-weight:600;color:var(--sui-text);">
Line cursor:
<span class="sui-typewriter sui-typewriter-cursor" data-sui-typewriter data-words="default cursor style" data-speed="60"></span>
</p>
<p style="font-size:20px;font-weight:600;color:var(--sui-text);">
Block cursor:
<span class="sui-typewriter sui-typewriter-cursor-block" data-sui-typewriter data-words="block cursor style" data-speed="60"></span>
</p>
<p style="font-size:20px;font-weight:600;color:var(--sui-text);">
Underscore cursor:
<span class="sui-typewriter sui-typewriter-cursor-underscore" data-sui-typewriter data-words="underscore cursor style" data-speed="60"></span>
</p>
</div>Slow (120ms):
Default (80ms):
Fast (30ms):
<div style="display:flex;flex-direction:column;gap:20px;">
<p style="font-size:18px;font-weight:600;color:var(--sui-text);">
Slow (120ms):
<span class="sui-typewriter sui-typewriter-cursor" data-sui-typewriter data-words="This types slowly...|Notice the pace?" data-speed="120" data-loop></span>
</p>
<p style="font-size:18px;font-weight:600;color:var(--sui-text);">
Default (80ms):
<span class="sui-typewriter sui-typewriter-cursor" data-sui-typewriter data-words="This is the default speed.|A good balance." data-speed="80" data-loop></span>
</p>
<p style="font-size:18px;font-weight:600;color:var(--sui-text);">
Fast (30ms):
<span class="sui-typewriter sui-typewriter-cursor" data-sui-typewriter data-words="This types really fast!|Blink and you miss it." data-speed="30" data-loop></span>
</p>
</div>
<!-- data-speed: ms per character (default 80) -->
<!-- data-delete-speed: ms per character when deleting (default 40) -->
<!-- data-pause: ms to pause before deleting (default 1500) -->Deploy to
Status:
Error:
<div style="display:flex;flex-direction:column;gap:20px;">
<p style="font-size:22px;font-weight:700;color:var(--sui-text);">
Deploy to
<span class="sui-typewriter sui-typewriter-cursor sui-typewriter-primary" data-sui-typewriter data-words="production|staging|preview" data-loop></span>
</p>
<p style="font-size:22px;font-weight:700;color:var(--sui-text);">
Status:
<span class="sui-typewriter sui-typewriter-cursor-block sui-typewriter-success" data-sui-typewriter data-words="All systems operational" data-speed="50"></span>
</p>
<p style="font-size:22px;font-weight:700;color:var(--sui-text);">
Error:
<span class="sui-typewriter sui-typewriter-cursor sui-typewriter-danger" data-sui-typewriter data-words="Connection refused|Timeout exceeded|404 Not Found" data-loop data-pause="2000"></span>
</p>
</div>
<!-- Color classes: sui-typewriter-primary, success, danger, warning, info -->Add data-reserve to hold the width of the longest phrase.
Ship faster with SoftUI.
Status: Building — this sentence stays put.
<div style="display:flex;flex-direction:column;gap:20px;">
<p style="font-size:20px;font-weight:600;color:var(--sui-text);">
Ship <span class="sui-typewriter sui-typewriter-cursor sui-typewriter-primary" data-sui-typewriter data-reserve data-words="faster|smaller bundles|accessible interfaces" data-loop>faster</span> with SoftUI.
</p>
<p style="font-size:20px;font-weight:600;color:var(--sui-text);">
Status: <span class="sui-typewriter sui-typewriter-cursor-block" data-sui-typewriter data-reserve data-words="Building|Testing|Deploying|Live" data-loop data-sr-text="Build status">Building</span> — this sentence stays put.
</p>
</div>
<!-- data-reserve: width of the longest phrase, so nothing after it reflows -->
<!-- Text inside a data-words element is shown first, then typed over
(if it matches the first phrase, typing continues from there) -->
<!-- data-sr-text: what screen readers hear (default: all phrases, comma-separated) -->
<!-- prefers-reduced-motion: static text, no typing
(existing text or first phrase with data-loop, last phrase without) -->| Attribute / Class / Setting | Description |
|---|---|
data-sui-typewriter | Turns the element into a typewriter. Without data-words it types its own text once. |
data-words | Phrases separated by |. Text already inside the element (e.g. server-rendered) shows first, then is typed over. |
data-loop | Types, deletes and moves to the next phrase, forever. Without it, typing stops on the last phrase. |
data-speed | Milliseconds per typed character (default 80). |
data-delete-speed | Milliseconds per deleted character (default 40). |
data-pause | Milliseconds to wait before deleting a finished phrase (default 1500). |
data-reserve | Sizes to the longest phrase so the text after it never shifts. |
data-sr-text | What screen readers hear (default: all phrases once). |
sui-typewriter-cursor, -cursor-block, -cursor-underscore | Line, block or underscore blinking cursor. |
sui-typewriter-primary, -success, -danger, -warning, -info | Text colour. |
prefers-reduced-motion | Static text, no typing: the existing text or first phrase with data-loop, the last phrase without. Plain-text mode shows the full text. |
This is a neumorphic modal dialog. It features backdrop blur, smooth animations, and focus trap. Press Escape or click outside to close.
Your session will expire in 5 minutes. Would you like to stay signed in?
This action cannot be undone. This will permanently delete the item and remove all associated data.
This modal takes up the entire viewport. Useful for immersive content, editors, or media viewers.
Press Escape or click the close button to dismiss.
By accessing and using this service, you accept and agree to be bound by the terms and provision of this agreement. In addition, when using these particular services, you shall be subject to any posted guidelines or rules applicable to such services. Any participation in this service will constitute acceptance of this agreement.
Permission is granted to temporarily download one copy of the materials on this website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not modify or copy the materials, use the materials for any commercial purpose, attempt to reverse engineer any software, or remove any copyright notations.
The materials on this website are provided on an 'as is' basis. We make no warranties, expressed or implied, and hereby disclaim and negate all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property.
In no event shall this company or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials, even if we have been notified orally or in writing of the possibility of such damage.
The materials appearing on this website could include technical, typographical, or photographic errors. We do not warrant that any of the materials on its website are accurate, complete or current. We may make changes to the materials contained on its website at any time without notice.
We have not reviewed all of the sites linked to this website and are not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement. Use of any such linked web site is at the user's own risk.
We may revise these terms of service for this website at any time without notice. By using this website you are agreeing to be bound by the then current version of these terms of service. Any changes will be posted on this page with an updated revision date.
These terms and conditions are governed by and construed in accordance with applicable laws and you irrevocably submit to the exclusive jurisdiction of the courts in that location. If any provision of these terms shall be unlawful, void, or unenforceable, then that provision shall be deemed severable and shall not affect the validity of the remaining provisions.
Clicking outside this modal won't close it. Instead, the modal will shake to indicate it requires explicit action. Pressing Escape shakes it too — use the close button or an action to dismiss.
This modal has no backdrop blur. The background is visible but dimmed.
A subtle 3px backdrop blur. Content behind is slightly softened.
A heavy 12px backdrop blur. Background is barely recognizable.
Maximum 20px blur. Background is fully frosted.
This is a default right-side sheet. It slides in from the right edge of the screen with a blurred backdrop.
Sheets are great for navigation menus, settings panels, detail views, and forms that don't need to interrupt the main content flow.
This sheet slides down from the top. Great for announcements, notification panels, or search interfaces.
This is a small (280px) right-side sheet.
This is a large (480px) right-side sheet. Great for forms, detail views, or complex content.
Clicking outside this sheet won't close it. The sheet will shake to indicate it requires explicit action. Pressing Escape shakes it too. Use the close button to dismiss.