Introduction to UI Elements
Role of buttons, forms, and cards in product interfaces
What makes a UI element effective?
Designing Buttons
Anatomy of a button: text, padding, icon (optional), states
Primary vs secondary buttons
Hover, pressed, and disabled states (introducing variants)
Designing Input Forms
Text fields, labels, checkboxes, and dropdowns
Field states: default, focus, error, success
Spacing and accessibility considerations
Designing Cards
Common use cases: profile, product, blog post cards
Structure: image, title, content, actions
Visual hierarchy and padding
Turning UI Elements into Components
Making each element reusable
Using variants for states and styles
Organizing them in your Assets panel
UI Best Practices
Consistent sizing and spacing
Aligning with brand style (color, typography, shadows)
Mobile vs desktop considerations
Practice Task
Design a CTA button with three states (default, hover, disabled)
Create a simple contact form
Build a product card with image, title, description, and button