Skip to content
Menu

Backgrounds

Corner light rays

Corner light rays: Wide shafts of light fan in from one corner, two tinted fans crossing at slightly different angles and slowly breathing.

Using Corner light rays

Corner light rays uses the full page preview frame with a dark theme setting.

Customize the preview

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

ControlTypeDefaultPreview limits
colorAcolor#F5C542No additional limit in the metadata.
colorBcolor#38BDF8No additional limit in the metadata.
originselecttop-rightOptions: top-left, top-right, bottom-left, bottom-right
spreadnumber2From 0.5 to 4; step 0.1
speednumber2.5From 0.5 to 6; step 0.5
intensitynumber2From 0.5 to 5; step 0.25
Which frameworks are available for Corner light rays?

Corner light rays 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 Corner light rays depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Corner light rays?

The React source for Corner light rays includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Corner light rays handle reduced motion?

Corner light rays reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components