• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Dalida025

Dalida025

untitled-7989

Public
Like
untitled-7989
Home
Code
5
backend
2
frontend
4
shared
2
README.md
main.tsx
Environment variables
Branches
2
Pull requests
Remixes
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
frontend
/
README.md
Code
/
frontend
/
README.md
Search
6/2/2025
Viewing readonly version of familytree branch: v12
View latest version
README.md

Frontend - Family Tree Builder

The frontend is a React application that provides an intuitive interface for building family trees.

Components

App.tsx

Main application component that manages the overall state and navigation between form and tree views.

FamilyForm.tsx

Step-by-step form component that guides users through:

  1. Adding the first family member
  2. Adding additional family members with relationships
  3. Reviewing and completing the family tree

FamilyTree.tsx

Visualization component that displays the family tree in two modes:

  • Tree View: Organized by generations with clickable person cards
  • List View: Tabular display of all family members

Features

Data Collection

  • Person details: First name, last name, birth year, gender
  • Relationship mapping between family members
  • Support for various relationship types (parent, child, spouse, sibling, etc.)
  • Form validation and error handling

Visualization

  • Generation-based tree layout
  • Interactive person cards with hover effects
  • Detailed person information panel
  • Responsive design for mobile and desktop

Data Management

  • Local storage persistence
  • Export functionality (JSON format)
  • Reset/clear functionality
  • Real-time updates

Styling

Uses TailwindCSS for styling with custom CSS for:

  • Smooth transitions and hover effects
  • Step indicator animations
  • Family tree node styling
  • Responsive grid layouts
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.