---
title: "Slot text | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/slot-text"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/slot-text.tsx"
install_command: "npx motion-ui-skill add slot-text"
dependencies: ["clsx","motion","react","tailwind-merge"]
category: "craft"
subcategory: "craft"
---

# Slot text

> Text and numbers that spin into their new value on staggered slot machine reels.

## Install

```bash
npx motion-ui-skill add slot-text
```

## Dependencies

- `clsx`
- `motion`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { SlotText as SlotText } from "@/components/craft/slot-text";

export function Example() {
  return (
    <div className="p-6">
      <SlotText />
    </div>
  );
}
```

## Source Files

- [components/craft/slot-text.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/slot-text.tsx)
- [components/craft/slot-text.module.css](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/craft/slot-text.module.css)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
