├── .eslintrc.json ├── app ├── favicon.ico ├── globals.css ├── page.tsx └── layout.tsx ├── public ├── cover.png └── opengraph-image.jpg ├── next.config.js ├── postcss.config.js ├── README.md ├── .prettierrc.json ├── lib └── utils.ts ├── components ├── buttons │ ├── Link2.tsx │ ├── Black1.tsx │ ├── BlackSm1.tsx │ ├── GreySm1.tsx │ ├── BlackSm2.tsx │ ├── Black2.tsx │ ├── Link8.tsx │ ├── Black14.tsx │ ├── Black9.tsx │ ├── Black7.tsx │ ├── Blue1.tsx │ ├── SubtleSkeuomorphic14.tsx │ ├── Black8.tsx │ ├── SubtleSkeuomorphic15.tsx │ ├── SubtleSkeuomorphic12.tsx │ ├── SubtleSkeuomorphic13.tsx │ ├── Shadow5.tsx │ ├── Link4.tsx │ ├── SquareOutline1.tsx │ ├── BlackSquare1.tsx │ ├── Blue2.tsx │ ├── Black10.tsx │ ├── Black13.tsx │ ├── Link1.tsx │ ├── Shadow2.tsx │ ├── Shadow1.tsx │ ├── Link6.tsx │ ├── Outline1.tsx │ ├── Outline2.tsx │ ├── Outline3.tsx │ ├── Outline4.tsx │ ├── Link3.tsx │ ├── BlackRound2.tsx │ ├── Blue3.tsx │ ├── BlueLoading1.tsx │ ├── Link5.tsx │ ├── BlackRound3.tsx │ ├── Link7.tsx │ ├── SubtleSkeuomorphic6.tsx │ ├── BlackIcon8.tsx │ ├── BlackIcon10.tsx │ ├── BlackIcon7.tsx │ ├── SubtleSkeuomorphic10.tsx │ ├── SubtleSkeuomorphic11.tsx │ ├── Black3.tsx │ ├── Black4.tsx │ ├── BlackLoading1.tsx │ ├── SubtleSkeuomorphic7.tsx │ ├── SubtleSkeuomorphic8.tsx │ ├── SubtleSkeuomorphic9.tsx │ ├── BlackSmLoading1.tsx │ ├── Black11.tsx │ ├── Black12.tsx │ ├── SubtleSkeuomorphic2.tsx │ ├── SubtleSkeuomorphic4.tsx │ ├── Black5.tsx │ ├── BlackIcon4.tsx │ ├── BlackIcon5.tsx │ ├── SubtleSkeuomorphic5.tsx │ ├── SubtleSkeuomorphic16.tsx │ ├── SubtleSkeuomorphic1.tsx │ ├── Black6.tsx │ ├── BlackRound1.tsx │ ├── Letters3.tsx │ ├── White1.tsx │ ├── White2.tsx │ ├── BlackRound4.tsx │ ├── Shadow3.tsx │ ├── BlackIcon9.tsx │ ├── BlackIcon1.tsx │ ├── BlackIcon2.tsx │ ├── BlackIcon11.tsx │ ├── Letters4.tsx │ ├── SubtleSkeuomorphic3.tsx │ ├── Shadow4.tsx │ ├── SubtleSkeuomorphic17.tsx │ ├── Blue4.tsx │ ├── BlackIcon3.tsx │ ├── BlackIcon6.tsx │ ├── White3.tsx │ ├── Letters1.tsx │ └── Letters2.tsx └── app │ └── card-component.tsx ├── components.json ├── .gitignore ├── tsconfig.json ├── tailwind.config.ts ├── package.json ├── screens └── home.tsx └── data └── buttons.ts /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibelick/buttons/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /public/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibelick/buttons/HEAD/public/cover.png -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /public/opengraph-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibelick/buttons/HEAD/public/opengraph-image.jpg -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {} 3 | 4 | module.exports = nextConfig 5 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 |

A collection of buttons for Tailwind CSS.

