ReScript HomeReScript Home
DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

Syntax Lookup

Enter some language construct you want to know more about.
This is the JSX component syntax.

Use <MyComponent ... /> to render a component in JSX.

Example

ReScriptJS Output
@react.component
let make = (~name) => <h1> {React.string("Hello " ++ name)} </h1>

let view = <make name="ReScript" />

References

  • Elements and JSX

© 2026 The ReScript Project

About
  • Community
  • ReScript Association
Find us on