Installation
npx kinetic-ui-cli@latest add Props
Pass code snippet string, typing speed, and syntax theme options.
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { TypingCodeStream } from "@/components/creative/typing-code-stream";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { TypingCodeStream } from "@/components/creative/typing-code-stream";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<TypingCodeStream
codeString="example"
speed{10}
/>
</div>
);
}