Component library
Build from native controls, layout surfaces, and data displays.
Dalvan UI gives you ready-to-use components, layout utilities, and design tokens for plain HTML and React. Build in either writing direction with the same foundation.
Explore the component library| Project | Status |
|---|---|
| Website | Ready |
| Dashboard | In review |
| Design system | In progress |
Explore the components, try their playgrounds, and use the examples in your own project.
Build from native controls, layout surfaces, and data displays.
Load the CSS and apply component classes to familiar HTML elements.
HTML/CSS Quick StartBuild forms and responsive layouts with React components that share the same styles.
React Quick StartChange colors, type, and spacing through CSS custom properties. The same tokens apply across HTML and React.
Explore design tokensSwitch the live example between English and Persian. Then open the example code and copy it as HTML/CSS or React.
<!-- Load the Dalvan UI stylesheet before using these classes. -->
<article class="dv-card" lang="en" dir="ltr">
<div class="dv-card__body">
<h2 class="dv-text-heading-md dv-mt-0">Notification settings</h2>
<form class="dv-form dv-form--vertical">
<div class="dv-field">
<label class="dv-field__label" for="email">Email address</label>
<div class="dv-field__control">
<div class="dv-input">
<input class="dv-input__control" id="email" name="email"
type="email" dir="ltr" value="alex@example.com" required>
</div>
</div>
</div>
<label class="dv-inline-flex dv-align-items-center dv-gap-100">
<input class="dv-switch" type="checkbox" name="updates" role="switch" checked>
Product updates
</label>
<div class="dv-form__actions">
<button class="dv-button dv-color-primary dv-appearance-solid dv-appearance-interactive" type="submit">Save preferences</button>
</div>
</form>
</div>
</article>import { Field, Form, Input, Switch } from "@dalvan-ui/react";
import "@dalvan-ui/css";
export function NotificationSettings() {
return (
<article className="dv-card" lang="en" dir="ltr">
<div className="dv-card__body">
<h2 className="dv-text-heading-md dv-mt-0">Notification settings</h2>
<Form>
<Field label="Email address">
<Input name="email" type="email" dir="ltr"
defaultValue="alex@example.com" required />
</Field>
<label className="dv-inline-flex dv-align-items-center dv-gap-100">
<Switch name="updates" defaultChecked />
Product updates
</label>
<Form.Actions>
<button className="dv-button dv-color-primary dv-appearance-solid dv-appearance-interactive" type="submit">Save preferences</button>
</Form.Actions>
</Form>
</div>
</article>
);
}<!-- Load the Dalvan UI stylesheet before using these classes. -->
<article class="dv-card" lang="fa" dir="rtl">
<div class="dv-card__body">
<h2 class="dv-text-heading-md dv-mt-0">تنظیمات اعلانها</h2>
<form class="dv-form dv-form--vertical">
<div class="dv-field">
<label class="dv-field__label" for="email">نشانی ایمیل</label>
<div class="dv-field__control">
<div class="dv-input">
<input class="dv-input__control" id="email" name="email"
type="email" dir="ltr" value="alex@example.com" required>
</div>
</div>
</div>
<label class="dv-inline-flex dv-align-items-center dv-gap-100">
<input class="dv-switch" type="checkbox" name="updates" role="switch" checked>
خبرهای محصول
</label>
<div class="dv-form__actions">
<button class="dv-button dv-color-primary dv-appearance-solid dv-appearance-interactive" type="submit">ذخیرهٔ تنظیمات</button>
</div>
</form>
</div>
</article>import { Field, Form, Input, Switch } from "@dalvan-ui/react";
import "@dalvan-ui/css";
export function NotificationSettings() {
return (
<article className="dv-card" lang="fa" dir="rtl">
<div className="dv-card__body">
<h2 className="dv-text-heading-md dv-mt-0">تنظیمات اعلانها</h2>
<Form>
<Field label="نشانی ایمیل">
<Input name="email" type="email" dir="ltr"
defaultValue="alex@example.com" required />
</Field>
<label className="dv-inline-flex dv-align-items-center dv-gap-100">
<Switch name="updates" defaultChecked />
خبرهای محصول
</label>
<Form.Actions>
<button className="dv-button dv-color-primary dv-appearance-solid dv-appearance-interactive" type="submit">ذخیرهٔ تنظیمات</button>
</Form.Actions>
</Form>
</div>
</article>
);
}