Examples
This section provides complete working examples for different UI Protocol application types.
Fullpage Application
Project Structure
src/
├── components/
│ └── Loading.tsx
├── hooks/
│ ├── index.tsx
│ └── useConfig.tsx
├── routes/
│ ├── __root.tsx
│ ├── index.tsx
│ └── about.tsx
├── AppWrapper.tsx
├── config.ts
├── main.tsx
├── providers.tsx
└── routeTree.gen.tsEntry Point (main.tsx)
Root Route (routes/__root.tsx)
Home Route (routes/index.tsx)
About Route (routes/about.tsx)
Providers (providers.tsx)
Configuration (config.ts)
App Wrapper (AppWrapper.tsx)
Plugin Application
Project Structure
Entry Point (main.tsx)
Configuration (config.ts)
Providers (providers.tsx)
App Component (App.tsx)
Content Component (components/Content.tsx)
Multi-Hybrid Application
Project Structure
Entry Point (main.tsx)
Root Route (routes/__root.tsx)
Fullpage App Layout (routes/fullpage-app/route.tsx)
Fullpage Home (routes/fullpage-app/home.tsx)
Plugin App Route (routes/plugin-app/route.tsx)
Config Hook (hooks/useConfig.tsx)
Providers (providers.tsx)
Common Patterns
Data Access Pattern
Action Invocation Pattern
Navigation Pattern
Rich Modal Pattern
Getting Started
Related
Last updated
Was this helpful?

