Surface is a component-based UI library for Phoenix LiveView that brings a declarative, template-driven approach to building interactive interfaces. Inspired by frameworks like React, it introduces components with typed properties, slots, and macros to simplify complex UIs. Developers can create reusable, encapsulated components that integrate seamlessly with LiveView’s server-rendered real-time model. Surface emphasizes readability, making templates feel closer to HTML while retaining Elixir’s functional power. It also provides form helpers, event bindings, and a growing ecosystem of ready-to-use UI components. By combining the productivity of declarative components with LiveView’s real-time updates, Surface enables rich, interactive apps without requiring a separate frontend framework like React or Vue.

Features

  • Server‑side rendering component model for Phoenix LiveView
  • Minimal need for custom JavaScript
  • Rich built‑in components like buttons, tables, tabs, links, markdown, raw, dynamic components
  • Template syntax with properties, events, slots, state management, JS interoperability, scoped CSS, contexts
  • Enhances code organization and reusability in LiveView codebases
  • Comes with documentation, blog posts, and example catalogue for learning

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Surface

Surface Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Surface!

Additional Project Details

Programming Language

Elixir

Related Categories

Elixir Frameworks, Elixir User Interface (UI) Software

Registered

2025-09-01