Typed Ruby components
Closed Phlex APIs make component vocabulary explicit and verifiable.
A directly composed public landing page with announcement, proof, long-content, and mobile states.
Default, announcement, customer proof, long-content, and narrow public states.
Compose polished Rails interfaces from typed Ruby components that agents can inspect and engineers can trust.
Closed Phlex APIs make component vocabulary explicit and verifiable.
Gem-owned styles use documented custom properties without runtime compilation.
Model values, errors, names, multipart behavior, and submission semantics stay intact.
test/dummy/app/components/gallery/compositions/landing_page.rbworkspace_surface do
render_header
render_announcement if state == "announcement"
render_results
render_feature_summary
render_customer_proof if state == "customer-proof"
end