reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
ShaderSurface
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

ShaderSurface

Component

Create animated WebGL backgrounds with ogl, material presets, configurable colors, still frames, PNG capture, and a WebGL fallback.

Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { ShaderSurface } from "@reopt-ai/opt-ui";

Live preview

Change the width and theme, then interact with the components.

100%

배경 (애니메이션)

Signature

Felix Metallic

카드 배경 (정지 프레임)

liquid-silk
iridescent-pearl
molten-gold
liquid-glass
aurora-veil
mesh-flow

ShaderSurface

PropTypeDefaultDescription
presetRequiredShaderPresetId—렌더할 셰이더 프리셋 id
colorsstring[]—hex 색상 배열 (미지정 시 프리셋 기본 색)
scalenumber—패턴 스케일
speednumber—애니메이션 속도
distortionnumber—왜곡 강도
grainnumber—필름 그레인 양
contrastnumber—하이라이트 대비
anglenumber—회전 각도(도)
pausedboolean—true면 단일 프레임만 렌더 (카드 배경 등)
dprnumber—device pixel ratio 상한 (기본 min(dpr, 2))
View test results

테스트 커버리지

2026년 7월 9일2/2 통과
2성공
0실패
2전체
  • WebGL 미지원 시 폴백 컨테이너를 크래시 없이 렌더한다
  • className을 루트에 전달한다

Related components

opt-ui

FieldToken

Core

Display field types with consistent glyphs and optional labels for strings, numbers, dates, IP addresses, and geographic data.

opt-ui

Facet

Core

Filter by field values while reading their counts and distribution bars. Show top values first and collapse the long tail.

opt-ui

Expression

Core

Read and edit conditions as sentences for alert rules and segment filters that need to be easy to verify.

opt-ui

TextTruncate

Core

Measure text in its actual font and available width to truncate the start, middle, or both ends while preserving the full accessible text.

opt-ui

Highlight

Core

Mark matching search terms with semantic mark elements, matching longer terms first to avoid fragmented overlaps.

opt-ui

LiveRegion

Core

Announce live updates to screen readers with throttled summaries and alternating nodes that can repeat identical messages.

PreviousCommandNextCallout