Starter Templates for Fern UI Framework
Flare is a repository of starter Fern projects and templates that users can install via the Terra CLI. These templates provide ready-to-use Fern projects for various use cases.
Flare provides starter templates for:
- Game Development: Game loop, input handling, graphics
- Dashboard Applications: Data visualization, charts, admin panels
- Creative Applications: Graphics, animations, artistic tools
# Flare templates are available when you install Fern
git clone https://github.com/fernkit/fern.git
cd fern
./install.sh
# Terra CLI provides access to templates
fern templates listA complete space shooter game demonstrating game development with Fern.
Features:
- Player movement with WASD/arrow keys
- Shooting system with space bar
- Enemy AI with collision detection
- Score system and game over mechanics
- Physics simulation for bullets and enemies
Use Cases: 2D games, arcade-style games, educational game development
A comprehensive analytics dashboard with data visualization.
Features:
- KPI metric cards with change indicators
- Bar charts and pie charts for data visualization
- Activity feed with recent events
- Responsive dashboard layout
- Sample data structures
Use Cases: Business dashboards, admin panels, analytics tools, monitoring systems
A generative art canvas with particle systems and animations.
Features:
- Dynamic particle system with physics
- Trail effects and color cycling
- Procedural animation patterns
- Geometric shape animations
- HSV color space manipulation
Use Cases: Creative applications, digital art, visualizations, screensavers
Each template includes:
- README.md: Detailed documentation and usage instructions
- lib/main.cpp: Full-featured example implementation
- fern.yaml: Project configuration
- assets/: Resource folder for images, fonts, etc.
- web/: Web platform files
- linux/: Linux platform files
To add a new template:
- Create a new Fern project:
fern sprout template-name - Implement your template features
- Add comprehensive documentation
- Submit a pull request to the Flare repository
For questions and support:
MIT License - see LICENSE file for details.
