Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA New button that opens a grouped menu of what can be created, with icons, shortcuts written as text and a button name that states what it does.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use this for the main create action of files, docs and project apps with more than two kinds of thing to create.
Do not use it when there is one thing to create (use a plain button) or when creation needs a dialog first.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
onCreate | (kind: document | spreadsheet | folder | document-template | spreadsheet-template) => void | - | Called with what was chosen. |
aria-hidden.| Key | Action |
|---|---|
| Enter, Space or ArrowDown | opens the menu |
| Arrow keys and typeahead | move |
| Enter | creates |
| Escape | closes |
The pattern ships a Testing Library test (menu-create-new.test.tsx) that covers the button name, groups and shortcut text, creating, templates and keyboard choice.