import { html } from '@webjsdev/core'; import { cn } from '#lib/utils/cn.ts'; import { inputGroupClass, inputGroupAddonClass, inputGroupButtonClass, inputGroupInputClass, } from '#modules/ui/components/input-group.ts'; import { popoverContentClass } from '#modules/ui/components/popover.ts'; import { IconCopy, IconInfoCircle, IconStar } from '#lib/ui/tabler.ts'; // shadcn's demo copies the url and toggles the star with React state. Here // the buttons are shown at rest; wire a click listener to give them work. export default function InputGroupButtonExample() { const isFavorite = false; return html`
`; }