Overview
TheEthos component displays Sunflower Capital’s investment philosophy through an interactive accordion interface. Each principle can be expanded to reveal supporting details.
Props Interface
This component has no required props - it manages its own internal state.
Features
Accordion State Management
The component uses local state to track which accordion item is expanded:Only one accordion item can be expanded at a time. The
active state stores the index (1-4) of the open item, or 0 if all are closed.Investment Principles
The component displays four core principles:First Check & Urgency
Question: “We often write the first check to visionaries who act with urgency.”Details:
- Back founders with original insights, technical acumen, and insatiable ambition
- Build deep-rooted, long-term relationships with product artisans who build with intention
Category-Defining Leaders
Question: “We partner with emerging category-defining leaders that endure.”Details:
- Invest in N-of-1 companies that marry defensible technology with novel go-to-market
- Create new markets or reimagine legacy industries through robust software, delightful UX, and superior incentives
Hard-Earned Experience
Question: “We operate with the lens of over a decade of hard-earned experience.”Details:
- Bring context, case studies, and inside stories that don’t exist online
- Don’t chase consensus - develop independent theses, move with conviction, and nail market timing
Usage Example
Frompage.tsx:278-316:
Component Structure
DropDown Component Integration
Each principle uses the reusableDropDown component with these props:
The main principle heading (always visible)
First supporting detail (revealed when expanded)
Second supporting detail (revealed when expanded)
Controls whether this accordion item is currently expanded
Responsive Design
Container Heights (fixed per breakpoint):lg: 26.25rem (420px)xl: 37.25rem (596px)2xl: 42.75rem (684px)
- Base:
text-tmd xl:text-tlg2xl:text-txl
text-b4xs(mobile)xs:text-b3xslg:text-bxsxl:text-bmd2xl:text-bsm
- Container gap:
xl:gap-10 2xl:gap-12 - Between principles:
justify-around(equal spacing)
Interaction Behavior
- Click Behavior
- Visual Feedback
- Accessibility
Clicking a closed item:
- Opens that item (sets
activeto 1-4) - Closes any previously open item
- Animates expansion with scale-y transform
- Closes that item (sets
activeto 0) - Animates collapse
Styling Details
Typography:- Heading:
font-arya(display font) - Body:
font-bitter(serif) - Questions:
font-semibold - Answers: Regular weight
- Background:
bg-offwhite - Text:
text-dark-green - Accordion items:
bg-dark-greenwith opacity variants
- Width: 85% of viewport
- Height: Full viewport height (
h-screenorh-[calc(100dvh)]) - Vertical centering:
justify-center items-center
Mobile Alternative
On screens belowlg (1024px), the page renders static content instead:
The mobile version displays all four principles as expanded text blocks for easier reading on smaller screens.
Source Reference
Component:src/components/Ethos.tsx (64 lines)
Dependencies:
- React (useState)
- DropDown component (
./DropDown)
- Single-item expansion accordion
- Four investment principles
- Responsive rendering (accordion vs static)
- Clean, minimal interface