# Slice text — Detent

> Strips fly in from both sides and align into letters. Move over it and it cuts apart around the pointer.

Canonical: https://detentui.com/components/slices
Last updated: 2026-11-10

## About

Strips fly in from both sides and align into letters. Move over it and it cuts apart around the pointer.

## Details

- It plays once, the first time it comes into view.
- After that it answers the pointer, parting a few strips and healing when you leave.
- Give it a gradient through `fill`, or let it use your text colour.
- With reduced motion it simply appears, and screen readers always get the words.

## Install

```bash
npx shadcn add https://detentui.com/r/slices
```

## Related
- [All components](https://detentui.com/components)
- [Pro](https://detentui.com/pro)
