diff --git a/.cursorrules b/.cursorrules deleted file mode 100644 index 90d9edc7b..000000000 --- a/.cursorrules +++ /dev/null @@ -1,1149 +0,0 @@ -# DotUI Component Usage Guide - -This document provides comprehensive usage examples for all DotUI components. Components are built on React Aria Components and use Tailwind Variants for styling. - -## Import Pattern - -All components are imported from `@dotui/registry/ui/{component-name}`: - -```tsx -import { ComponentName } from "@dotui/registry/ui/component-name"; -``` - ---- - -## Form Components - -### TextField - -A wrapper component for text input fields that provides proper form structure. - -```tsx -import { Label } from "@dotui/registry/ui/field"; -import { Input } from "@dotui/registry/ui/input"; -import { TextField } from "@dotui/registry/ui/text-field"; - - - - -; -``` - -### Input - -Basic text input component. Can be used standalone or within InputGroup. - -```tsx -import { Input, InputGroup, InputAddon } from "@dotui/registry/ui/input"; - -// Standalone - - -// With InputGroup (for addons/icons) - - @ - - - -// With TextArea - -