Motion Suite
Buttons, card spreads, carousels, loaders and dither charts.
Usage
Each cell below renders its real component with caller-provided content or data. Hover, focus, click, drag or use the visible controls to try it. The reset button remounts only that specimen, including its local model and playback state; the component name opens the full variant gallery and API.
Best Practices
- Drive values, items, status and navigation from your application. A visual press, loading cycle or submit request does not establish that a business operation succeeded.
- Keep repeated or decorative motion out of live regions. Provide one readable text value and native keyboard controls.
- Respect reduced motion and visibility. The shared activity gate suspends continuous work when the specimen is hidden, deactivated or unmounted.
- Use the existing
TxTextMorphengine for changing text values and the shared spring for motion; these families do not add another text-diff or physics engine.
API Reference
Imports
import {
TxCardSpread,
TxCarousel3D,
TxFlipBook,
TxMotion,
TxMotionButton,
TxMotionDock,
TxMotionLoader,
TxMotionText,
TxMotionToggle,
TxMotionTransition,
TxPhysicsMotion,
} from '@talex-touch/tuffex/pro'
import { TxDitherChart } from '@talex-touch/tuffex/charts'
import '@talex-touch/tuffex/base.css'
The suite="motion" key above is a documentation grouping; there is no fourth installation suite barrel. @talex-touch/tuffex/motion is the legal single-component subpath for TxMotion. For manual component imports, follow the on-demand stylesheet instructions on Installation and each component's API page.
Props
| Overview component | Prop | Value | Behavior |
|---|---|---|---|
DocsComponentsGallery | suite | motion | Renders only the Motion band, with twelve live specimens and per-specimen reset controls. |
Related Suites
- Data: MonoChart, the existing chart family and compact visualization.
- Pro: MotionForm, MotionControl and MotionMetric, alongside existing effects and primitives.
- Concepts: installation, theming, accessibility and the full component index.
Overview
- The twelve families share visibility, reduced-motion and spring physics; continuous work stops when inactive.
- Changing text values goes through
TxTextMorph; no second text diff or physics engine is added. - Install from the Pro barrel; DitherChart also has the
@talex-touch/tuffex/chartsentry and ships in npm 0.7.0.
Technologies
- Source adaptations keep Amicro's MIT attribution and source-file Apache-2.0 notices; Lucide glyph data keeps its ISC and applicable Feather-MIT notices, with no React or Lucide runtime dependency.
Related components
- MotionButton: native-semantic buttons with named effects and source presets.
- Card spread: arc, fan and stamp layouts.
- 3D carousel: arc, CoverFlow and Time Machine paths.
- Flip book: two-sided pages that turn by dragging.
- Motion loader: 137 source-defined loading scenes.
- DitherChart: pixel, ordered-dither and SVG pattern charts.
- MotionText: character, word and paragraph text effects.
- Physics motion: 61 grabbable physical scenes.
- Motion: entrances, hover, pointer and scroll-linked interactions.
- Motion dock: magnifying, keyboard-reorderable caller items.
- MotionToggle: controlled switch and action styles.
- MotionTransition: door, liquid-wave, iris and curtain switching.