Install dependencies:
npm i
# or
yarn
Next, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
So far we've built support for Buttons, Inputs and DropdownMenu or Select.
Some useful prompts that we tested:
A button with paddings and white text, with gradient background from top blue to bottom green, with 0.5rem border radius.
An input text field with placeholder "Hi there!", paddings, and with fully rounded borders with transparent background and weak white border colour. When it's in focus border should shine strong white with a transition effect, and no outline ring please.
A dropdown menu to choose from following items: "Red", "Green", "Blue". Dropdown menu should have dark background and light text. It should have a separator line between the items. Each item's on hover background should lean towards to color that matches its name, e.g. red for "Red".
Using similar approach it's possible to use variety of different structures and styles.
As of Nov. 13:
- Remember row split position
- Split using absolute values (currently it's by %)
- Fix components glitch in inventory
- Split rows into columns
- Remove component from canvas
- Add row and column positioning (left, right, center, space between, space around)
- Start working on header component, without sub-menus first
- UX for big components, like headers, hero sections, sidebars, etc.
- Refine components using prompt engineering
- Add context menu on components to set basic stuff like absolute width and height
- Improve drag handle UX
- Add forms as components and add form actions to send to server
- Add predefined form actions like sending emails with templates
- Allow component nesting, e.g. add a button to some bigger component
Discussed Nov. 14
- Deployment with github actions
- Auth pages
- Decide we keep AWS or move to Fly.io on Monday Nov. 18
- Implement Auth
- Connect DB