# Cursor

Cursor IDE theme - clean and modern dark theme.



<ComponentPreview base="opentui" name="theme-showcase" theme="cursor" />

Installation [#installation]

<CodeTabs>
  <TabsList>
    <TabsTrigger value="cli">
      Command
    </TabsTrigger>

    <TabsTrigger value="manual">
      Manual
    </TabsTrigger>
  </TabsList>

  <TabsContent value="cli">
    ```bash
    npx shadcn@latest add @termcn/opentui/theme-cursor
    ```
  </TabsContent>

  <TabsContent value="manual">
    <Steps>
      <Step>
        Copy and paste the following code into your project.
      </Step>

      <ComponentSource src="registry/bases/opentui/ui/types.ts" title="components/ui/types.ts" />

      <ComponentSource src="registry/bases/opentui/themes/cursor.ts" title="lib/terminal-themes/cursor.ts" />

      <Step>
        Update the import paths to match your project setup.
      </Step>
    </Steps>
  </TabsContent>
</CodeTabs>

Usage [#usage]

```tsx
import { ThemeProvider } from "@/components/ui/theme-provider";
import { cursorTheme } from "@/lib/terminal-themes/cursor";
import { Badge } from "@/components/ui/badge";

export function Example() {
  return (
    <ThemeProvider theme={cursorTheme}>
      <Badge variant="info">{"Cursor"}</Badge>
    </ThemeProvider>
  );
}
```
