# Split Flap Text

Departure-board lettering for headlines and status lines. Each tile flips only as far as its new letter, on a hinge, a beat after its neighbour.

## Installation

Split Flap Text is a free, open-source React component in the Kokonut UI [Texts collection](/content/docs/texts/index.html). Add it with the shadcn CLI, which copies the source into `components/kokonutui/split-flap-text.tsx`, so the code is yours to change.

```
npx shadcn@latest add @kokonutui/split-flap-text
```

## Usage

```
import SplitFlapText from "@/components/kokonutui/split-flap-text";

export default function Example() {
  return <SplitFlapText />;
}
```

## Props

- `text` `string`
  - Show this text. Leave out to cycle through `words`.

- `words` `string[]` Default `[
