This repository has been archived on 2024-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
tailwindui/react/components/application-ui/elements/button-groups/with_stat.jsx
2024-01-24 19:02:44 +08:00

22 lines
803 B
JavaScript

import { BookmarkIcon } from '@heroicons/react/20/solid'
export default function Example() {
return (
<span className="isolate inline-flex rounded-md shadow-sm">
<button
type="button"
className="relative inline-flex items-center gap-x-1.5 rounded-l-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
>
<BookmarkIcon className="-ml-0.5 h-5 w-5 text-gray-400" aria-hidden="true" />
Bookmark
</button>
<button
type="button"
className="relative -ml-px inline-flex items-center rounded-r-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
>
12k
</button>
</span>
)
}