Ugi Stelmokaitis (@ugi_dev) header
Ugi Stelmokaitis (@ugi_dev) profile picture

Building: ⬡ https://teapawt.net/t.co/DPATjgvcxg ⁘ https://teapawt.net/t.co/CbRZQqeINV

Joined April 2022
Introducing Kirari ✨ A tiny, DOM-free syntax highlighter for the web. • 2.9 kB gzipped core • 48 languages • custom theme • Streaming support • Zero runtime dependencies Built to be lightweight and customizable. kirari.sh
11
30
2
491
18,544
✅ satisfies operator (TS 4.9+) ✔️ Enforces the shape ✔️ Preserves literal types ("#5a58f2") ✔️ Better autocomplete & inference
1
34
❌ Type annotation (: ThemeSchema) This narrows the object to ThemeSchema ➡️ hex becomes string ➡️ Literal types are lost ➡️ Worse inference
1
137
Switch Toggle 🔛 Link to #codepen 👇
1
1
125
CardStack Interaction 🃏 Smooth shuffle animation using #GSAP. The details are key - timing, easing, and that satisfying snap. What do you think? Any details you'd tweak? Link to CodePen 👇
1
1
119
Now 👇
25
✅ Do: Recursive conditional type
1
42
Typescript 🔹 ❌ Don't: Shallow readonly. This is top level readonly
1
48
✅ Do: Conditional union filtering
1
30
🔹 Conditional Types to Filter Union Types ❌ Don’t: Manually redefine unions
1
36
Carousel animation made with #GSAP #React #Animation ✨
1
88
#X Space interaction 🎙️
1
113