4 | -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- 1 | import { Home as HomeScreen } from "@/screens/home"; 2 | 3 | export default function Home() { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": true, 3 | "semi": true, 4 | "trailingComma": "all", 5 | "printWidth": 80, 6 | "tabWidth": 2, 7 | "plugins": ["prettier-plugin-tailwindcss"] 8 | } 9 | -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- 1 | import { type ClassValue, clsx } from "clsx"; 2 | import { twMerge } from "tailwind-merge"; 3 | 4 | export function cn(...inputs: ClassValue[]) { 5 | return twMerge(clsx(inputs)); 6 | } 7 | -------------------------------------------------------------------------------- /components/buttons/Link2.tsx: -------------------------------------------------------------------------------- 1 | export function Link2() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/Black1.tsx: -------------------------------------------------------------------------------- 1 | export function Black1() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/BlackSm1.tsx: -------------------------------------------------------------------------------- 1 | export function BlackSm1() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/GreySm1.tsx: -------------------------------------------------------------------------------- 1 | export function GreySm1() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/BlackSm2.tsx: -------------------------------------------------------------------------------- 1 | export function BlackSm2() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Black2.tsx: -------------------------------------------------------------------------------- 1 | export function Black2() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Link8.tsx: -------------------------------------------------------------------------------- 1 | export function Link8() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/Black14.tsx: -------------------------------------------------------------------------------- 1 | export function Black14() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Black9.tsx: -------------------------------------------------------------------------------- 1 | export function Black9() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Black7.tsx: -------------------------------------------------------------------------------- 1 | export function Black7() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Blue1.tsx: -------------------------------------------------------------------------------- 1 | export function Blue1() { 2 | return ( 3 | 7 | ); 8 | } 9 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic14.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic14() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Black8.tsx: -------------------------------------------------------------------------------- 1 | export function Black8() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic15.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic15() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic12.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic12() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic13.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic13() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Shadow5.tsx: -------------------------------------------------------------------------------- 1 | export function Shadow5() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://ui.shadcn.com/schema.json", 3 | "style": "default", 4 | "rsc": true, 5 | "tsx": true, 6 | "tailwind": { 7 | "config": "tailwind.config.js", 8 | "css": "app/globals.css", 9 | "baseColor": "neutral", 10 | "cssVariables": false, 11 | "prefix": "" 12 | }, 13 | "aliases": { 14 | "components": "@/components", 15 | "utils": "@/lib/utils" 16 | } 17 | } -------------------------------------------------------------------------------- /components/buttons/Link4.tsx: -------------------------------------------------------------------------------- 1 | export function Link4() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/SquareOutline1.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function SquareOutline1() { 4 | return ( 5 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/BlackSquare1.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackSquare1() { 4 | return ( 5 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /components/buttons/Blue2.tsx: -------------------------------------------------------------------------------- 1 | export function Blue2() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Black10.tsx: -------------------------------------------------------------------------------- 1 | export function Black10() { 2 | return ( 3 | 7 | ); 8 | } 9 | -------------------------------------------------------------------------------- /components/buttons/Black13.tsx: -------------------------------------------------------------------------------- 1 | export function Black13() { 2 | return ( 3 | 7 | ); 8 | } 9 | -------------------------------------------------------------------------------- /components/buttons/Link1.tsx: -------------------------------------------------------------------------------- 1 | export function Link1() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/Shadow2.tsx: -------------------------------------------------------------------------------- 1 | export function Shadow2() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Shadow1.tsx: -------------------------------------------------------------------------------- 1 | export function Shadow1() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Link6.tsx: -------------------------------------------------------------------------------- 1 | export function Link6() { 2 | return ( 3 | <> 4 | 10 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/Outline1.tsx: -------------------------------------------------------------------------------- 1 | export function Outline1() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Outline2.tsx: -------------------------------------------------------------------------------- 1 | export function Outline2() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Outline3.tsx: -------------------------------------------------------------------------------- 1 | export function Outline3() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Outline4.tsx: -------------------------------------------------------------------------------- 1 | export function Outline4() { 2 | return ( 3 | 6 | ); 7 | } 8 | -------------------------------------------------------------------------------- /components/buttons/Link3.tsx: -------------------------------------------------------------------------------- 1 | export function Link3() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/BlackRound2.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackRound2() { 4 | return ( 5 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /components/buttons/Blue3.tsx: -------------------------------------------------------------------------------- 1 | export function Blue3() { 2 | return ( 3 | 6 | ); 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /components/buttons/BlueLoading1.tsx: -------------------------------------------------------------------------------- 1 | export function BlueLoading1() { 2 | return ( 3 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /components/buttons/Link5.tsx: -------------------------------------------------------------------------------- 1 | export function Link5() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/BlackRound3.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackRound3() { 4 | return ( 5 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /components/buttons/Link7.tsx: -------------------------------------------------------------------------------- 1 | export function Link7() { 2 | return ( 3 | <> 4 | 10 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic6.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic6() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon8.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon8() { 4 | return ( 5 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon10.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon10() { 4 | return ( 5 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon7.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon7() { 4 | return ( 5 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic10.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic10() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic11.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic11() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/Black3.tsx: -------------------------------------------------------------------------------- 1 | export function Black3() { 2 | return ( 3 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/Black4.tsx: -------------------------------------------------------------------------------- 1 | export function Black4() { 2 | return ( 3 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackLoading1.tsx: -------------------------------------------------------------------------------- 1 | import { UpdateIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackLoading1() { 4 | return ( 5 | 12 | ); 13 | } 14 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic7.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic7() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | .yarn/install-state.gz 8 | 9 | # testing 10 | /coverage 11 | 12 | # next.js 13 | /.next/ 14 | /out/ 15 | 16 | # production 17 | /build 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | next-env.d.ts 37 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic8.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic8() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic9.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic9() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/BlackSmLoading1.tsx: -------------------------------------------------------------------------------- 1 | export function BlackSmLoading1() { 2 | return ( 3 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /components/buttons/Black11.tsx: -------------------------------------------------------------------------------- 1 | export function Black11() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/Black12.tsx: -------------------------------------------------------------------------------- 1 | export function Black12() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic2.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic2() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic4.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic4() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/Black5.tsx: -------------------------------------------------------------------------------- 1 | export function Black5() { 2 | return ( 3 | <> 4 | 10 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon4.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon4() { 4 | return ( 5 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon5.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon5() { 4 | return ( 5 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic5.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic5() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic16.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic16() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic1.tsx: -------------------------------------------------------------------------------- 1 | export function SubtleSkeuomorphic1() { 2 | return ( 3 | 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /components/buttons/Black6.tsx: -------------------------------------------------------------------------------- 1 | export function Black6() { 2 | return ( 3 | <> 4 | 10 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackRound1.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon, StarIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackRound1() { 4 | return ( 5 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /components/buttons/Letters3.tsx: -------------------------------------------------------------------------------- 1 | export function Letters3() { 2 | return ( 3 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /components/buttons/White1.tsx: -------------------------------------------------------------------------------- 1 | export function White1() { 2 | return ( 3 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/White2.tsx: -------------------------------------------------------------------------------- 1 | export function White2() { 2 | return ( 3 | 11 | ); 12 | } 13 | -------------------------------------------------------------------------------- /components/buttons/BlackRound4.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackRound4() { 4 | return ( 5 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /components/buttons/Shadow3.tsx: -------------------------------------------------------------------------------- 1 | export function Shadow3() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon9.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowTopRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon9() { 4 | return ( 5 | 14 | ); 15 | } 16 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": ["dom", "dom.iterable", "esnext"], 5 | "allowJs": true, 6 | "skipLibCheck": true, 7 | "strict": true, 8 | "noEmit": true, 9 | "esModuleInterop": true, 10 | "module": "esnext", 11 | "moduleResolution": "bundler", 12 | "resolveJsonModule": true, 13 | "isolatedModules": true, 14 | "jsx": "preserve", 15 | "incremental": true, 16 | "plugins": [ 17 | { 18 | "name": "next" 19 | } 20 | ], 21 | "paths": { 22 | "@/*": ["./*"] 23 | } 24 | }, 25 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], 26 | "exclude": ["node_modules"] 27 | } 28 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon1.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon1() { 4 | return ( 5 | <> 6 | 14 | 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon2.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowDownIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon2() { 4 | return ( 5 | <> 6 | 14 | 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon11.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon11() { 4 | return ( 5 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /components/buttons/Letters4.tsx: -------------------------------------------------------------------------------- 1 | export function Letters4() { 2 | return ( 3 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic3.tsx: -------------------------------------------------------------------------------- 1 | import { GlobeIcon } from "@radix-ui/react-icons"; 2 | 3 | export function SubtleSkeuomorphic3() { 4 | return ( 5 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /components/buttons/Shadow4.tsx: -------------------------------------------------------------------------------- 1 | export function Shadow4() { 2 | return ( 3 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /components/buttons/SubtleSkeuomorphic17.tsx: -------------------------------------------------------------------------------- 1 | import { PlusIcon } from "@radix-ui/react-icons"; 2 | 3 | export function SubtleSkeuomorphic17() { 4 | return ( 5 | 13 | ); 14 | } 15 | -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- 1 | import type { Config } from "tailwindcss"; 2 | 3 | const config: Config = { 4 | content: [ 5 | "./pages/**/*.{js,ts,jsx,tsx,mdx}", 6 | "./components/**/*.{js,ts,jsx,tsx,mdx}", 7 | "./app/**/*.{js,ts,jsx,tsx,mdx}", 8 | "./screens/**/*.{js,ts,jsx,tsx,mdx}", 9 | ], 10 | theme: { 11 | extend: { 12 | animation: { 13 | ["shine-infinite"]: "shine-infinite 2s ease-in-out infinite", 14 | }, 15 | keyframes: { 16 | ["shine-infinite"]: { 17 | "0%": { 18 | transform: "skew(-12deg) translateX(-100%)", 19 | }, 20 | "100%": { 21 | transform: "skew(-12deg) translateX(100%)", 22 | }, 23 | }, 24 | }, 25 | }, 26 | }, 27 | plugins: [], 28 | }; 29 | 30 | export default config; 31 | -------------------------------------------------------------------------------- /components/buttons/Blue4.tsx: -------------------------------------------------------------------------------- 1 | export function Blue4() { 2 | return ( 3 | 9 | ); 10 | } 11 | 12 | /* 13 | tailwind.config 14 | 15 | animation: { 16 | ["shine-infinite"]: "shine-infinite 2s ease-in-out infinite", 17 | }, 18 | keyframes: { 19 | ["shine-infinite"]: { 20 | "0%": { 21 | transform: "skew(-12deg) translateX(-100%)", 22 | }, 23 | "100%": { 24 | transform: "skew(-12deg) translateX(100%)", 25 | }, 26 | }, 27 | }, 28 | 29 | */ 30 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon3.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon, StarIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon3() { 4 | return ( 5 | 16 | ); 17 | } 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "buttons", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "dev": "next dev", 7 | "build": "next build", 8 | "start": "next start", 9 | "lint": "next lint" 10 | }, 11 | "dependencies": { 12 | "@radix-ui/react-icons": "^1.3.0", 13 | "class-variance-authority": "^0.7.0", 14 | "clsx": "^2.1.0", 15 | "next": "14.0.4", 16 | "react": "^18", 17 | "react-dom": "^18", 18 | "sonner": "^1.3.1", 19 | "tailwind-merge": "^2.2.0" 20 | }, 21 | "devDependencies": { 22 | "@types/node": "^20", 23 | "@types/react": "^18", 24 | "@types/react-dom": "^18", 25 | "autoprefixer": "^10.0.1", 26 | "eslint": "^8", 27 | "eslint-config-next": "14.0.4", 28 | "postcss": "^8", 29 | "prettier": "^3.1.1", 30 | "prettier-plugin-tailwindcss": "^0.5.9", 31 | "tailwindcss": "^3.3.0", 32 | "typescript": "^5" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /components/buttons/BlackIcon6.tsx: -------------------------------------------------------------------------------- 1 | import { ArrowRightIcon, StarFilledIcon } from "@radix-ui/react-icons"; 2 | 3 | export function BlackIcon6() { 4 | return ( 5 | 16 | ); 17 | } 18 | -------------------------------------------------------------------------------- /components/buttons/White3.tsx: -------------------------------------------------------------------------------- 1 | import { UpdateIcon } from "@radix-ui/react-icons"; 2 | 3 | export function White3() { 4 | return ( 5 | 14 | ); 15 | } 16 | -------------------------------------------------------------------------------- /components/buttons/Letters1.tsx: -------------------------------------------------------------------------------- 1 | export function Letters1() { 2 | return ( 3 | 31 | ); 32 | } 33 | -------------------------------------------------------------------------------- /components/buttons/Letters2.tsx: -------------------------------------------------------------------------------- 1 | export function Letters2() { 2 | return ( 3 | 31 | ); 32 | } 33 | -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- 1 | import type { Metadata } from "next"; 2 | import Script from "next/script"; 3 | import { Inter } from "next/font/google"; 4 | import "./globals.css"; 5 | import { Toaster } from "sonner"; 6 | 7 | const inter = Inter({ subsets: ["latin"] }); 8 | 9 | export const metadata: Metadata = { 10 | title: "Tailwind CSS button collection - Click-to-copy integration", 11 | description: 12 | "Discover a collection of Tailwind CSS buttons designed to enhance your website's look. Easy to integrate with a copy-paste, no js.", 13 | openGraph: { 14 | title: "Tailwind CSS button collection - Click-to-copy integration", 15 | description: 16 | "Discover a collection of Tailwind CSS buttons designed to enhance your website's look. Easy to integrate with a copy-paste, no js.", 17 | type: "website", 18 | url: "https://buttons.ibelick.com", 19 | images: [ 20 | { 21 | url: "https://buttons.ibelick.com/opengraph-image.jpg", 22 | alt: "Tailwind CSS button collection - Click-to-copy integration", 23 | }, 24 | ], 25 | }, 26 | twitter: { 27 | site: "@ibelick", 28 | images: [ 29 | { 30 | url: "https://buttons.ibelick.com/opengraph-image.jpg", 31 | alt: "Tailwind CSS button collection - Click-to-copy integration", 32 | }, 33 | ], 34 | }, 35 | }; 36 | 37 | export default function RootLayout({ 38 | children, 39 | }: { 40 | children: React.ReactNode; 41 | }) { 42 | const isDev = process.env.NODE_ENV === "development"; 43 | 44 | return ( 45 | 46 | {!isDev ? ( 47 |