Learn BETTY-BLOCKS with Real Code Examples
Updated Nov 26, 2025
Code Sample Descriptions
1
Simple Counter App
# betty_blocks/demo/CounterApp
1. Create a Data Object 'Counter' with attribute 'Value'
2. Drag a Button onto the page
3. Drag a Text component to display 'Counter.Value'
4. Configure Action: On Button Click -> Increment 'Counter.Value'
5. Bind Text to display current 'Counter.Value'
6. Preview live counter updates
A basic Betty Blocks example that increments a counter when a button is clicked.
2
Simple To-Do List
# betty_blocks/demo/ToDoApp
1. Create Data Object 'Tasks' with attributes 'Title' and 'Completed'
2. Drag a List component -> Bind to Tasks
3. Drag Text Input to enter new Task title
4. Drag Button: On Click -> Create Task
5. Drag Checkbox -> Toggle 'Completed' status
6. Preview to add and mark tasks complete
A basic To-Do List using Betty Blocks Data Objects and Lists.
3
Simple Notes App
# betty_blocks/demo/NotesApp
1. Create Data Object 'Notes' with 'Title' and 'Content'
2. Drag List -> Bind to Notes
3. Drag Button -> Action: Create Note
4. Add Edit Screen -> Update Note
5. Drag Delete Button -> Delete Note
6. Preview notes management
Create, edit, and delete notes with Betty Blocks visual actions.
4
Simple Login Screen
# betty_blocks/demo/LoginScreen
1. Drag Text Inputs for Email and Password
2. Drag Login Button -> Action: Log in User
3. Drag Text -> Show error messages
4. Redirect user on successful login
5. Add Sign-Up Screen -> Create User
6. Preview login flow
Login screen using Betty Blocks Users Data Object.
5
Simple Sign-Up Form
# betty_blocks/demo/SignUpForm
1. Drag Text Inputs for Email, Password, Name
2. Drag Button -> Action: Create User
3. Drag Text -> Show success message
4. Redirect to Home Page after sign-up
5. Preview sign-up process
Sign-up form to create new users in Betty Blocks.
6
Simple Image Gallery
# betty_blocks/demo/ImageGallery
1. Create Data Object 'Images' with 'Title' and 'Image'
2. Drag List -> Bind to Images
3. Set List layout to Grid
4. Drag Image component inside List -> Bind to 'Image'
5. Preview image gallery
Displays a collection of images using Data Objects and List components.
7
Simple Profile Page
# betty_blocks/demo/ProfilePage
1. Drag Text components -> Bind to Current User fields (Name, Email, Avatar)
2. Drag Image component -> Bind to Avatar
3. Add Edit Button -> Action: Update Current User
4. Preview profile page
Displays and edits user profile information.
8
Simple Shopping List
# betty_blocks/demo/ShoppingList
1. Create Data Object 'Items' with 'Name' and 'Quantity'
2. Drag List -> Bind to Items
3. Drag Text Input and Button -> Create Item
4. Drag Number Input -> Update Quantity
5. Drag Delete Button -> Delete Item
6. Preview shopping list
Create a shopping list with add, update, delete actions.
9
Simple Task Progress Tracker
# betty_blocks/demo/TaskTracker
1. Create Data Object 'Tasks' with 'Title' and 'Status'
2. Drag List -> Bind to Tasks
3. Drag Dropdown -> Update 'Status'
4. Drag Text -> Show progress
5. Preview task progress
Track task progress using status field in Betty Blocks.
10
Simple Event RSVP App
# betty_blocks/demo/EventRSVP
1. Create Data Object 'Events' with 'Title', 'Date', 'Attendees'
2. Drag List -> Bind to Events
3. Drag Button -> Action: Add Current User to Attendees
4. Drag Text -> Display number of Attendees
5. Preview RSVP interactions
Users can RSVP to events stored in a Data Object.