Live data from Hacker News

Stripe Elements: Pre-built UI components to help you create checkout flows

stripe.com

31–40 of 124 posts

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#32

Stripe front end developers are a true inspiration. I know the linked project isn't anything revolutionary, but as someone with a decade of experience in the field, it's impressive to see such attention to detail. Their work somehow manages to be the right combination of cutting-edge flashiness (think Apple product landing pages) and a very down to earth usability. I can't quite put my finger on it, but it's rare to…

In the linked page on the right, is that a video? https://i.imgur.com/qloK4xE.png I was just wondering how they made that.

It's all CSS animations!

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#33
There's also an official stripe elements react component. I tried it recently, and it felt like completely overengineered garbage. It was convoluted, involved implementing 3 different components as separate layers of implementation, required the use of component context (a huge red flag IMO) and was completely unusable from typescript. Compared to other projects I've seen from stripe, it left a lot to be desired.

Not really sure if I place that blame on Stripe though...React makes interop with non-react SDKs needlessly difficult.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#34

I miss the JS tokenizer on plain text fields. It's hard to match validation and font styles in iframe fields. That said, their React stripe elements library helped me use these in a project recently.

Elements lets you define validation behavior and styles by listening to event handlers that emit errors[0], and you can specify custom web fonts with the `fonts` option[1].

You can see a few examples of Elements using custom validation and fonts here: https://stripe.com/elements/examples

[0]: https://stripe.com/docs/stripe.js#input-validation

[1]: https://stripe.com/docs/stripe.js#stripe-elements

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#36
Stripe in the pinnacle of what startups should aspire for. Their commitment to solving pains for smb's is what's propelled them to unicorn status.

I also love the story of their founders - https://www.bloomberg.com/news/features/2017-08-01/how-two-b...

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#38

Stripe front end developers are a true inspiration. I know the linked project isn't anything revolutionary, but as someone with a decade of experience in the field, it's impressive to see such attention to detail. Their work somehow manages to be the right combination of cutting-edge flashiness (think Apple product landing pages) and a very down to earth usability. I can't quite put my finger on it, but it's rare to…

Every time I see a Stripe page I just stop and stare for a minute. They're always so, so well done.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#39
post #35

Here's the same URL but without all the utm_* tracking garbage: https://stripe.com/elements

Why? I mean you're still sending the referer header, right?

No, browsers don't send the referer header for https links.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#40
post #29

Earlier quoted context omitted.

so stripe can bucket the traffic that comes from this submission.

Can't they just look at the referrer?

It lets them identify clicks specifically from the post link as opposed to links in the HN discussion thread.
Post reply on HN