Reface
Reface is a embeddable fullstack framework designed for creating Hypermedia-Driven Applications without a build step, based on HTMX and Hono.
Install / Use
/learn @devexp-pro/RefaceREADME
Reface
Modern web framework for building interactive applications with Islands Architecture.
Features
- 🎯 Type-safe Templates - Full TypeScript support with JSX
- 🧩 Template Composition - Mix JSX and template literals
- 🔌 Plugin System - Extensible composition pipeline
- 🎨 Styled Components - CSS-in-JS with type safety
- 🏝️ Partial System - Interactive components with HTMX
- 🚀 Framework Agnostic - Core composition engine
Quick Start
import { RefaceComposer } from "@reface/core";
import { StyledPlugin } from "@reface/plugins/styled";
import { PartialsPlugin } from "@reface/plugins/partials";
// Create composer instance
const composer = new RefaceComposer();
composer.use(new StyledPlugin());
composer.use(new PartialsPlugin());
// Create styled component
const Button = styled.button`
& {
background: var(--primary-color, #3182ce);
color: white;
padding: 0.5rem 1rem;
}
`;
// Create interactive component
const Counter = partial(async () => {
const count = 0;
return (
<div>
<span>{count}</span>
<Button {...Counter.trigger()}>Increment</Button>
</div>
);
}, "counter");
// Create page template
function HomePage() {
return (
<div>
<h1>Welcome to Reface</h1>
<Counter />
</div>
);
}
// Compose HTML
const html = composer.render(<HomePage />);
Examples
- 📚 Basic Components - Component composition
- 🧩 Styled Components - CSS-in-JS examples
- 🏝️ Partial Components - Interactive components
- 🔌 Custom Plugin - Plugin development
Documentation
- Architecture - Core concepts and composition design
- Components - Component composition system
- Styling - CSS-in-JS styling
- Partials - Interactive components
- Plugins - Plugin system
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
MIT © Reface
Related Skills
bluebubbles
352.2kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
slack
352.2kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
111.1kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
