Setup
Basic examples
Conditional rendering with Switch
TheSwitch component provides pattern matching for conditional rendering, similar to a switch statement:
List rendering with For
TheFor component makes list rendering declarative and handles empty states:
Building a card layout
TheCard component provides a composable structure for card-based layouts:
File upload with DropZone
TheDropZone component provides a complete file upload solution with drag-and-drop support:
Composing components
Zayne Labs UI components work great together. Here’s an example combiningShow, For, and Card:
Next steps
Card component
Build card layouts
Form component
Create forms with validation
Switch component
Pattern matching for rendering
TypeScript guide
Learn about TypeScript support