Focus Breath

Focus Breath: A breathing guide that pulses between inhale and exhale every four seconds. One tap to start — useful in wellness or focus flows. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Focus Breath

npx motion-ui-skill add focus-breath

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Focus Breath

A breathing guide that pulses between inhale and exhale every four seconds. One tap to start — useful in wellness or focus flows.

Install

npx motion-ui-skill add focus-breath

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { FocusBreathWidget } from "@/components/widgets/focus-breath-widget";

export function FocusBreathWidgetDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <FocusBreathWidget />
    </div>
  );
}

API Reference

FocusBreathWidget

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category