Tessera Living UI.เข้าสู่ระบบ
FX BLOCKS

บล็อกใหม่ 6 ตัวที่ต่อได้เหมือนชิ้นส่วน

ทุกบล็อกมีแผงสไตล์จาก `props._style` (พื้นหลัง/ระยะ/ความกว้าง/anchor/ซ่อนตามจอ) เหมือนบล็อกเดิม และแก้ prop ได้จากหน้า `/admin/pages` — รายการด้านล่างคือ prop จริงของแต่ละตัว

  • *fxHero** · `bg` (aurora|mesh|grid|dots|spotlight|constellation) · `kicker` · `title` · `highlight` · `subtitle` · `ctaText` · `ctaHref` · `ctaSecondaryText` · `ctaSecondaryHref` · `colors` (≤3 สี) · `dark` · `shimmer`
  • *fxText** · `text` · `effect` (gradient|shiny|typewriter|rotating|ticker) · `size` · `align` · `label` · `words` · `value` · `prefix` · `suffix`
  • *glowCards** · `title` · `text` · `items` [{title, text, href, icon, tag}] · `columns` (2|3|4) · `tilt` · `glow`
  • *shimmerButton** · `text` · `href` · `size` (sm|md|lg) · `variant` (solid|outline) · `shimmer` · `beam` · `align` · `note`
  • *fxMarquee** · `items` · `speed` (8–120 วินาที/รอบ) · `direction` (left|right) · `label`
  • *fxStats** · `items` [{value, prefix, suffix, label}] · `columns` · `note`

(ข้อความในหน้านี้เป็นตัวอย่างของเดโม — ตัวเลขและข้อความทั้งหมดแก้ได้จากฐานข้อมูล)

fxHero · variant mesh

ฉากหลังแบบ mesh

props ที่ใช้ในตัวอย่างนี้: bg=mesh, colors=[#7c5cff,#22d3ee,#f472b6], dark=true

fxText · effect=shiny

หัวข้อเงาวิ้งที่กวาดแสงผ่าน

fxText · effect=typewriter

ข้อความนี้พิมพ์ทีละตัวหลังโหลดหน้าเสร็จ

12,345 บล็อกตัวเลขนับขึ้นเมื่อเลื่อนมาถึง

glowCards · columns=2, tilt=true, glow=#a3e635

แสงเรืองตามนิ้ว/เมาส์ · บนอุปกรณ์แตะจะเป็นการ์ดเรืองแสงนิ่ง

pointer

แสงตามตำแหน่งชี้

อ่านค่าจาก pointermove แล้วเขียน CSS variable ผ่าน requestAnimationFrame

ดูต่อ
tilt

เอียงไม่เกิน 6 องศา

ปิดอัตโนมัติบนจอแตะ และเมื่อผู้ใช้ตั้ง reduced-motion

ปุ่ม outline + beam

variant=outline · beam=true · shimmer=true

fxMarqueespeed=20direction=righthover เพื่อหยุดreduced-motion = ขึ้นบรรทัดใหม่
6 ตัวบล็อกใหม่
390 pxกว้างสุดบนมือถือที่ทดสอบ
0 msงานใน main thread ตอนอยู่นอกจอ

fxStats · columns=3 · items มี value/prefix/suffix/label

กลับไปหน้าแรก
บล็อกทั้งหมด · Tessera Living UI