Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<TransactionTable /> progress indicator animation #1626

Open
vercel-toolbar bot opened this issue Feb 11, 2024 · 1 comment
Open

<TransactionTable /> progress indicator animation #1626

vercel-toolbar bot opened this issue Feb 11, 2024 · 1 comment

Comments

@vercel-toolbar
Copy link

Issue originates from a comment by @fiveoutofnine:

fiveoutofnine:

can be taller

Replies

fiveoutofnine:
if you want to animate it, I recommend a set-up similar to: https://github.com/fiveoutofnine/vb-discovery/blob/4c37eddb46bbb5930861a22822d1b744bca09750/app/(authenticated)/onboarding/(flows)/(components)/progress-nav-bar.tsx#L173-L198

fiveoutofnine:
really clean imo, basically you create a rectangular mask to animate by, but it's rotated 180°, so you get the "flat" cut off you want

fiveoutofnine:
and it uses SVG so not hacky divs being moved around like a barbarian

fiveoutofnine:
also recommend these styles

Shun Kakinoki:
LMFAO thank you for the SVG animation mate


View in Vercel preview

Copy link

linear bot commented Feb 11, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants