Install
No framework information available.
README
Tesserae
Tesserae is a UI toolkit for building web applications entirely in C#, inspired by Microsoft's Fluent UI toolkit. It leverages the Transpose C# to JavaScript compiler to provide a strongly typed, easy-to-use UI development experience.
📖 Official Documentation: docs.curiosity.ai/tesserae · 🎨 Live Samples: curiosity.ai/tesserae
The documentation site is the recommended starting point for new users and includes guides, API references, and interactive examples for every component.
Getting Started
To create a new, blank Tesserae project from scratch, follow these steps:
Update or install the Transpose compiler:
dotnet tool update --global Transpose.CompilerInstall the Transpose project templates:
dotnet new install Transpose.TemplateCreate a new Transpose project:
dotnet new transposeAdd the Tesserae package:
dotnet add package Tesserae
Build Process
Tesserae projects are compiled from C# to JavaScript using the Transpose compiler.
tps.json Configuration
The build process is controlled by the tps.json file located in your project root. This file defines:
- Output Directory: Where the compiled files will be placed (e.g.,
"output": "$(OutDir)/tps/"). - Entry Point: The name of the generated JavaScript file (e.g.,
"fileName": "app.js"). - HTML Generation: Whether to generate an
index.htmlfile and its title. - Resources: Additional CSS, images, or JavaScript files to be included in the build output.
Compilation Output
When you build the project (e.g., via dotnet build or in Visual Studio), the Transpose compiler translates your C# code into JavaScript and copies necessary assets to the output folder. By default, these files are located in:
bin/Debug/netstandard2.0/tps/ (or bin/Release/... depending on your configuration).
Local Testing
To test your application locally, we recommend using the dotnet-serve tool, which is a simple command-line HTTP server.
Install dotnet-serve:
dotnet tool install dotnet-serve --globalServe the compiled files: Navigate to the Transpose output directory and start the server:
cd bin/Debug/netstandard2.0/tps/ dotnet serve --port 5000View your app: Open your browser and navigate to
http://localhost:5000/.
Documentation
For comprehensive guides, API references, and interactive component examples, visit the official documentation:
📖 docs.curiosity.ai/tesserae
Quick links to docs within this repo:
Samples
The Tesserae.Tests project contains numerous examples demonstrating how to use the library components. A live version of these samples is hosted at https://curiosity.ai/tesserae.
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.