// !STARTERCONF You can delete this page import clsx from 'clsx'; import * as React from 'react'; import { HiArrowRight, HiOutlineCreditCard, HiOutlineDesktopComputer, HiOutlineDeviceMobile, HiOutlineShieldCheck, HiPlus, } from 'react-icons/hi'; import Button from '@/components/buttons/Button'; import IconButton from '@/components/buttons/IconButton'; import TextButton from '@/components/buttons/TextButton'; import Layout from '@/components/layout/Layout'; import ArrowLink from '@/components/links/ArrowLink'; import ButtonLink from '@/components/links/ButtonLink'; import PrimaryLink from '@/components/links/PrimaryLink'; import UnderlineLink from '@/components/links/UnderlineLink'; import UnstyledLink from '@/components/links/UnstyledLink'; import NextImage from '@/components/NextImage'; import Seo from '@/components/Seo'; import Skeleton from '@/components/Skeleton'; type Color = (typeof colorList)[number]; export default function ComponentsPage() { const [mode, setMode] = React.useState<'dark' | 'light'>('light'); const [color, setColor] = React.useState('sky'); function toggleMode() { return mode === 'dark' ? setMode('light') : setMode('dark'); } const textColor = mode === 'dark' ? 'text-gray-300' : 'text-gray-600'; return (

Built-in Components

Back to Home
{/* */}
  1. Customize Colors

    You can change primary color to any Tailwind CSS colors. See globals.css to change your color.

    Check list of colors
    50
    100
    200
    300
    400
    500
    600
    700
    800
    900
    950
  2. UnstyledLink

    No style applied, differentiate internal and outside links, give custom cursor for outside links.

    Internal Links Outside Links
  3. PrimaryLink

    Add styling on top of UnstyledLink, giving a primary color to the link.

    Internal Links Outside Links
  4. UnderlineLink

    Add styling on top of UnstyledLink, giving a dotted and animated underline.

    Internal Links Outside Links
  5. ArrowLink

    Useful for indicating navigation, I use this quite a lot, so why not build a component with some whimsy touch?

    Direction Left Direction Right Polymorphic Polymorphic
  6. ButtonLink

    Button styled link with 3 variants.

    Primary Variant Outline Variant Ghost Variant Dark Variant Light Variant
  7. Button

    Ordinary button with style.

  8. TextButton

    Button with a text style

    Primary Variant Basic Variant
  9. IconButton

    Button with only icon inside

  10. Custom 404 Page

    Styled 404 page with some animation.

    Visit the 404 page
  11. Next Image

    Next Image with default props and skeleton animation

  12. Skeleton

    Skeleton with shimmer effect

); } const colorList = [ 'slate', 'gray', 'zinc', 'neutral', 'stone', 'red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose', ] as const;