WelcomeToShitUI

How to use

01Import the component
import { VaporSmokeText } from "@/components/shitui/VaporSmokeText";
02Use in your application
export default function MyComponent() {
return (
  <VaporSmokeText text="Your Text" className="text-6xl text-foreground" />
);
}

Examples

01With Trigger Control
"use client";
import { useState } from 'react';
import { VaporSmokeText } from "@/components/shitui/VaporSmokeText";

export default function ControlledAnimation() {
const [show, setShow] = useState(false);

return (

<div>
<button onClick={() => setShow(!show)}>
Toggle Animation
</button>

    <VaporSmokeText
      text="Click to animate"
      trigger={show}
      className="text-6xl text-foreground"
    />
  </div>

);
}
02Custom Styling
<VaporSmokeText 
text="Ethereal" 
className="text-9xl font-serif text-cyan-400"
/>

Features

Combines opacity and blur filters for a smoky appearance.

Props

PropTypeDefaultDescription
textstring-The text content to animate
classNamestringundefinedAdditional styles for the container
triggerbooleantrueControls animation state (true = visible, false = hidden)
Component Info