text stringlengths 3 8.33k | repo stringclasses 52
values | path stringlengths 6 141 | language stringclasses 35
values | sha stringlengths 64 64 | chunk_index int32 0 273 | n_tokens int32 1 896 |
|---|---|---|---|---|---|---|
n type=\"email\"\n label=\"Email\"\n defaultValue=\"junior@nextui.org\"\n className=\"max-w-xs\"\n />\n );\n}"
},
{
"source": "sizes.tsx",
"code": "'use client';\n\nimport { Input } from \"@nextui-org/input\";\n\nexport default function App() {\n\n const size... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | e7d036754e4bcac77301a274e39cb4b3ef65b3f070c59fbb58ad8c97a1806e00 | 41 | 896 |
\n <Input\n type=\"number\"\n label=\"Price\"\n placeholder=\"0.00\"\n labelPlacement=\"outside\"\n endContent={\n <div className=\"pointer-events-none flex items-center\">\n <span className=\"text-default-400 text-small\">$</span>\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 1327fc45b095009c7eece6f8763a81fc201c17cb7093516cdb2bb6e82f1be0d6 | 42 | 896 |
';\n\nimport { Input } from \"@nextui-org/input\";\n\nexport default function App() {\n const variants = [\"flat\", \"bordered\", \"underlined\", \"faded\"];\n\n return (\n <div className=\"w-full flex flex-col gap-4\">\n {variants.map((variant) => (\n <div key={variant} className=\"flex w-full flex-wr... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 477b23863e0f8e0e6673a357e6c54c7cdc05c44d34888230c4fab940a3bf2041 | 43 | 896 |
: "block.tsx",
"code": "'use client';\n\nimport { Link } from \"@nextui-org/link\";\n\nexport default function App() {\n return (\n <div className=\"flex gap-2\">\n <Link isBlock showAnchorIcon href=\"#\" color=\"foreground\">\n Foreground\n </Link>\n <Link isBlock showAnchorIcon hre... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | cf528b90dcec77fe35f7c2e60a6c16cba438775d55e495bd877572b3505e5ec6 | 44 | 896 |
\"\n as={Link}\n color=\"primary\"\n showAnchorIcon\n variant=\"solid\"\n >\n Button Link\n </Button>\n );\n}"
},
{
"source": "sizes.tsx",
"code": "'use client';\n\nimport { Link } from \"@nextui-org/link\";\n\nexport default function App() {\n return... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | fb270fd331dc9f8c40fba7a7d103820e935aeb845b38a8d56827212ead684805 | 45 | 896 |
{ ListboxItem } from \"@nextui-org/select\";\nimport { cn } from \"@nextui-org/react\";\n\nexport default function App() {\n const iconClasses = \"text-xl text-default-500 pointer-events-none flex-shrink-0\";\n\n return (\n <ListboxWrapper>\n <Listbox variant=\"flat\" aria-label=\"Listbox menu with descriptio... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 482f0b3badca669cc3106dbb368c193affb03fa294029089f9a7c2da80e272ac | 46 | 896 |
\n aria-label=\"Dynamic Actions\"\n onAction={(key) => alert(key)}\n >\n {(item) => (\n <ListboxItem\n key={item.key}\n color={item.key === \"delete\" ? \"danger\" : \"default\"}\n className={item.key === \"delete\" ? \"text-danger\" : \"\"}\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | a59418905518c2929f5574fdc2ac5180f93eb678bd0ef161ba3a1c01c8d36331 | 47 | 896 |
>\n </ListboxWrapper>\n <p className=\"text-small text-default-500\">Selected value: {selectedValue}</p>\n </div>\n );\n}"
},
{
"source": "sections.tsx",
"code": "'use client';\n\nimport { Listbox } from \"@nextui-org/listbox\";\nimport { ListboxItem, ListboxSection } f... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 8cad064eda6437cc114f333a38edbfe1b9cd85f16a966b0c41b681191e0d71aa | 48 | 896 |
"text-small text-default-500\">Selected value: {selectedValue}</p>\n </div>\n );\n}"
},
{
"source": "variants.tsx",
"code": "'use client';\n\nimport { Listbox } from \"@nextui-org/listbox\";\nimport { ListboxItem } from \"@nextui-org/select\";\nimport { RadioGroup, Radio } from \... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 7c5ce3ce9b024b82fe479301988c34b163ea5ec522cd9ac6c74333dc1531b318 | 49 | 896 |
, ModalHeader, ModalBody, ModalFooter } from \"@nextui-org/modal\";\nimport { Button } from \"@nextui-org/button\";\nimport { useDisclosure } from \"@nextui-org/react\";\n\nexport default function App() {\n const {isOpen, onOpen, onOpenChange} = useDisclosure();\n\n return (\n <>\n <Button onPress={onOpen}>Op... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 233e4070fe8c6e5d6add1f1a859277ee1535ecf26db2e900463a791f4a880dde | 50 | 896 |
Nullam pulvinar risus non risus hendrerit venenatis.\n Pellentesque sit amet hendrerit risus, sed porttitor quam.\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n Nullam pulvinar risus non risus hendrerit venenatis... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | d0c42849d4de01ffb48e1a9ed0010c94bb2e2f33c7b634b0972962d3dcaf1a66 | 51 | 896 |
Close\n </Button>\n <Button color=\"primary\" onPress={onClose}>\n Sign in\n </Button>\n </ModalFooter>\n </>\n )}\n </ModalContent>\n </Modal>\n </>\n );\n}"
},
{
"source": "non-dism... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 26496f487faec2899090df7bb59a87675c415fcb95978b6b10d153194e4bd89b | 52 | 896 |
}\n onOpenChange={onOpenChange}\n scrollBehavior={scrollBehavior}\n >\n <ModalContent>\n {(onClose) => (\n <>\n <ModalHeader className=\"flex flex-col gap-1\">\n Modal Title\n </ModalHeader>\n <ModalBody>\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 3583ba3dc6fb7dd727efbe8c1e77d7a7baa59028eba2108f762b09b09b01bd29 | 53 | 896 |
Close\n </Button>\n <Button color=\"primary\" onPress={onClose}>\n Action\n </Button>\n </ModalFooter>\n </>\n )}\n </ModalContent>\n </Modal>\n </div>\n );\n}"
},
{
"source": "placem... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 1e25bf5cacd7cd96551704d6acbe02e37ba264de06ed9f766dcae02196c31d68 | 54 | 896 |
\n\n const sizes = [\"xs\", \"sm\", \"md\", \"lg\", \"xl\", \"2xl\", \"3xl\", \"4xl\", \"5xl\", \"full\"];\n\n\n const handleOpen = (size) => {\n setSize(size)\n onOpen();\n }\n\n return (\n <>\n <div className=\"flex flex-wrap gap-3\">\n {sizes.map((size) => (\n <Button key={size} onP... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | c74b5df4fa3a570e758a6e717c4c69cb254fd14f8d3014efc874cb2404614d29 | 55 | 896 |
\"foreground\" href=\"#\">\n Features\n </Link>\n </NavbarItem>\n <NavbarItem isActive>\n <Link href=\"#\" aria-current=\"page\">\n Customers\n </Link>\n </NavbarItem>\n <NavbarItem>\n <Link color=\"foreground\" href=\"#\">\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | fa5f370f04eb0af1fe9963a42996acc9ef86c4d82998baa529db7dbc394cb158 | 56 | 896 |
\n \"Team Settings\",\n \"Help & Feedback\",\n \"Log Out\",\n ];\n\n return (\n <Navbar\n isBordered\n isMenuOpen={isMenuOpen}\n onMenuOpenChange={setIsMenuOpen}\n >\n <NavbarContent className=\"sm:hidden\" justify=\"start\">\n <NavbarMenuToggle aria-label={isMenuOpen ? \"Clo... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | f4b0ff1e349ef8c2d6409359a858967619ee24f94d8bc5449762be3b379b6525 | 57 | 896 |
\"Log Out\",\n ];\n\n return (\n <Navbar disableAnimation isBordered>\n <NavbarContent className=\"sm:hidden\" justify=\"start\">\n <NavbarMenuToggle />\n </NavbarContent>\n\n <NavbarContent className=\"sm:hidden pr-3\" justify=\"center\">\n <NavbarBrand>\n <AcmeLogo />\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 126214aef1a9a7cc289ee3fcf6ace64b9489b39084226e531d4d21ef5fdf1ea7 | 58 | 896 |
=\"page\">\n Customers\n </Link>\n </NavbarItem>\n <NavbarItem>\n <Link color=\"foreground\" href=\"#\">\n Integrations\n </Link>\n </NavbarItem>\n </NavbarContent>\n <NavbarContent justify=\"end\">\n <NavbarItem className=\"hidden l... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 0f7ea119078f16f9d2fc3c265a4c876e5a8e3067a0bbcd58ecc8b10cc7de2acd | 59 | 896 |
#\" aria-current=\"page\">\n Customers\n </Link>\n </NavbarItem>\n <NavbarItem>\n <Link color=\"foreground\" href=\"#\">\n Integrations\n </Link>\n </NavbarItem>\n </NavbarContent>\n <NavbarContent justify=\"end\">\n <NavbarItem clas... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | d94bc789c89df796b7c1fb2550c8e734f2e418e2e32bd2a4f51bb81a93ddbcec | 60 | 896 |
n <DropdownItem key=\"help_and_feedback\">Help & Feedback</DropdownItem>\n <DropdownItem key=\"logout\" color=\"danger\">\n Log Out\n </DropdownItem>\n </DropdownMenu>\n </Dropdown>\n </NavbarContent>\n </Navbar>\n );\n}"
},
{
... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | b10199159250393e5e732d1627d4f81870c8f69eb20c7f212e5a61cbc7ceeeea | 61 | 896 |
\"Applications stay on the grid with high availability and high uptime guarantees.\"\n startContent={icons.server}\n >\n +99% Uptime\n </DropdownItem>\n <DropdownItem\n key=\"supreme_support\"\n description=\"Overcome any challenge wit... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 741794ce80d1ccacdb8507cc82dffd44e934c4458dc02905b52b7745d558297f | 62 | 896 |
/NavbarItem>\n <NavbarItem>\n <Button as={Link} color=\"primary\" href=\"#\" variant=\"flat\">\n Sign Up\n </Button>\n </NavbarItem>\n </NavbarContent>\n <NavbarMenu>\n {menuItems.map((item, index) => (\n <NavbarMenuItem key={`${item}-${index}`}>\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 764e7e5c5e3ad3d3358f42d47197297f53aa091f63c7a1ebfaa7b8811b009177 | 63 | 896 |
Jason Hughes\"\n size=\"sm\"\n src=\"https://i.pravatar.cc/150?u=a042581f4e29026704d\"\n />\n </DropdownTrigger>\n <DropdownMenu aria-label=\"Profile Actions\" variant=\"flat\">\n <DropdownItem key=\"profile\" className=\"h-14 gap-2\">\n <p ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 58ea5a2be545b255fa4e4eda5b0d9e43d5b4a5c40f077fc5427d874e1d1c94ed | 64 | 896 |
, \"danger\"]\n\n return (\n <div className=\"flex flex-wrap gap-4 items-center\">\n {colors.map((color) => (\n <Pagination key={color} total={10} initialPage={1} color={color} />\n ))}\n </div>\n );\n}"
},
{
"source": "compact.tsx",
"code": "'use client';\n\... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | c9180470794348b77db9b473b06773389640ea56ece9aeeb1cba93ac5ee6c2a6 | 65 | 896 |
\n return (\n <Pagination loop showControls color=\"success\" total={5} initialPage={1} />\n );\n}"
},
{
"source": "radius.tsx",
"code": "'use client';\n\nimport { Pagination } from \"@nextui-org/pagination\";\n\nexport default function App() {\n\n const radius = [\"full\", \"x... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 5a85688db1bcf9b7e448742a14a076ecdd2c8f5024846680ea1d7cf5d2d23036 | 66 | 896 |
</div>\n );\n}"
}
]
}
},
{
"name": "Popover",
"description": "Popover is a non-modal dialog that floats around its disclosure. It's commonly used for displaying additional rich content on top of something.",
"docs_path": "./build/gits/nextui-org$nextui/apps/docs/content/docs/component... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 1fbf98a8244b2e87810964f5e88bf1ebbee8f2215eb05ebf50f2b85b0b46ea38 | 67 | 896 |
"bordered\" />\n <Input defaultValue=\"300px\" label=\"Max. width\" size=\"sm\" variant=\"bordered\" />\n <Input defaultValue=\"24px\" label=\"Height\" size=\"sm\" variant=\"bordered\" />\n <Input defaultValue=\"30px\" label=\"Max. height\" size=\"sm\" variant=\"bordered\" />\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | d65fe3cde3175959f5a74d3fc4b09395bba242fd614b963a0aab263dc811d321 | 68 | 896 |
">\n <div className=\"text-small font-bold\">Popover Content</div>\n <div className=\"text-tiny\">This is the popover content</div>\n </div>\n </PopoverContent>\n </Popover>\n <p className=\"text-small text-default-400\">Open: {isOpen ? \"true\" : \"false\"}</p>\n </di... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 8e8ee617300c1e539bb55e0f3d059ee681404c9af2797f799d01428b61b2d4a5 | 69 | 896 |
\n\nexport default function App() {\n return (\n <Popover placement=\"right\">\n <PopoverTrigger>\n <Button>Open Popover</Button>\n </PopoverTrigger>\n <PopoverContent>\n {(titleProps) => (\n <div className=\"px-1 py-2\">\n <h3 className=\"text-small font-bold\" {...... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 8bbe41159305cf4db2a83c05e76d18352935082b51290494303e00b9cbc9c7e8 | 70 | 896 |
\"sm\" variant=\"bordered\" />\n <Input defaultValue=\"30px\" label=\"Max. height\" size=\"sm\" variant=\"bordered\" />\n </div>\n </div>\n )}\n </PopoverContent>\n </Popover>\n );\n}"
}
]
}
},
{
"name": "Progress",
"description": "The Progr... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 05d1affb844c172e637f08f24d4a591ca12ca98e0b2bd69e439e9f066fce3465 | 71 | 896 |
/progress\";\n\nexport default function App() {\n return (\n <div className=\"flex flex-col gap-6 w-full max-w-md\">\n <Progress size=\"sm\" aria-label=\"Loading...\" value={30} />\n <Progress size=\"md\" aria-label=\"Loading...\" value={40} />\n <Progress size=\"lg\" aria-label=\"Loading...\" value=... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 3fd716c82cff45dba8ad6aae117127ec7eb21752a731eb31fba3fe1035cc3bc5 | 72 | 896 |
default function App() {\n return (\n <RadioGroup\n label=\"Select your favorite city\"\n >\n <Radio value=\"buenos-aires\">Buenos Aires</Radio>\n <Radio value=\"sydney\">Sydney</Radio>\n <Radio value=\"san-francisco\">San Francisco</Radio>\n <Radio value=\"london\">London</Radio>\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 1bf05a533dab53a940eb7e5cb0e9a2f2488d12fc1034af800d02387f28379ee4 | 73 | 896 |
@nextui-org/radio\";\n\nexport default function App() {\n return (\n <RadioGroup\n label=\"Select your favorite city\"\n orientation=\"horizontal\"\n >\n <Radio value=\"buenos-aires\">Buenos Aires</Radio>\n <Radio value=\"sydney\">Sydney</Radio>\n <Radio value=\"san-francisco\">San Franc... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | f32c7680267e8f5db59181ca3e649e841ad75d06d919aa6ce7fe96ef3ab033cc | 74 | 896 |
use": [
{
"source": "usage.tsx",
"code": "'use client';\n\nimport { ScrollShadow } from \"@nextui-org/scroll-shadow\";\n\nexport default function App() {\n return (\n <ScrollShadow className=\"w-[300px] h-[400px]\">\n <Content />\n </ScrollShadow>\n );\n}"
}
],
... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | bc68990e8bcdca9b616d93bf114fb9065f72322061302f7097bfa0260a3357b8 | 75 | 896 |
> (\n <SelectItem key={animal.value} value={animal.value}>\n {animal.label}\n </SelectItem>\n ))}\n </Select>\n </div>\n );\n}"
}
],
"examples": [
{
"source": "colors.tsx",
"code": "'use client';\n\nimport { Select, SelectItem ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 26a222280b9851d7fa68a867d490983cd43c6de1045124f8baacd48b1bd50d9d | 76 | 896 |
\"Favorite Animal\"\n placeholder=\"Select an animal\"\n defaultSelectedKeys={[\"cat\"]}\n className=\"max-w-xs\"\n >\n {animals.map((animal) => (\n <SelectItem key={animal.value} value={animal.value}>\n {animal.label}\n </SelectItem>\n ))}\n </Select>\n );\n}"
... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | d8fd4d57d0de5b6b782e82866670fe1c92a93c4bd495f709bed035ea7a1278d8 | 77 | 896 |
=\"brazil\"\n startContent={<Avatar alt=\"Brazil\" className=\"w-6 h-6\" src=\"https://flagcdn.com/br.svg\" />}\n >\n Brazil\n </SelectItem>\n <SelectItem\n key=\"switzerland\"\n startContent={\n <Avatar alt=\"Switzerland\" className=\"w-6 h-6\" src=\"https://flagcdn.... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 19e41b85df069d7f5f7fcb9fd78c815d4b3b60f53733a53f7eae15b7f73d4096 | 78 | 896 |
<div className=\"flex flex-col gap-2\">\n <h3 className=\"text-default-500 text-small\">With placeholder</h3>\n <div className=\"flex w-full flex-wrap items-end md:flex-nowrap mb-6 md:mb-0 gap-4\">\n {placements.map((placement) => (\n <Select\n labelPlacement={placement}\n... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | dc1ce385055702a1a9f12542c036af236bc3bbac768a64912c012d8869d7db1a | 79 | 896 |
\n <div className=\"flex w-full max-w-xs flex-col gap-2\">\n <Select\n label=\"Favorite Animal\"\n selectionMode=\"multiple\"\n placeholder=\"Select an animal\"\n selectedKeys={values}\n className=\"max-w-xs\"\n onChange={handleSelectionChange}\n >\n {animal... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 69e622c4b941dc656e98e16e66743deaa0f8854a368cf8372f7815aa7d8a2ef2 | 80 | 896 |
\"]}\n className=\"max-w-xs\"\n >\n {animals.map((animal) => (\n <SelectItem key={animal.value} value={animal.value}>\n {animal.label}\n </SelectItem>\n ))}\n </Select>\n <Button onPress={() => setIsOpen(!isOpen)}>\n {isOpen ? \"Close\" : \"Open\"}... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | b4c12d0913e1c9a08488e57a609de2feca7f08abee3d08823f05bf3f439afa28 | 81 | 896 |
</SelectItem>\n <SelectItem key=\"Cheetah\">Cheetah</SelectItem>\n </SelectSection>\n <SelectSection title=\"Birds\">\n <SelectItem key=\"Eagle\">Eagle</SelectItem>\n <SelectItem key=\"Parrot\">Parrot</SelectItem>\n <SelectItem key=\"Penguin\">Penguin</SelectItem>\n <SelectI... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 92c1b3f9bae90dc1e5bca90d38e5cd6240e09ac620ea7ac250011d4dd66f3a54 | 82 | 896 |
[\"sm\", \"md\", \"lg\"];\n\n return (\n <div className=\"w-full flex flex-col gap-4\">\n {sizes.map((size) => (\n <div key={size} className=\"flex w-full flex-wrap md:flex-nowrap mb-6 md:mb-0 gap-4\">\n <Select \n size={size}\n label=\"Select an animal\" \n cla... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 92f5830572555f143891311818a0eed7e8fe45f28a62507b8f202e6f4a04f777 | 83 | 896 |
SelectItem key={animal.value} value={animal.value}>\n {animal.label}\n </SelectItem>\n ))}\n </Select>\n </div>\n ))} \n </div> \n );\n}"
},
{
"source": "without-scroll-shadow.tsx",
"code": "'use client';\n\nimport { S... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 4c73ee87826916633a5aca7a52d8537743f006ec0be061e14bf9189e00dc81b5 | 84 | 896 |
{\n const [isLoaded, setIsLoaded] = React.useState(false);\n\n const toggleLoad = () => {\n setIsLoaded(!isLoaded);\n };\n\n return (\n <div className=\"flex flex-col gap-3\">\n <Card className=\"w-[200px] space-y-5 p-4\" radius=\"2xl\">\n <Skeleton isLoaded={isLoaded} className=\"rounded-lg\">\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | d1bdf2c40de7cee5bfde1ca358654edd64d38b341ec6389a889f7ff6094d4da0 | 85 | 896 |
"examples": [
{
"source": "colors.tsx",
"code": "'use client';\n\nimport { Snippet } from \"@nextui-org/snippet\";\n\nexport default function App() {\n return (\n <div className=\"flex flex-wrap gap-4\">\n <Snippet color=\"default\">npm install @nextui-org/react</Snippet>\n <Sn... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 14668d193f05f6bbfff8e1a4841ce87c6f5f0fa2d3935bb042273b50543943b5 | 86 | 896 |
.tsx",
"code": "'use client';\n\nimport { Snippet } from \"@nextui-org/snippet\";\n\nexport default function App() {\n return (\n <Snippet hideCopyButton color=\"primary\" variant=\"solid\">\n npm install @nextui-org/react\n </Snippet>\n );\n}"
}
]
}
},
{
"name": "Spacer... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 7a6d3115ac0240ed0b754f09709d262a61cafdeec5a73b990b15d199cd996c3d | 87 | 896 |
=\"Secondary\" color=\"secondary\" labelColor=\"secondary\"/>\n <Spinner label=\"Success\" color=\"success\" labelColor=\"success\"/>\n <Spinner label=\"Warning\" color=\"warning\" labelColor=\"warning\"/>\n <Spinner label=\"Danger\" color=\"danger\" labelColor=\"danger\"/>\n </div> \n );\n}"
... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 161b8334bca6e42ce16664adff35c5635fc045beab79649a69494728144047e8 | 88 | 896 |
onValueChange={setIsSelected}>\n Airplane mode\n </Switch> \n <p className=\"text-small text-default-500\">Selected: {isSelected ? \"true\" : \"false\"}</p>\n </div>\n ) \n}"
},
{
"source": "disabled.tsx",
"code": "'use client';\n\nimport { Switch } from \"@nex... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | be48e0c6f86b872d05553910da76ec644b3f025aad3ed4a27acb4528ef1ebd0c | 89 | 896 |
, TableRow, TableCell } from \"@nextui-org/table\";\n\nexport default function App() {\n return (\n <Table aria-label=\"Example static collection table\">\n <TableHeader>\n <TableColumn>NAME</TableColumn>\n <TableColumn>ROLE</TableColumn>\n <TableColumn>STATUS</TableColumn>\n </TableH... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 163709e887714cd42f574a85e94e26b763f4ecf91d99e0340f50e4caa0663dc4 | 90 | 896 |
TableBody items={rows}>\n {(item) => (\n <TableRow key={item.key}>\n {(columnKey) => <TableCell>{getKeyValue(item, columnKey)}</TableCell>}\n </TableRow>\n )}\n </TableBody>\n </Table>\n );\n}"
},
{
"source": "disallow-empty-selection.tsx",
... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | c9f4457e2e4e6b0a5faac021b09b21c0d024a07bd37407a4b88e194a5adeb698 | 91 | 896 |
(columnKey) => <TableCell>{getKeyValue(item, columnKey)}</TableCell>}\n </TableRow>\n )}\n </TableBody>\n </Table>\n );\n}"
},
{
"source": "empty.tsx",
"code": "'use client';\n\nimport { Table, TableHeader, TableColumn, TableBody, TableRow, TableCell } from \... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | ebee36fdad7b69079f1ebb7f29a51d0ce3efe92b627609213820ca75884507bf | 92 | 896 |
\nimport { Pagination } from \"@nextui-org/pagination\";\nimport { getKeyValue } from \"@nextui-org/react\";\n\nexport default function App() {\n const [page, setPage] = React.useState(1);\n const rowsPerPage = 4;\n\n const pages = Math.ceil(users.length / rowsPerPage);\n\n const items = React.useMemo(() => {\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | b93258ff8b2a0dccd8a00f19686822794d1e8e4136390ffa650531047a0ed88b | 93 | 896 |
"replace\">Replace</Radio>\n </RadioGroup>\n </div>\n );\n}"
},
{
"source": "selection-behavior.tsx",
"code": "'use client';\n\nimport { Table, TableHeader, TableColumn, TableBody, TableRow, TableCell } from \"@nextui-org/table\";\nimport { getKeyValue } from \"@nextui-org/r... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 8b7173f6029907de338802f2a65b9d45abcfeb68cd475e9a0a918f0cf5355706 | 94 | 896 |
/TableCell>\n <TableCell>Vacation</TableCell>\n </TableRow>\n </TableBody>\n </Table>\n <RadioGroup \n label=\"Selection color\"\n orientation=\"horizontal\"\n value={selectedColor} \n onValueChange={setSelectedColor}\n >\n {colors.map((color)... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 50ff7d95592340ebec69253719c7084d431dd65d46c7e0727558f8efbbadc241 | 95 | 896 |
n const hasSearchFilter = Boolean(filterValue);\n\n const headerColumns = React.useMemo(() => {\n if (visibleColumns === \"all\") return columns;\n\n return columns.filter((column) => Array.from(visibleColumns).includes(column.uid));\n }, [visibleColumns]);\n\n const filteredItems = React.useMemo(() => {\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 5461871d5d0fd12fd7e811877117e49d5d07cc54ec2fbe3b110a6c6be95959a3 | 96 | 896 |
DropdownItem>\n <DropdownItem>Delete</DropdownItem>\n </DropdownMenu>\n </Dropdown>\n </div>\n );\n default:\n return cellValue;\n }\n }, []);\n\n const onNextPage = React.useCallback(() => {\n if (page < pages) {\n setPage(page + 1);\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | c758525781e83216e599074b32d97807abe2b109b08d5af3de38268fa8ed4638 | 97 | 896 |
>}>\n Add New\n </Button>\n </div>\n </div>\n <div className=\"flex justify-between items-center\">\n <span className=\"text-default-400 text-small\">Total {users.length} users</span>\n <label className=\"flex items-center text-default-400 text-small\">\n... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 27b23a7fa3f0156d77b78788d4058187b8b4688432383777d33cb859f7eaf70f | 98 | 896 |
.id}>\n {(columnKey) => <TableCell>{renderCell(item, columnKey)}</TableCell>}\n </TableRow>\n )}\n </TableBody>\n </Table>\n );\n}"
},
{
"source": "without-header.tsx",
"code": "'use client';\n\nimport { Table, TableHeader, TableColumn, TableBody, ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 8b536df8de09a8721c251dd71fe260836bc3a7db5a8ea6f59f5aa7c5e3f1541f | 99 | 896 |
"import": {
"source": "tabs.mdx",
"code": "'use client';\n\nimport { Tabs, Tab } from \"@nextui-org/tabs\";"
},
"use": [
{
"source": "usage.tsx",
"code": "'use client';\n\nimport { Tabs, Tab } from \"@nextui-org/tabs\";\nimport { Card, CardBody } from \"@nextui-or... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | c6fe12e9d07f82554dea1907958da5f3315c9b8a19801c82c0353013726d3235 | 100 | 896 |
={selected}\n onSelectionChange={setSelected}\n >\n <Tab key=\"photos\" title=\"Photos\">\n <Card>\n <CardBody>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 47b08859cbd30cb5a2050139f3add14d26761732edde8e3328ef93b135993f0b | 101 | 896 |
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n </CardBody>\n </Card> \n </Tab>\n <Tab key=\"music\" title=\"Music\">\n <Card>\n <CardBody>\n Ut enim ad minim veniam, quis nostrud exercitation ullam... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | a60b49f72ecf0841fa57be53dd4ed95fbc244ebe52e30826e593ed9b950ce4c9 | 102 | 896 |
hidden\">\n <Tabs\n fullWidth\n size=\"md\"\n aria-label=\"Tabs form\"\n selectedKey={selected}\n onSelectionChange={setSelected}\n >\n <Tab key=\"login\" title=\"Login\">\n <form className=\"flex flex-col gap-4\">\n ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | ca6ab5ead31041fe3014f0dda69ac26a67bb2bd4d3a35a21d35006e3db9a7cc2 | 103 | 896 |
\n }\n />\n <Tab\n key=\"videos\"\n title={\n <div className=\"flex items-center space-x-2\">\n <VideoIcon/>\n <span>Videos</span>\n </div>\n }\n />\n </Tabs>\n </div> \n );\n}"
},
{
... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | a0be98c8e7d4d62cbbf125385351b4938f6abed4cbcff3f6abc1982972f9ebff | 104 | 896 |
: "Textarea",
"description": "Textarea component is a multi-line Input which allows you to write large texts.",
"docs_path": "./build/gits/nextui-org$nextui/apps/docs/content/docs/components/textarea.mdx",
"docs": {
"import": {
"source": "textarea.mdx",
"code": "'use client';\n\nimport... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 2c83fee59f548ad332a5f9064c16164a9bfad172e827a4f13ec1c593cf18354f | 105 | 896 |
: "disabled.tsx",
"code": "'use client';\n\nimport { Textarea } from \"@nextui-org/input\";\n\nexport default function App() {\n return (\n <Textarea\n isDisabled\n label=\"Description\"\n labelPlacement=\"outside\"\n placeholder=\"Enter your description\"\n defaultValue=\"NextUI ... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | cc65980e10df22a8bef67b59aff056820a538a7cd129d2939fb0cabe81d2f5cf | 106 | 896 |
an element.",
"docs_path": "./build/gits/nextui-org$nextui/apps/docs/content/docs/components/tooltip.mdx",
"docs": {
"import": {
"source": "tooltip.mdx",
"code": "'use client';\n\nimport { Tooltip } from \"@nextui-org/tooltip\";"
},
"use": [
{
"source": "usage... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 2ca33864ce874b938ede5f3f95927913e7a09a39844a88af31bf7e9f8aae9a90 | 107 | 896 |
tsx",
"code": "'use client';\n\nimport { Tooltip } from \"@nextui-org/tooltip\";\nimport { Button } from \"@nextui-org/button\";\n\nexport default function App() {\n return (\n <div className=\"flex gap-2\">\n <Tooltip color=\"primary\" content=\"Tooltip 1\" delay={1000}>\n <Button color=\"pri... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 11ce856ad7578c1817e7d24ce610a877ec8011f8af756279a3989c08c260a3e6 | 108 | 896 |
bottom-start\",\n \"bottom\",\n \"bottom-end\",\n \"left-start\",\n \"left\",\n \"left-end\",\n \"right-start\",\n \"right\",\n \"right-end\",\n ];\n\n return (\n <div className=\"flex flex-wrap md:inline-grid md:grid-cols-3 gap-4\">\n {placements.map((placement) => (\n <Tooltip... | synth-ui | public/assets/content/external/components/nextui/dump.json | JSON | 7ccbd0dcc509273c4e27d54dbf3b8299426fc75f8e136461f513541b9200bf38 | 109 | 668 |
[
{
"name": "Accordion",
"description": "A vertically stacked set of interactive headings that each reveal a section of content.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\accordion.mdx",
"docs": {
"import": {
"source": "accordion.mdx",
"code": "import {\n Acco... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 3eb2a4949bc29d55bbb939218aff180d1988ef20b8570be65f9593ad4a32bb35 | 0 | 896 |
AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>Cancel</AlertDialogCancel>\n <AlertDialogAction>Continue</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>"
}
],
"examples": [
{
"source": "alert-dialog-demo.tsx",
... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 451931778dfa61f67530494a5876564f77285d1d527ce9d13a86a5c0c4338290 | 1 | 896 |
\"@/components/ui/alert\"\r\n\r\nexport default function AlertDestructive() {\r\n return (\r\n <Alert variant=\"destructive\">\r\n <AlertCircle className=\"h-4 w-4\" />\r\n <AlertTitle>Error</AlertTitle>\r\n <AlertDescription>\r\n Your session has expired. Please log in again.\r\n </Alert... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | bf7b0889e21dfa44b348a00fbff5c46b2147ba413fcab3f81d301424b763b03a | 2 | 896 |
-md object-cover\"\r\n />\r\n </AspectRatio>\r\n )\r\n}"
}
]
}
},
{
"name": "Avatar",
"description": "An image element with a fallback for representing the user.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\avatar.mdx",
"docs": {
"import": {
"... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | ae75deb2500fabce9a5d411dc0032e585bda779e1c0c3dbbb20ff8e2603cdbe6 | 3 | 896 |
default function BadgeSecondary() {\r\n return <Badge variant=\"secondary\">Secondary</Badge>\r\n}"
}
]
}
},
{
"name": "Button",
"description": "Displays a button or a component that looks like a button.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\button.mdx",
"do... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 39ab0188a93c738946436a0a73c21f068ba06e4cf739fbb745bdd91c0f075958 | 4 | 896 |
\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonLoading() {\r\n return (\r\n <Button disabled>\r\n <Loader2 className=\"mr-2 h-4 w-4 animate-spin\" />\r\n Please wait\r\n </Button>\r\n )\r\n}"
},
{
"source": "button-outline.tsx",
... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 78caa8b055b505fce6803a52c594af4b72406b0921eeb2734204e4b4015d6e1a | 5 | 896 |
CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\""
},
"use": [
{
"source": "card.mdx",
"code": "<Card>\n <CardHeader>\n <CardTitle>Card Title</CardTitle>\n <CardDescription>Card Description</CardDescription>\n </CardHeader>\n <... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 13bf7ba518e900f2952b23160015a85781a3325d19790d62ca9975419511442a | 6 | 896 |
r\n >\r\n <span className=\"flex h-2 w-2 translate-y-1 rounded-full bg-sky-500\" />\r\n <div className=\"space-y-1\">\r\n <p className=\"text-sm font-medium leading-none\">\r\n {notification.title}\r\n </p>\r\n <p classNa... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 864b304d839bc382db7baccdc65e78d8da0d94443f067e3b5f3b646b116f6792 | 7 | 896 |
js</SelectItem>\r\n </SelectContent>\r\n </Select>\r\n </div>\r\n </div>\r\n </form>\r\n </CardContent>\r\n <CardFooter className=\"flex justify-between\">\r\n <Button variant=\"outline\">Cancel</Button>\r\n <Button>Deploy</Button>\r\n ... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 9a0598bc2fa7820301404ae9d5edce2c38ccc4d24bd7ebf9093aa916e8d756cb | 8 | 896 |
r\n >\r\n Accept terms and conditions\r\n </label>\r\n <p className=\"text-sm text-muted-foreground\">\r\n You agree to our Terms of Service and Privacy Policy.\r\n </p>\r\n </div>\r\n </div>\r\n )\r\n}"
}
]
}
},
{
"name": "Collapsible",
... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 66feae498dbb9859874e73f4b570f07adab5c2cad00bc330e68791852d0b9a37 | 9 | 896 |
div>\r\n </CollapsibleContent>\r\n </Collapsible>\r\n )\r\n}"
}
]
}
},
{
"name": "Combobox",
"description": "Autocomplete input and command palette with a list of suggestions.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\combobox.mdx",
"docs": {
"impo... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 4bc01141d19c6eb2dd90e2d2ab3272cb8a1cb524108a4bd49cfed484ae4f7837 | 10 | 896 |
n )\n}"
},
"use": [],
"examples": [
{
"source": "combobox-demo.tsx",
"code": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { Check, ChevronsUpDown } from \"lucide-react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\nimport { Button } from \"@/components... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 33eaf09ff6426f5654cc7de3db35f6d29d2a6a8a957576a45e8231bf58a8df88 | 11 | 896 |
\",\r\n value === framework.value ? \"opacity-100\" : \"opacity-0\"\r\n )}\r\n />\r\n {framework.label}\r\n </CommandItem>\r\n ))}\r\n </CommandGroup>\r\n </Command>\r\n </PopoverContent>\r\n </Popover>\r\n... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 3d57cc15850259fc6016e84e12411f5e9421e13e204ff717876121a283271069 | 12 | 896 |
-4 w-4\" />\r\n Set due date...\r\n </DropdownMenuItem>\r\n <DropdownMenuSeparator />\r\n <DropdownMenuSub>\r\n <DropdownMenuSubTrigger>\r\n <Tags className=\"mr-2 h-4 w-4\" />\r\n Apply label\r\n </DropdownMenuSubTrig... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 6349b0ba079be1a27614133859b4c317cf83963851151d676f19c9bd3ea0bf06 | 13 | 896 |
icon: ArrowUpCircle,\r\n },\r\n {\r\n value: \"done\",\r\n label: \"Done\",\r\n icon: CheckCircle2,\r\n },\r\n {\r\n value: \"canceled\",\r\n label: \"Canceled\",\r\n icon: XCircle,\r\n },\r\n]\r\n\r\nexport default function ComboboxPopover() {\r\n const [open, setOpen] = React.useState(false)\r... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | d417048d4bc4a1323c9d220cc6f480d7349b28489081e130a0cec94f45691e82 | 14 | 896 |
"command.mdx",
"code": "import {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n} from \"@/components/ui/command\""
},
"use": [
{
"source": "command.mdx",
"code": "... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 037430dff0b2ac5754521923c9b534f2fd2933faaa151e82e2e90d6dbaeddeb2 | 15 | 896 |
\n <CommandItem>\r\n <Smile className=\"mr-2 h-4 w-4\" />\r\n <span>Search Emoji</span>\r\n </CommandItem>\r\n <CommandItem>\r\n <Calculator className=\"mr-2 h-4 w-4\" />\r\n <span>Calculator</span>\r\n </CommandItem>\r\n </CommandGr... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 6c0b7db890add529c4f26bbbdcc5666f4b93847d4895de9426624402797992a4 | 16 | 896 |
\r\n </kbd>\r\n </p>\r\n <CommandDialog open={open} onOpenChange={setOpen}>\r\n <CommandInput placeholder=\"Type a command or search...\" />\r\n <CommandList>\r\n <CommandEmpty>No results found.</CommandEmpty>\r\n <CommandGroup heading=\"Suggestions\">\r\n <Co... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 0f46bff98f511b81a7c8864fbb76d83d1b14c5cee13a7a7c2768f8753eba9185 | 17 | 896 |
\r\n ContextMenuSubTrigger,\r\n ContextMenuTrigger,\r\n} from \"@/components/ui/context-menu\"\r\n\r\nexport default function ContextMenuDemo() {\r\n return (\r\n <ContextMenu>\r\n <ContextMenuTrigger className=\"flex h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed text-sm\">\... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 9867af15c1ca6234812ecf775a9262e8b945aa8612d698e3e54afd359b213bbf | 18 | 896 |
\"outline\"}\n className={cn(\n \"w-[280px] justify-start text-left font-normal\",\n !date && \"text-muted-foreground\"\n )}\n >\n <CalendarIcon className=\"mr-2 h-4 w-4\" />\n {date ? format(date, \"PPP\") : <span>Pick a date</span>}\n </Button>\n... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | da4d52ce51707d2d459b473dc107c7a080cc5850183ed92fb3d0c8ee04633366 | 19 | 896 |
\n PopoverTrigger,\r\n} from \"@/components/ui/popover\"\r\nimport {\r\n Select,\r\n SelectContent,\r\n SelectItem,\r\n SelectTrigger,\r\n SelectValue,\r\n} from \"@/components/ui/select\"\r\n\r\nexport default function DatePickerWithPresets() {\r\n const [date, setDate] = React.useState<Date>()\r\n\r\n return ... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | ee5974dd00227cd2c8260bb1cb4133c491b1ec831c397392e1d1f80aa578e85b | 20 | 896 |
, 0, 20),\r\n to: addDays(new Date(2022, 0, 20), 20),\r\n })\r\n\r\n return (\r\n <div className={cn(\"grid gap-2\", className)}>\r\n <Popover>\r\n <PopoverTrigger asChild>\r\n <Button\r\n id=\"date\"\r\n variant={\"outline\"}\r\n className={cn(\r\n ... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | d85a03a9cb7af5c97e65ab6c39e1344d54e29c2bcfe6fd0c2ab716e1bf23ee18 | 21 | 896 |
/dialog\"\r\nimport { Input } from \"@/components/ui/input\"\r\nimport { Label } from \"@/components/ui/label\"\r\n\r\nexport default function DialogDemo() {\r\n return (\r\n <Dialog>\r\n <DialogTrigger asChild>\r\n <Button variant=\"outline\">Edit Profile</Button>\r\n </DialogTrigger>\r\n <Di... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 86ae60b3366098f2c207a70b5a996d289d1020066fbcd5907ea2d5eb6a149598 | 22 | 896 |
components/ui/button\"\r\nimport {\r\n DropdownMenu,\r\n DropdownMenuCheckboxItem,\r\n DropdownMenuContent,\r\n DropdownMenuLabel,\r\n DropdownMenuSeparator,\r\n DropdownMenuTrigger,\r\n} from \"@/components/ui/dropdown-menu\"\r\n\r\ntype Checked = DropdownMenuCheckboxItemProps[\"checked\"]\r\n\r\nexport default ... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | c3f4e104b8e5f0e9e81cbdac006076a3039bdde8a4567b00cfabdd1ac3e30c68 | 23 | 896 |
\"mr-2 h-4 w-4\" />\r\n <span>Billing</span>\r\n <DropdownMenuShortcut>⌘B</DropdownMenuShortcut>\r\n </DropdownMenuItem>\r\n <DropdownMenuItem>\r\n <Settings className=\"mr-2 h-4 w-4\" />\r\n <span>Settings</span>\r\n <DropdownMenuShortcut>⌘S</Dro... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 99fd00fe4330484fcaf4cc6c8564b3543101ea58a64a2cfa66c4a834a88149d6 | 24 | 896 |
r\n}"
},
{
"source": "dropdown-menu-radio-group.tsx",
"code": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { DropdownMenuCheckboxItemProps } from \"@radix-ui/react-dropdown-menu\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\nimport {\r\n DropdownM... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 844db0f4ec57a9648264267fc3280fe9b87b31bebfed29680b7cb2ca26446850 | 25 | 896 |
-x-4\">\r\n <Avatar>\r\n <AvatarImage src=\"https://github.com/vercel.png\" />\r\n <AvatarFallback>VC</AvatarFallback>\r\n </Avatar>\r\n <div className=\"space-y-1\">\r\n <h4 className=\"text-sm font-semibold\">@nextjs</h4>\r\n <p className=\"text-s... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 60cf015a529066635cea4e587ebdbab22ac0e9ecdfb9ee10c8d95d52f87b7163 | 26 | 896 |
full max-w-sm items-center space-x-2\">\r\n <Input type=\"email\" placeholder=\"Email\" />\r\n <Button type=\"submit\">Subscribe</Button>\r\n </div>\r\n )\r\n}"
},
{
"source": "input-with-label.tsx",
"code": "import { Input } from \"@/components/ui/input\"\r\nimport { L... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 33a0ffe87509fe9c1fecc66721ad13c1d97457545b6a64903817e1d3b6373d69 | 27 | 896 |
menubar.mdx",
"docs": {
"import": {
"source": "menubar.mdx",
"code": "import {\n Menubar,\n MenubarContent,\n MenubarItem,\n MenubarMenu,\n MenubarSeparator,\n MenubarShortcut,\n MenubarTrigger,\n} from \"@/components/ui/menubar\""
},
"use": [
{
"source": "... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 4e9a75f85ee859a15cc630ac4325b0a7e09cb70871885f5d980a41446e1381bb | 28 | 896 |
\r\n <MenubarItem>Paste</MenubarItem>\r\n </MenubarContent>\r\n </MenubarMenu>\r\n <MenubarMenu>\r\n <MenubarTrigger>View</MenubarTrigger>\r\n <MenubarContent>\r\n <MenubarCheckboxItem>Always Show Bookmarks Bar</MenubarCheckboxItem>\r\n <MenubarCheckboxItem chec... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 8e77a409467731178615425c1e9b183d9ad0f62a759a1c0d5f1b76fd8079fad2 | 29 | 896 |
PopoverTrigger>Open</PopoverTrigger>\n <PopoverContent>Place content for the popover here.</PopoverContent>\n</Popover>"
}
],
"examples": [
{
"source": "popover-demo.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\nimport { Input } from \"@/components/... | synth-ui | public/assets/content/external/components/shadcn/dump.json | JSON | 029b3f1666e3a60e889f8f453ce0b073928bffe294aa57492feb264f81096e89 | 30 | 896 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.