repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/collapse/collapse.tsx
src/collapse/collapse.tsx
import clsx from 'clsx'; import { ChevronRight, ChevronDown } from '../icons'; export interface CollapseProps extends React.HTMLAttributes<HTMLDivElement> { open: boolean; onOpenChange: (open: boolean) => void; disabled?: boolean; header: React.ReactNode; children: React.ReactNode; className?: string; m...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/collapse/collapse.stories.tsx
src/collapse/collapse.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { Collapse } from './collapse'; const meta: Meta<typeof Collapse> = { title: 'Components/Collapse', component: Collapse, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/collapse/index.ts
src/collapse/index.ts
export * from './collapse';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/avatar/avatar.stories.tsx
src/avatar/avatar.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Avatar } from './avatar'; const meta = { title: 'Components/Avatar', component: Avatar, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'Avatar is a simple component fo...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/avatar/avatar.tsx
src/avatar/avatar.tsx
import clsx from 'clsx'; export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> { src?: string; alt?: string; name?: string; size?: 'sm' | 'md' | 'lg'; rounded?: boolean; } const sizeMap: Record<'sm' | 'md' | 'lg', { box: string; text: string }> = { sm: { box: 'w-8 h-8', text: 'text-sm'...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/avatar/index.ts
src/avatar/index.ts
export * from './avatar';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/dialog/dialog.tsx
src/dialog/dialog.tsx
import clsx from 'clsx'; import { motion, AnimatePresence } from 'framer-motion'; import React from 'react'; import ReactDOM from 'react-dom'; import { Button } from '../button'; import { Close } from '../icons'; export interface DialogProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> { open: bool...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/dialog/dialog.stories.tsx
src/dialog/dialog.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { Button } from '../button'; import { Dialog } from './dialog'; const meta: Meta<typeof Dialog> = { title: 'Components/Dialog', component: Dialog, tags: ['autodocs'], parameters: { layout: 'centered', ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/dialog/index.ts
src/dialog/index.ts
export * from './dialog';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/waypoints.tsx
src/icons/waypoints.tsx
import React from 'react'; export function Waypoints({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/eye.tsx
src/icons/eye.tsx
export function Eye({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="rou...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/user.tsx
src/icons/user.tsx
export function User({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="ro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/message.tsx
src/icons/message.tsx
export function Message({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap=...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/star.tsx
src/icons/star.tsx
export function Star({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="ro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/plus.tsx
src/icons/plus.tsx
import React from 'react'; export function Plus({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/close.tsx
src/icons/close.tsx
import React from 'react'; export function Close({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidt...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/bell.tsx
src/icons/bell.tsx
export function Bell({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="ro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/chevron-down.tsx
src/icons/chevron-down.tsx
import React from 'react'; export function ChevronDown({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/info.tsx
src/icons/info.tsx
import React from 'react'; export function Info({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/thumbs-down.tsx
src/icons/thumbs-down.tsx
export function ThumbDown({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLineca...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/check.tsx
src/icons/check.tsx
import React from 'react'; export function Check({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidt...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/minus.tsx
src/icons/minus.tsx
import React from 'react'; export function Minus({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidt...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/chevron-up.tsx
src/icons/chevron-up.tsx
import React from 'react'; export function ChevronUp({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/heart.tsx
src/icons/heart.tsx
export function Heart({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="r...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/tag.tsx
src/icons/tag.tsx
export function Tag({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="rou...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/circle-check.tsx
src/icons/circle-check.tsx
import React from 'react'; export function CircleCheck({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/search.tsx
src/icons/search.tsx
export function Search({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/ellipsis.tsx
src/icons/ellipsis.tsx
export function Ellipsis({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/icons.stories.tsx
src/icons/icons.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import React from 'react'; import { Bell, Bookmark, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, CircleAlert, CircleCheck, CircleClose, Close, Ellipsis, EyeClosed, Eye, Heart, Info, Layers, Message...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/layers.tsx
src/icons/layers.tsx
export function Layers({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/eye-closed.tsx
src/icons/eye-closed.tsx
export function EyeClosed({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLineca...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/circle-close.tsx
src/icons/circle-close.tsx
import React from 'react'; export function CircleClose({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/circle-alert.tsx
src/icons/circle-alert.tsx
import React from 'react'; export function CircleAlert({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/thumbs-up.tsx
src/icons/thumbs-up.tsx
export function ThumbUp({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap=...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/reset.tsx
src/icons/reset.tsx
import React from 'react'; export function Reset({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidt...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/chevron-right.tsx
src/icons/chevron-right.tsx
import React from 'react'; export function ChevronRight({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" str...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/index.ts
src/icons/index.ts
export { Bell } from './bell'; export { Bookmark } from './bookmark'; export { Calendar } from './calendar'; export { Check } from './check'; export { ChevronDown } from './chevron-down'; export { ChevronLeft } from './chevron-left'; export { ChevronRight } from './chevron-right'; export { ChevronUp } from './chevron-u...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/bookmark.tsx
src/icons/bookmark.tsx
export function Bookmark({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/chevron-left.tsx
src/icons/chevron-left.tsx
import React from 'react'; export function ChevronLeft({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" stro...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/waves.tsx
src/icons/waves.tsx
import React from 'react'; export function Waves({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidt...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/icons/calendar.tsx
src/icons/calendar.tsx
export function Calendar({ size = 24, ...props }: React.SVGProps<SVGSVGElement> & { size?: number }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/checkbox/checkbox.stories.tsx
src/checkbox/checkbox.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Checkbox } from './checkbox'; const meta = { title: 'Components/Checkbox', component: Checkbox, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: "A versatile Checkbox co...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/checkbox/index.ts
src/checkbox/index.ts
export * from './checkbox';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/checkbox/checkbox.tsx
src/checkbox/checkbox.tsx
import clsx from 'clsx'; import React, { useId } from 'react'; export type CheckboxSize = 'sm' | 'default' | 'lg'; export interface CheckboxProps extends Omit< React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'size' | 'children' > { label?: React.ReactNode; size?: CheckboxSize; indeterminate?: ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/switch/switch.tsx
src/switch/switch.tsx
import clsx from 'clsx'; import React from 'react'; export type SwitchSize = 'sm' | 'default' | 'lg'; const sizeStyle = { sm: { track: 'w-9 h-5', knob: 'w-4 h-4', translate: 'translate-x-4', }, default: { track: 'w-11 h-6', knob: 'w-5 h-5', translate: 'translate-x-5', }, lg: { tr...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/switch/switch.stories.tsx
src/switch/switch.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { Switch } from './switch'; const meta: Meta<typeof Switch> = { title: 'Components/Switch', component: Switch, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/switch/index.ts
src/switch/index.ts
export * from './switch';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/mask/mask.tsx
src/mask/mask.tsx
import clsx from 'clsx'; import { useEffect } from 'react'; import { createPortal } from 'react-dom'; import { Button } from '../button'; import { Close } from '../icons'; export interface MaskProps { open: boolean; opacity?: number; zIndex?: number; children?: React.ReactNode; closable?: boolean; onClose...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/mask/mask.stories.tsx
src/mask/mask.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useArgs } from 'storybook/preview-api'; import { Button } from '../button'; import { Mask } from './mask'; const meta: Meta<typeof Mask> = { title: 'Components/Mask', component: Mask, tags: ['autodocs'], parameters: { layout: 'fullscre...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/mask/index.ts
src/mask/index.ts
export * from './mask';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/card/card.stories.tsx
src/card/card.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Card } from './card'; const meta: Meta<typeof Card> = { title: 'Components/Card', component: Card, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'A Card component tha...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/card/card.tsx
src/card/card.tsx
import clsx from 'clsx'; import React from 'react'; import { Divider } from '../divider'; export type CardSize = 'sm' | 'default' | 'lg'; export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> { size?: CardSize; title?: React.ReactNode; minimal?: boolean; children: React.Rea...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/card/index.ts
src/card/index.ts
export * from './card';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/progress/progress.tsx
src/progress/progress.tsx
import clsx from 'clsx'; import React from 'react'; export type ProgressSize = 'sm' | 'default' | 'lg'; export type ProgressVariant = 'primary' | 'success' | 'warning' | 'danger'; export interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> { value?: number; max?: number; size?: ProgressSize; v...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/progress/progress.stories.tsx
src/progress/progress.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Progress } from './progress'; const meta: Meta<typeof Progress> = { title: 'Components/Progress', component: Progress, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: '...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/progress/index.ts
src/progress/index.ts
export * from './progress';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/input/input.stories.tsx
src/input/input.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Input } from './input'; const meta: Meta<typeof Input> = { title: 'Components/Input', component: Input, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'A general-purpo...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/input/index.ts
src/input/index.ts
export * from './input';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/input/input.tsx
src/input/input.tsx
import clsx from 'clsx'; import React from 'react'; export type InputSize = 'xs' | 'sm' | 'default' | 'lg'; type NativeInputProps = Omit< React.InputHTMLAttributes<HTMLInputElement>, 'size' >; export interface InputProps extends NativeInputProps { label?: React.ReactNode; error?: React.ReactNode; size?: In...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/datepicker/datepicker.stories.tsx
src/datepicker/datepicker.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { DatePicker } from './datepicker'; const meta: Meta<typeof DatePicker> = { title: 'Components/DatePicker', component: DatePicker, tags: ['autodocs'], parameters: { layout: 'centered', docs: { d...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/datepicker/index.ts
src/datepicker/index.ts
export * from './datepicker';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/datepicker/datepicker.tsx
src/datepicker/datepicker.tsx
import { useOutsideClick } from '@mints/hooks'; import clsx from 'clsx'; import { useState, useRef } from 'react'; import { Button, type ButtonSize } from '../button'; import { Calendar, ChevronLeft, ChevronRight } from '../icons'; export type DatePickerSize = 'sm' | 'default' | 'lg'; export type RangeValue = { star...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/type-writer/type-writer.stories.tsx
src/type-writer/type-writer.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Button } from '../button'; import { TypeWriter } from './type-writer'; const meta: Meta<typeof TypeWriter> = { title: 'Components/TypeWriter', component: TypeWriter, tags: ['autodocs'], parameters: { layout: 'centered', docs: { ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/type-writer/type-writer.tsx
src/type-writer/type-writer.tsx
import clsx from 'clsx'; import React, { useEffect, useMemo, useRef, useState } from 'react'; type Phase = 'typing' | 'pausing' | 'deleting'; export interface TypeWriterProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'children'> { strings: string | string[]; speed?: number; deleteSpeed?: number; s...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/type-writer/index.ts
src/type-writer/index.ts
export * from './type-writer';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/radio/radio.tsx
src/radio/radio.tsx
import clsx from 'clsx'; import React, { useId } from 'react'; export type RadioSize = 'sm' | 'default' | 'lg'; export interface RadioProps extends Omit< React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'children' | 'size' > { label?: React.ReactNode; size?: RadioSize; children?: React.ReactNod...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/radio/radio.stories.tsx
src/radio/radio.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Radio } from './radio'; const meta: Meta<typeof Radio> = { title: 'Components/Radio', component: Radio, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'A Radio compone...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/radio/index.ts
src/radio/index.ts
export * from './radio';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/button/button.stories.tsx
src/button/button.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Message } from '../icons'; import { Button } from './button'; const meta: Meta<typeof Button> = { title: 'Components/Button', component: Button, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/button/button.tsx
src/button/button.tsx
import clsx from 'clsx'; import React from 'react'; import { Spinner } from '../spinner'; export type ButtonVariant = 'primary' | 'outline' | 'link' | 'dashed'; export type ButtonSize = 'xs' | 'sm' | 'default' | 'lg'; export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { variant?: ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/button/index.ts
src/button/index.ts
export * from './button';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/pop-confirm/pop-confirm.stories.tsx
src/pop-confirm/pop-confirm.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Button } from '../button'; import { PopConfirm } from './pop-confirm'; const meta: Meta<typeof PopConfirm> = { title: 'Components/PopConfirm', component: PopConfirm, tags: ['autodocs'], parameters: { layout: 'centered', docs: { ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/pop-confirm/pop-confirm.tsx
src/pop-confirm/pop-confirm.tsx
import clsx from 'clsx'; import React, { useState, useRef, useEffect } from 'react'; import { Arrow } from '../arrow'; import { Button } from '../button'; export type PopConfirmPlacement = 'top' | 'bottom' | 'left' | 'right'; export interface PopConfirmProps { children: React.ReactElement; title: React.ReactNode...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/pop-confirm/index.ts
src/pop-confirm/index.ts
export * from './pop-confirm';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/toast/toast.tsx
src/toast/toast.tsx
import clsx from 'clsx'; import React, { useEffect, useState } from 'react'; import type { Root } from 'react-dom/client'; import { createRoot } from 'react-dom/client'; import { Info, CircleCheck, CircleAlert, CircleClose } from '../icons'; type ToastVariant = 'info' | 'success' | 'warning' | 'error'; interface Toa...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/toast/toast.stories.tsx
src/toast/toast.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Button } from '../button'; import { toast } from './toast'; const meta: Meta = { title: 'Components/Toast', tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'A global Toa...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/toast/index.ts
src/toast/index.ts
export * from './toast';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/tabs/tabs.stories.tsx
src/tabs/tabs.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { Tabs } from './tabs'; const meta: Meta<typeof Tabs> = { title: 'Components/Tabs', component: Tabs, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { componen...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/tabs/tabs.tsx
src/tabs/tabs.tsx
import clsx from 'clsx'; import React from 'react'; export interface TabsProps { value: string; onChange?: (value: string) => void; className?: string; centered?: boolean; children: React.ReactNode; variant?: 'underline' | 'pills'; size?: 'sm' | 'md' | 'lg'; fullWidth?: boolean; } export interface Tab...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/tabs/index.ts
src/tabs/index.ts
export * from './tabs';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/dropdown/dropdown.tsx
src/dropdown/dropdown.tsx
import clsx from 'clsx'; export interface DropdownItem { label: JSX.Element | string; href?: string; onClick?: () => void; } interface DropdownProps { children: JSX.Element | string; menu: DropdownItem[]; align?: 'left' | 'right'; } export function Dropdown({ menu, align = 'right', children }: DropdownPr...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/dropdown/index.ts
src/dropdown/index.ts
export * from './dropdown';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/dropdown/dropdown.stories.tsx
src/dropdown/dropdown.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Button } from '../button'; import { Dropdown } from './dropdown'; const meta: Meta<typeof Dropdown> = { title: 'Components/Dropdown', component: Dropdown, tags: ['autodocs'], parameters: { layout: 'centered', docs: { descript...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/pagination/pagination.stories.tsx
src/pagination/pagination.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { Pagination } from './pagination'; const meta: Meta<typeof Pagination> = { title: 'Components/Pagination', component: Pagination, tags: ['autodocs'], parameters: { layout: 'centered', docs: { d...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/pagination/pagination.tsx
src/pagination/pagination.tsx
import clsx from 'clsx'; import { Button } from '../button'; import { ChevronLeft, ChevronRight, Ellipsis } from '../icons'; import { Input } from '../input'; import { Select } from '../select'; export type PaginationSize = 'sm' | 'default' | 'lg'; export interface PaginationProps { current: number; total: numbe...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/pagination/index.ts
src/pagination/index.ts
export * from './pagination';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/badge/badge.stories.tsx
src/badge/badge.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Bell } from '../icons'; import { Badge } from './badge'; const meta: Meta<typeof Badge> = { title: 'Components/Badge', component: Badge, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { com...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/badge/badge.tsx
src/badge/badge.tsx
import clsx from 'clsx'; import React from 'react'; export type BadgeVariant = 'solid' | 'outline' | 'soft'; export type BadgeColor = 'default' | 'success' | 'warning' | 'danger'; export type BadgeSize = 'sm' | 'default' | 'lg'; export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> { variant?: B...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/badge/index.ts
src/badge/index.ts
export * from './badge';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/spinner/spinner.tsx
src/spinner/spinner.tsx
import clsx from 'clsx'; export interface SpinnerProps { size?: number; color?: string; className?: string; } export function Spinner({ size, color = '#4b5563', className }: SpinnerProps) { const style = { ...(size ? { width: size, height: size, borderWidth: size / 8, ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/spinner/spinner.stories.tsx
src/spinner/spinner.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Spinner } from './spinner'; const meta: Meta<typeof Spinner> = { title: 'Components/Spinner', component: Spinner, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'A min...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/spinner/index.ts
src/spinner/index.ts
export * from './spinner';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/divider/divider.stories.tsx
src/divider/divider.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Divider } from './divider'; const meta: Meta<typeof Divider> = { title: 'Components/Divider', component: Divider, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: 'A Div...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/divider/divider.tsx
src/divider/divider.tsx
import clsx from 'clsx'; import { ReactNode } from 'react'; export interface DividerProps { children?: ReactNode; variant?: 'solid' | 'dashed'; orientation?: 'horizontal' | 'vertical'; className?: string; } export function Divider({ children, variant = 'solid', orientation = 'horizontal', className, }...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/divider/index.ts
src/divider/index.ts
export * from './divider';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/select/select.stories.tsx
src/select/select.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { useState } from 'react'; import { Select } from './select'; const meta: Meta<typeof Select> = { title: 'Components/Select', component: Select, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { ...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/select/select.tsx
src/select/select.tsx
import clsx from 'clsx'; import React, { useRef, useEffect, useState } from 'react'; import { Button, ButtonProps } from '../button'; import { ChevronDown } from '../icons'; export type SelectSize = ButtonProps['size']; export type SelectValue = string | number; export interface SelectOption { label: React.ReactN...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/select/index.ts
src/select/index.ts
export * from './select';
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/skeleton/skeleton.stories.tsx
src/skeleton/skeleton.stories.tsx
import type { Meta, StoryObj } from '@storybook/react-vite'; import { Skeleton } from './skeleton'; const meta: Meta<typeof Skeleton> = { title: 'Components/Skeleton', component: Skeleton, tags: ['autodocs'], parameters: { layout: 'centered', docs: { description: { component: '...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false
mints-components/ui
https://github.com/mints-components/ui/blob/d4fe34f45d66639b8958b933eafa9949030b4f7e/src/skeleton/skeleton.tsx
src/skeleton/skeleton.tsx
import clsx from 'clsx'; import React from 'react'; export interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> { width?: number | string; height?: number | string; rounded?: 'sm' | 'md' | 'lg' | 'full' | string; className?: string; } export function Skeleton({ width, height, rounded = '...
typescript
MIT
d4fe34f45d66639b8958b933eafa9949030b4f7e
2026-01-05T05:01:02.350684Z
false