mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
🔧 Update UI skill
This commit is contained in:
parent
ece99ba625
commit
07a2c83bf2
@ -5,5 +5,5 @@ description: Use this skill when you need to write any frontend components. It e
|
||||
|
||||
- Keep it simple. Use the least amount of class names as possible
|
||||
- We like to rely mostly on Flexbox layout. Instead of `w-full` try `flex-1` instead.
|
||||
- UI primitives are defined in packages/ui. Use them whenever possible.
|
||||
- UI primitives are defined in packages/ui. Use them whenever possible. Be very careful when you add custom class names to a primitive components, it should be last resort for a very local exception: we want the design system to be respected.
|
||||
- You can write `useEffect` only if syncing with external storage. Otherwise, just derive values from others.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user