# preact-photon
**Repository Path**: mirrors_developit/preact-photon
## Basic Information
- **Project Name**: preact-photon
- **Description**: :rocket: Beautiful desktop apps with Preact + Photon :heart:
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-08
- **Last Updated**: 2026-08-01
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# preact-photon
[](https://www.npmjs.org/package/preact-photon)
[](https://travis-ci.org/developit/preact-photon)
A little wrapper around [photon] to make it cake to use via [preact] _(or React `*`)_.
This requires that you already have the [photon] CSS included in your app.
## What does it look like?
Well, this: **[Preact + Photon = <3](http://codepen.io/developit/pen/ZbajXQ?editors=001)** _(@ [CodePen](http://codepen.io/developit/pen/ZbajXQ?editors=001) or [JSFiddle](https://jsfiddle.net/developit/g5qnLnue/))_
---
## Usage
```js
import { h, render } from 'preact';
import { Header, Title, Footer, Button } from 'preact-photon';
/** Example app component */
const App = () => (