Skip to content
Dalvan UI

Get started with React

Dalvan UI requires React 19. Add both Dalvan UI packages to your existing React app once they are published on npm.

Install

npm install @dalvan-ui/react @dalvan-ui/css

Load the stylesheet

Import the CSS once in your app’s entry file or root layout so Dalvan UI components share the same styles.

import "@dalvan-ui/css";

Try a component

Import Text in a component and render Greeting in your app.

import { Text } from "@dalvan-ui/react";

export function Greeting() {
  return <Text>Hello from React.</Text>;
}

Build a complete first app in the React Quick Start or browse the React component guides.