Skip to Content

Loop Settings Form

Loop settings form card for audio or video tools: loop in and out times typed as m:ss, a large computed loop length, and fade in and out times in a collapsible section. Controlled or uncontrolled.

pnpm dlx shadcn add @01orbital/loop-settings-form

Usage

import { LoopSettingsForm } from "@/components/forms/loop-settings-form"

Needs props to render

Pass title, defaultValue, labels; see the API reference below.

Examples

New

loop-settings-form-console

loop-settings-form-console

Console

Audio loop settings example showing the LoopSettingsForm as a console, with the fade in and out controls left exposed and monospace labels.

pnpm dlx shadcn add @01orbital/loop-settings-form-console

API reference

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: @phosphor-icons/react, cn. The CLI installs them for you.

Registry pieces it installs with it: