ComponentsBlocksDocsExamples

Marquee
GitHub Button
Avatar Group
Typing Text
Word Rotate
Video Text
SVG Text
Counting Number
Sliding Number
Shimmering Text
Text Reveal
Gradient Background
Grid Background
Hover Background
Clock Widget
Components

Github Button

UI Library:

A github button component with animated stars display effects.

Installation

pnpm dlx shadcn@latest add @toui/github-button

Examples

Outline

Separator

Sizes

API Reference

This component is built using Radix UI Slot and Motion primitives and includes the following custom props:

GithubButton

PropTypeDefault
variant 'default' | 'outline''default'
size 'md' | 'sm' | 'lg''md'
className string
roundStars booleanfalse
fixedWidth booleantrue
initialStars number0
starsClass string
targetStars number
separator booleanfalse
showStarIcon booleantrue
animationDuration number2
animationDelay number0
autoAnimate booleantrue
showGithubIcon booleantrue
filled booleanfalse
repoUrl string
label string'Star'
useInViewTrigger booleanfalse
inViewOptions UseInViewOptions{ once: true }
transition SpringOptions

Credits

  • Built with Radix UI Slot.
  • Inspired by Animate UI.
PreviouseMarqueeNextAvatar Group

On This Page

  • Installation
  • Examples
    • Outline
    • Separator
    • Sizes
  • API Reference
    • GithubButton
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy