Skip to content

Text Speed Reader

Pro

Shows one word at a time with its focus letter marked, at a set words-per-minute pace, with pause and progress.

  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Speed Reader needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
40
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Give the text, then place the word and the controls.

focus-reader.tsx

TextSpeedReader

<div>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
textRequiredstring—The text to read, one word at a time.
childrenReactNode—The parts. Default: the word, the controls row, and the progress.
wpmnumber—The speed in words per minute (controlled).
defaultWpmnumberSPEED_READER_WPM.defaultThe first speed when wpm is not set. Default 300.
onWpmChange—
labels—The words the item writes: button names, the speed unit, the time left.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TextSpeedReaderWord

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TextSpeedReaderControls

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TextSpeedReaderPlay

<button>
PropTypeDefaultDescription
classNamestring—
busyboolean—The button waits for the app (busy words): a spinner, aria-busy, and no clicks. Focus stays on the button. The style hook stays data-loading.
spinnerPlacement"center""start"—center (default): the spinner covers the label. start: it takes the leading icon slot. The icon sizes always use center, because their one icon is the label.
glass"clear""dark""light"—
rounded"default""full"—
size"default""icon""icon-lg""icon-sm""icon-xs""lg""sm""xl""xs""icon"
variant"dashed""default""destructive""destructive-outline""ghost""link""media""outline""secondary""default"
From Base UIButtonBase UI docs
focusableWhenDisabledbooleanfalseWhether the button should be focusable when disabled.
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
style—Style applied to the element, or a function that returns a style object based on the component's state.
...props<button> attributes—Every other attribute goes to the <button>, with a ref.

TextSpeedReaderStep

<button>
PropTypeDefaultDescription
classNamestring—
busyboolean—The button waits for the app (busy words): a spinner, aria-busy, and no clicks. Focus stays on the button. The style hook stays data-loading.
spinnerPlacement"center""start"—center (default): the spinner covers the label. start: it takes the leading icon slot. The icon sizes always use center, because their one icon is the label.
glass"clear""dark""light"—
rounded"default""full"—
size"default""icon""icon-lg""icon-sm""icon-xs""lg""sm""xl""xs""icon"
variant"dashed""default""destructive""destructive-outline""ghost""link""media""outline""secondary""ghost"
directionRequired"back""forward"—back shows the word before, forward the word after. Both pause.
From Base UIButtonBase UI docs
focusableWhenDisabledbooleanfalseWhether the button should be focusable when disabled.
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
style—Style applied to the element, or a function that returns a style object based on the component's state.
...props<button> attributes—Every other attribute goes to the <button>, with a ref.

TextSpeedReaderSpeed

<div>
PropTypeDefaultDescription
classNamestring—
controlReactNode—The control under the children. Default: a SliderControl with the track, the indicator, and one thumb per value. Pass your own SliderControl to change a part (a thumb with a Tooltip).
thumbPropsOmit<SliderThumbProps, "index">—Props for every default thumb: getAriaLabel, getAriaValueText, aria-label, disabled.
tone"destructive""info""neutral""success""warning"—default: the primary fill. A status colors the fill and the thumb edge: success a good value, warning a value that needs care, info a neutral mark, destructive a value over a limit. Color is never the only signal: say it in words too.
glowboolean—A soft halo in the fill color (glow, @gelatin-ui/glow). Default: false.
variant"bare""default""playhead"—default: the track, the fill, and round thumbs. playhead: an invisible track over the parent's whole box and a 2px line thumb, for a scrub over a waveform or a timeline (the parent draws the played part). bare: the same press area with thumbs that the item draws (children of SliderThumb), for the handles of a timeline. Default default.
childrenReactNode"Speed"The label. Default "Speed".
From Base UISlider.RootBase UI docs
disabledbooleanfalseWhether the slider should ignore user interaction.
formatNumberFormatOptions—Options to format the value.
localeLocalesArgument—The locale used by Intl.NumberFormat when formatting the value. Defaults to the user's runtime locale.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TextSpeedReaderProgress

<div>
PropTypeDefaultDescription
classNamestring—
glowboolean—A soft halo in the fill color (glow, @gelatin-ui/glow). Default: false.
tone"destructive""info""neutral""success""warning"—The fill color: default (primary), or a status for a task whose state has a meaning: success done, warning slow or nearly full, info a neutral step, destructive failed. Color is never the only signal: say the state in the label or value.
From Base UIProgress.RootBase UI docs
aria-valuetextstring—A string value that provides a user-friendly name for aria-valuenow, the current value of the progress bar.
formatNumberFormatOptions—Options to format the value.
getAriaValueText—Accepts a function which returns a string value that provides a human-readable text alternative for the current value of the progress bar.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use defaultWpm for the start speed.
  • Use wpm and onWpmChange to control the speed.
ArrowLeft / ArrowRightOn the word or a control: steps one word back or on (mirrored right to left).
Home / EndGoes to the first or the last word.
Space / EnterPresses the focused button: play, pause, or a step.

Built with

Installs with Text Speed Reader

  1. AddedText Speed Reader, with Button, Progress, Slider.
Open the release