# Curtain line loader

https://fieldbook.lizardi.mx/components/curtain-line-loader

Category: Feedback
![Still of the Curtain line loader component, a Fieldbook UI component in Feedback.](https://fieldbook.lizardi.mx/thumbs/curtain-line-loader.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/curtain-line-loader-97ae29d570.mp4 (5 s, silent)

Curtain line loader: A loading curtain that retreats behind a bright travelling line, cutting the finished content into view instead of fading it in.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| duration | number | 900 | From 400 to 2000; step 50 |
| direction | select | right | Options: left, right, up, down |
| lineWidth | number | 4 | From 2 to 10; step 1 |
| loop | boolean | true | No additional limit in the metadata. |

## Usage notes

Curtain line loader uses the card preview frame with a dark theme setting.

### Which frameworks are available for Curtain line loader?

Curtain line loader is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Curtain line loader depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

### What accessibility details are visible in Curtain line loader?

The React source for Curtain line loader includes: native elements (button); attributes and handlers (aria-hidden, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Curtain line loader handle reduced motion?

Curtain line loader reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "curtain-line-loader",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Fill progress loading text](https://fieldbook.lizardi.mx/components/fill-progress-loading-text)
- [Single glyph spinner](https://fieldbook.lizardi.mx/components/single-glyph-spinner)
- [Content Loading Card](https://fieldbook.lizardi.mx/components/content-loading-card)
- [Infinite loop path loader](https://fieldbook.lizardi.mx/components/infinite-loop-path-loader)
- [Labeled progress bar](https://fieldbook.lizardi.mx/components/labeled-progress-bar)
- [Quiet Ring Spinner](https://fieldbook.lizardi.mx/components/quiet-ring-spinner)
